Windows xp sp3 和Ubuntu 8.10双系统调整启动顺序方法
发表于 : 2008-11-05 22:51
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
保存,行了。重新启动看一下是不是行了。
更改 /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
保存,行了。重新启动看一下是不是行了。