Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.