Montag, 27. Februar 2012

Recovering grub2 in fedora16

I finally managed to kill my grub2 bootloader living in mbr. After messing around with cfdisk on currently mounted swap partitions. Not a wise step, but anyway here are some simple steps how I recovered:

Boot using live install usb-stick/cd
Press Tab to edit boot promt
Replace root=FeforaCD... with root=/dev/sda6 where 6 is the parition number where you root filesystem lives.
Open a terminal and enter:
sudo /sbin/grub2-install /dev/sda
This installs grub into mbr of disk /dev/sda (first scsi emulated disk - in my case a Samsung SSD)

Keine Kommentare:

Kommentar veröffentlichen