Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Arch Linux and Windows 7 on the same HDD (actually, it's SSD). During re installation of Windows 7 I have, by accident, formatted my /boot partition for Arch Linux. It's only 200 MBs, but as far I know I can't boot Arch anymore (not without /boot partition for sure).

Is there a way to preserve my Arch installation by, somehow, re installing only data from /boot partition? How to do it? Please help!

P.S. I don't know if it matters, but beside "/boot", my Arch has other partitions: "/", "/var" and "/home"

share|improve this question
Just restore from a backup. That's what they're for. – David Schwartz Sep 17 '12 at 10:24
Khm... no backup :))) – guest86 Sep 17 '12 at 11:09
up vote 0 down vote accepted

Assuming the partition is still present, you should be able to boot the livecd, create a filesystem on the partition (mkfs -t ext2 /dev/<partition>), mount your arch partitions and then just pacstrap /mnt <your-bootloader>, and reboot.

share|improve this answer

I don't know Arch, but with debian i would try the following steps:

  • Boot a live system from cd/dvd/usb-stick with the same architektur (32bit/64bit)
  • Mount the partitions from the ssd
  • chroot to the system on the ssd
  • reinstall the kernel package(s)
  • update the bootmanager (likely grub)
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .