grub引导linux到指定位置,怎样用wingrub引导到LINUX,求助急........

return 于 2007-10-29 20:35:29发表:

Fedora 7为例GRUB菜单修复

硬盘分区:C盘XP、D盘工具、E盘备份、随后是ETX3和SWAP交换区

步骤一、下载GRUB4DOS于C盘根目录。

步骤二、使用explore2fs软件导出LINUX分区下的GRUB.CONF(BOOT/GRUB)。

我的内容如下:

# grub.conf generated by anaconda

#

# Note that you do not have to rerun grub after making changes to this file

# NOTICE: You do not have a /boot partition. This means that

# all kernel and initrd paths are relative to /, eg.

# root (hd0,7)

# kernel /boot/vmlinuz-version ro root=/dev/sda8

# initrd /boot/initrd-version.img

#boot=/dev/sda

default=1

timeout=5

splashimage=(hd0,7)/boot/grub/splash.xpm.gz

hiddenmenu

title Fedora (2.6.22.5-76.fc7)

root (hd0,7)

kernel /boot/vmlinuz-2.6.22.5-76.fc7 ro root=LABEL=/ rhgb quiet

initrd /boot/initrd-2.6.22.5-76.fc7.img

title Fedora (2.6.20-2931.fc7xen)

root (hd0,7)

kernel /boot/xen.gz-2.6.20-2931.fc7

module /boot/vmlinuz-2.6.20-2931.fc7xen ro root=LABEL=/ rhgb quiet

module /boot/initrd-2.6.20-2931.fc7xen.img

title Fedora (2.6.22.4-65.fc7)

root (hd0,7)

kernel /boot/vmlinuz-2.6.22.4-65.fc7 ro root=LABEL=/ rhgb quiet

initrd /boot/initrd-2.6.22.4-65.fc7.img

title Fedora (2.6.20-2925.9.fc7xen)

root (hd0,7)

kernel /boot/xen.gz-2.6.20-2925.9.fc7

module /boot/vmlinuz-2.6.20-2925.9.fc7xen ro root=LABEL=/ rhgb quiet

module /boot/initrd-2.6.20-2925.9.fc7xen.img

title WinXP

rootnoverify (hd0,0)

chainloader +1

找出最新的内核版本号为Fedora (2.6.22.4-65.fc7)位于(hd0,7)

步骤三、编辑位于C盘根目录下的MENU.LST文件。内容如下:

default 0

timeout 1

color cyan/blue white/blue

title Fedora (2.6.22.4-65.fc7)

root (hd0,7)

kernel /boot/vmlinuz-2.6.22.4-65.fc7 ro root=LABEL=/ rhgb quiet

initrd /boot/initrd-2.6.22.4-65.fc7.img

boot

如果需要其他的内核版本,相应的添加即可。

步骤四、编辑C盘根目录下的BOOT.INI文件。内容如下:

[boot loader]

timeout=5

default=C:\grldr

[operating systems]

C:\grldr=Fedora (2.6.22.4-65.fc7)

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="DeepinXP V5.7" /noexecute=optin /fastdetect

重起即可进入FEDORA和XP双菜单启动了

注意事项

1、注意找准内核版本号

2、找准内核存放的硬盘分区。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值