2010年10月20日 星期三

用fedora live cd安裝損壞的GRUB

進到console
grub
grub>root (hd0,7)
grub>setup (hd0)
grub>quit
reboot
就可以了

其中hd0代表第一顆硬碟, 7代表partition sda8 (index似乎都從0開始算)
可以打fdisk -l查看硬碟分割各項資訊