Fix Grub Rescue Prompt

Try Fast Read
0
0



Check for your partition using ls command
it should return (hd0,msdos1) and such other partition
you need to find the linux partition for that do ls(hd0,msdos1)/
then if you see the linux directories, you got your linux partition
now do the following
hdx=hd0 or hd1
y=msdos0 or msdos1 your linux partition you found above
$set prefix=(hdx,y)/boot/grub
$insmod (hdx,y)/boot/grub/linux.mod
$insmod part_msdos
$insmod ext2
$insmod gzio
$set root=(hdx,y)

now run “ls (hdx,y)/boot” command to find the proper vmlinuz and initrd version, x and y are from above
Then run:
$linux /boot/vmlinuz-3.0.0-1-686-pae root=/dev/sdXX ro
$initrd /boot/initrd.img-3.0.0-1-686-pae
$boot
Now you’ll boot into Linux, once booted you can fix the the GRUB with standard grub-install /dev/sda and then grub-mkconfig

Post navigation