- 论坛徽章:
- 0
|
用光盘引导,进入LINUX引导介面,按F2,输入linux rescue 进入LINUX修复模式
然后
语言及键盘都保持默认的
网络可以启用也可以不启用
模式选择
contiune
然后输入
mount -o
mount -a
输入: grub
grub> root (hd0, //这里按tab 键会帮你显示/分区所在的位置
Possible partitions are:
Partition num: 0, Filesystem type is ext2fs, partition type 0x83
Partition num: 4, Filesystem type unknown, partition type 0x82
Partition num: 5, Filesystem type is ext2fs, partition type 0x83
Partition num: 6, Filesystem type is ext2fs, partition type 0x83
grub> root (hd0,0)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,0)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done.
然后退出GRUB,reboot
重新启动电脑! |
|