分页: 1 / 1

小白问grub问题

发表于 : 2008-09-29 18:18
dino_liuyu
我是在XP下硬盘安装的8.04
现在启动有点问题,开机后显示grub>,我必须输入root(hd0,0),chainloader +1,boot,3条指令之后才能进入XP和ubuntu的选择界面
我把我的安装情况说一下,我只有1块硬盘,XP装在C盘,ubuntu装在D盘
我的D:\ubuntu\winboot下有menu.lst文件,我上网查了一下我这个情况需要配置这个文件,不知道对不对啊
我把我这个文件里的内容贴出来,请大家帮我看看怎么改?

debug off

hiddenmenu

default 0

timeout 0

fallback 1


title find /ubuntu/disks/boot/grub/menu.lst

find --set-root --ignore-floppies /ubuntu/disks/boot/grub/menu.lst

configfile /ubuntu/disks/boot/grub/menu.lst

title find /ubuntu/install/boot/grub/menu.lst

find --set-root --ignore-floppies /ubuntu/install/boot/grub/menu.lst

configfile /ubuntu/install/boot/grub/menu.lst


title find /menu.lst

find --set-root --ignore-floppies /menu.lst

configfile /menu.lst


title find /boot/grub/menu.lst

fallback 2

find --set-root --ignore-floppies /boot/grub/menu.lst

configfile /boot/grub/menu.lst


title find /grub/menu.lst

fallback 3

find --set-root --ignore-floppies /grub/menu.lst

configfile /grub/menu.lst


title commandline

commandline


title reboot

reboot


title halt

halt

Re: 小白问grub问题

发表于 : 2008-09-30 0:04
pxw816
全部删掉,只留下面的:
default 0
timeout 10
title ubuntu
root (hd0,0)
kernel (kernel位置)
initrd (initrd.gzd位置)
quiet

title Windows Vista
root (hd0,0)
chainloader +1