[其它]请帮忙贴下Ubuntu+WinXP双系统ubuntu的grub的内容

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
goodfun
帖子: 5
注册时间: 2005-08-14 11:59

[其它]请帮忙贴下Ubuntu+WinXP双系统ubuntu的grub的内容

#1

帖子 goodfun » 2005-08-19 18:04

我装了多个系统,后来又装了别都版本的linux
想把ubuntu加进去
不知道ubuntu的版本号和别的设置之类的
老大们贴以下让我参考一下

感谢!
头像
yonsan
帖子: 887
注册时间: 2005-07-01 18:56
来自: 广州市

#2

帖子 yonsan » 2005-08-19 18:06

代码: 全选

# ubuntu
title		Ubuntu, kernel 2.6.10-5-386 
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.10-5-386 root=/dev/hda8
initrd		/boot/initrd.img-2.6.10-5-386
如果你是升级过内核的将386改为686之类的!
I will be back!
goodfun
帖子: 5
注册时间: 2005-08-14 11:59

#3

帖子 goodfun » 2005-08-19 18:26

谢谢!
我试试看去,
我装的下载的5.04版本的
没编译过内核
头像
leozhang2002
帖子: 87
注册时间: 2005-08-17 23:44
来自: 武汉

#4

帖子 leozhang2002 » 2005-08-21 1:09

很简单,没有什么需要特别设置的,下面是
/boot/grub/menu.lst 文件的内容

代码: 全选

default 0
timeout 5

title=ubuntu
root (hd0,1)
kernel /vmlinuz root=/dev/hda2
initrd /initrd.img

title=Windows XP
root (hd0,0)
makeactive
chainloader +1
为折腾而用Linux;为不折腾而用Windows

To be, or not to be: that is the question:
回复