关于操作系统启动顺序

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

关于操作系统启动顺序

#1

帖子 hammerya » 2007-11-18 12:41

装了UBUNTU后,启动电脑在操作系统启动列表上UBUNTU为默认第一个操作系统,平时用XP用得比较多,所以想请问一下,怎么修改这个启动顺序,把XP改成默认
头像
yaoms
帖子: 4952
注册时间: 2007-10-19 14:51
来自: 深圳

#2

帖子 yaoms » 2007-11-18 13:55

编辑/boot/grub/menu.lst 文件,将windows段调到前面。不过注意,一定不要写错。
头像
chattan
帖子: 3922
注册时间: 2007-07-11 20:59
联系:

#3

帖子 chattan » 2007-11-18 14:05

一定要小心!
头像
yiding_he
帖子: 2677
注册时间: 2006-10-25 18:10
来自: 长沙
联系:

#4

帖子 yiding_he » 2007-11-18 14:09

不用那么麻烦。打开 /boot/grub/menu.lst,找到“default 0”那一行,将0改为你需要的数字。0表示菜单里的第一项,后面的依此类推。
hammerya
帖子: 6
注册时间: 2007-11-18 10:21

#5

帖子 hammerya » 2007-11-18 15:53

thank you
i'm in ubuntu now and i've no chinese input.......
i'll try,haha :D
hammerya
帖子: 6
注册时间: 2007-11-18 10:21

#6

帖子 hammerya » 2007-11-18 15:59

title Ubuntu, kernel 2.6.20-15-generic
root (hd0,6)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=68c3f293-7f90-4394-a4d6-2a24c6c8b79d ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=68c3f293-7f90-4394-a4d6-2a24c6c8b79d ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Ubuntu, memtest86+
root (hd0,6)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1








those are the part of the file named mune.lst
hammerya
帖子: 6
注册时间: 2007-11-18 10:21

#7

帖子 hammerya » 2007-11-18 16:01

should i just change the pasition of paragraphs of the ubuntu OS and WINDOWS XP? :(
头像
shugoal
帖子: 1109
注册时间: 2007-08-20 21:39
来自: 沈阳
联系:

#8

帖子 shugoal » 2007-11-18 16:05

补一句 先打个命令

代码: 全选

sudo cp /boot/gurb/menu.lst /boot/grub/menu.lst.back
做个备份!
失恋的痛苦不在于失恋本身 在于青黄不接!
青黄不接的年代里 我把爱情暂放一边!

★★○●◎◇★☆☆★
hammerya
帖子: 6
注册时间: 2007-11-18 10:21

#9

帖子 hammerya » 2007-11-18 16:17

shugoal 写了:补一句 先打个命令

代码: 全选

sudo cp /boot/gurb/menu.lst /boot/grub/menu.lst.back
做个备份!

thank you
hammerya
帖子: 6
注册时间: 2007-11-18 10:21

#10

帖子 hammerya » 2007-11-18 16:25

i cann't save the file
PhoenixJ
帖子: 1492
注册时间: 2007-08-09 3:33
系统: Windows 12.04

#11

帖子 PhoenixJ » 2007-11-18 16:36

代码: 全选

sudo gedit /boot/grub/menu.lst
将default 0段设置为default 3
bigbird
帖子: 113
注册时间: 2006-07-07 18:11

#12

帖子 bigbird » 2007-11-18 16:46

shugoal 写了:补一句 先打个命令

代码: 全选

sudo cp /boot/gurb[/color]/menu.lst /boot/grub/menu.lst.back
做个备份!
呵呵,看到您有个疏忽,应该是
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.back
回复