GRUB2 rescue

grub rescue>

grub rescue>set
prefix=(hd0,6)/boot/grub
root=hd0,6

grub rescue>ls
(hd0), (hd0,1), (hd0,2), (hd0,3), (hd0,5)
grub rescue>set root=(hd0,1)
grub rescue>set prefix=(hd0,1)/boot/grub
grub rescue>insmod normal
rescue:grub>normal





  • Modify : /boot/grub/grub.cfg
    • Excute update-grub to modify menu
    • sudo update-grub

  • Reinstall grub
    • sudo grub-install /dev/sda

虹光大成就-密教灌頂(一)