Linux grub,讲解是复全Linux 下多个操作系统启动项的管理工具,电脑开机后,过程grub将会读取... 5:setup (hd0) 写入grub 如果此时系统显示成功,讲解表示Linux Grub修复完成。复全
Linux Grub修复 系统分区/安装环境
(按GRUB方式表述):
60G:Microsoft Windows XP
- (hd0,过程1)-> NTFS C:
- (hd0,2)-> NTFS D:
- (hd0,3)-> NTFS E:
- (hd0,4)-> NTFS F:
- 20G: Fedora Core 6 (以下简称FC6)
- (hd1,0)-> /boot
- (hd1,1)->
- (hd1,2)-> /
Linux Grub修复 修复过程:
1:把引导设置成CD引导
2:插入linux安装光盘/修复盘,按F4/FC6是讲解F5,后输入linux rescue ->回车
3:grub ->回车,复全敲下回车键后,回出现grub>,过程这就进入了修复。讲解
4:(这里我只简单的说我的操作过程了。因为很多地方,偶也不懂。)
grub> rootnoverify (hd1,0) ->回车
grub> setup (hd0) ->回车
Checking if "/boot/grub/stage1" exists...no
Checking if "/grub/stage1" exists...yes
Checking if "/grub/stage2" exists...yes
Checking if "grub/e2fs_stage1_5" exists...yes
Runing "embed /grub/e2fs_stage1_5 (hd0)"...sectors are embedded.
succeeded
Runing "install /grub/stage1 d (hd0) (hd0)1+15 p (hd1,0)/grub/stage2 /grub/grub.conf"...succeeded
Done.
grub> install /grub/stage1 d (hd0) (hd0)1+15 p (hd1,0)/grub/stage2 /grub/grub.conf ->回车
5:从启计算机,OK!
附上我的grub.conf的代码
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdb3
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title FC System (2.6.18-1.2798.fc6)
root (hd1,0)
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-1.2798.fc6.img
title MS System
rootnoverify (hd0,0)
chainloader +1
【编辑推荐】
责任编辑:chenqingxiang 来源: linuxdiyf Linux Grub修复
(责任编辑:探索)
提升竞争力!河南省发展改革委主任何雄带队赴上海开展新兴产业调研