分页: 1 / 2

Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

发表于 : 2008-11-05 22:51
cnjsyz
Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

更改 /boot/grub/menu.lst文件就可以了。下面是我的操作方法:

ubuntu8.10下的系统启动文件为 /boot/grub/menu.lst

进入ubuntu8.10系统,在终端输入sudo gedit /boot/grub/menu.lst 表示要修改该文件。
回车输入密码再回车之后,终端会显示一些信息,如我的机器上是:
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.7

GTK Panel of SCIM 1.4.7

随后在打开menu.lst的编辑窗口,文件内容比较长,大部分都是带#的注释行,在menu.lst文件的最下面是:

## ## End Default Options ##
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 4a27e1ad-bb3d-42e0-9745-45ffe9c5c91f
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=4a27e1ad-bb3d-42e0-9745-45ffe9c5c91f ro locale=zh_CN quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 4a27e1ad-bb3d-42e0-9745-45ffe9c5c91f
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=4a27e1ad-bb3d-42e0-9745-45ffe9c5c91f ro locale=zh_CN single
initrd /boot/initrd.img-2.6.27-7-generic

title Ubuntu 8.10, memtest86+
uuid 4a27e1ad-bb3d-42e0-9745-45ffe9c5c91f
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

把最后7行全部剪切到下面两行的中间:
## ## End Default Options ##
title Ubuntu 8.10, kernel 2.6.27-7-generic

成以下这样就行了:

## ## End Default Options ##

# 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

title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 4a27e1ad-bb3d-42e0-9745-45ffe9c5c91f
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=4a27e1ad-bb3d-42e0-9745-45ffe9c5c91f ro locale=zh_CN quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 4a27e1ad-bb3d-42e0-9745-45ffe9c5c91f
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=4a27e1ad-bb3d-42e0-9745-45ffe9c5c91f ro locale=zh_CN single
initrd /boot/initrd.img-2.6.27-7-generic

title Ubuntu 8.10, memtest86+
uuid 4a27e1ad-bb3d-42e0-9745-45ffe9c5c91f
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

保存,行了。重新启动看一下是不是行了。

Re: Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

发表于 : 2009-03-11 21:15
睡皮打滚要啊
看的晕死。。。这么麻烦,有简单一点的法子吗?

Re: Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

发表于 : 2009-03-11 21:34
想入非非
直接apt安装startupmanager之后,很容易就能改变,好像还有一个qt的编辑grub的工具 :em06

Re: Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

发表于 : 2009-03-11 21:40
pcbird
你有xp吧,用超级兔子修改启动循序。还有就是直接手动修改boot.ini。

Re: Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

发表于 : 2009-03-11 22:26
torres9x
用msconfig修改是最简单的了

Re: Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

发表于 : 2009-03-12 19:35
maoxiaoyun
我这里有个问题啊,就是输入sudo gedit /boot/grub/menu.lst后,提示pass word时,无论我怎么按键盘都没反应啊,退出来再进也不行。每次到pass word之后,键盘就失灵了

Re: Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

发表于 : 2009-03-16 13:03
aohan237
maoxiaoyun 写了:我这里有个问题啊,就是输入sudo gedit /boot/grub/menu.lst后,提示pass word时,无论我怎么按键盘都没反应啊,退出来再进也不行。每次到pass word之后,键盘就失灵了
因为pass word是默认不显示的 ,不是你的键盘失灵,而是不显示,你只要正确输入你的密码然后按回车就好了

Re: Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

发表于 : 2009-03-17 9:34
Codefresher
直接设置你的default就可以了,你想谁启动就让他默认启动

Re: Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

发表于 : 2009-03-17 13:45
mk22
msconfig就可以了 不必那么麻烦的~~呵呵

Re: Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

发表于 : 2009-03-17 21:38
asd5381
LZ说的太麻烦了,不过也是值得试试的 :em06

Re: Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

发表于 : 2009-03-18 12:13
Recobi
按此方法设置成功,感谢楼主分享~

Re: Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

发表于 : 2009-03-22 17:02
lgm12380
各位老兄:我介绍一下我的情况,我的系统如本帖,用wubi安装的8.04,升级到8.10,我用过上面的每一种方法,对于我的机子来说,只有超级兔子的设置有效。

Re: Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

发表于 : 2009-04-26 10:09
Recobi
经测试以上方法同样适用于Ubuntu 9.04与Windows XP!

Re: Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

发表于 : 2009-04-26 21:15
weijun189
我知道的是,把default=0改为default=4就可以了!!!

Re: Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法

发表于 : 2009-04-27 15:22
purepalm
weijun189 写了:我知道的是,把default=0改为default=4就可以了!!!
这个是把默认高亮的光标放到第四个,也就是XP上。

LZ那个是光标不动,把XP放到第一个。

实质是一样的。