QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1262|回复: 3

关于grub引导双系统的问题

[复制链接]
发表于 2006-4-22 17:03:14 | 显示全部楼层 |阅读模式
大家好:
    我碰到了一个关于grub的问题,我硬盘的分区是这样的,总共是6个区,然后在最后一个盘,即H盘装了windows xp,然后在C盘下面装了debian,可是装好之后启动,确定在grub引导系统选择的界面下,只有debian系统,没有windows选择的栏,然后我改了/boot/grub/menu.lst文件,我的代码如下:

         
default                0

timeout                3

color cyan/blue yellow/blue

## ## End Default Options ##

title                Debian GNU/Linux, kernel 2.6.8-2-386
root                (hd0,0)
kernel                /vmlinuz-2.6.8-2-386 root=/dev/hda3 ro
initrd                /initrd.img-2.6.8-2-386
savedefault
boot

title                Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
root                (hd0,0)
kernel                /vmlinuz-2.6.8-2-386 root=/dev/hda3 ro single
initrd                /initrd.img-2.6.8-2-386
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

title Other operatings systems:
root

title Windows XP Professional
root (hd0,
savedefault
makeactive
chainloader  +1
boot

其中
title Other operatings systems:
root

title Windows XP Professional
root (hd0,
savedefault
makeactive
chainloader  +1
boot
这些是我自己后来加进去的,然后重启之后就有了选择栏了,可是选择进入windows xp时,出来错误提示是
root (hd0,8)
Filesystem type is fat,partition type Oxb
savedefault
makeactive
ERROR 12: Invalid device requested


我也已经尝试过:
grub>root (hd0,0)
grub>setup (hd0)
显示是成功的,succeed,我不知道怎么办了阿,希望大虾们能教我一下,是不是我windows必须装在C盘下面,grub才能识别阿?     
发表于 2006-4-22 17:58:41 | 显示全部楼层
的确,温是要在C盘下留一些东西的,你把C都格成ext3或re4了,当然就启动不了温了。
回复

使用道具 举报

发表于 2006-4-22 20:02:59 | 显示全部楼层
root (hd0, 0)
不是
root (hd0, 8)
回复

使用道具 举报

发表于 2006-4-24 10:22:20 | 显示全部楼层
-- Command: rootnoverify device [hdbias]
     Similar to `root' (*note root:, but don't attempt to mount the
     partition. This is useful for when an OS is outside of the area of
     the disk that GRUB can read, but setting the correct root device
     is still desired. Note that the items mentioned in `root' above
     which derived from attempting the mount will _not_ work correctly.[code:1]rootnoverify (hd0,8)
chainloader +1
makeactive[/code:1]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-2 00:23 , Processed in 0.039742 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表