grub rescue

grub が壊れると grub rescue が起動する場合がある。
その場合のOS起動方法。

grub rescue> ls
  (hd0) (hd0,x) …
grub rescue> ls (hd0,x)/
  var/ etc/ boot/ ...
grub rescue> set prefix=(hd0,x)/boot/grub
grub rescue> insmod (hd0,x)/boot/grub/normal.mod
rescue:grub> normal

運良く起動したら grub-install で grub を再インストールしておく

# grub-install --root-directory=/ /dev/sda
  Installation finished. No error reported.

/dev/sda は OS がインストールされているディスク。
--root-directory はルートディレクトリの場所。