grub rescue fix

you can use ls command to find the boot
such as : ls (hd0,1)/boot


set prefix=(hd0,2)/boot/grub
set root=(hd0,2)
insmod (hd0,2)/boot/grub/linux.mod
linux /vmlinuz root=/dev/sda2 ro
initrd /initrd.img
boot

猜你喜欢

转载自my.oschina.net/u/238880/blog/140409