ubuntu 9.10与windows xp 开机顺序修改?

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

ubuntu 9.10与windows xp 开机顺序修改?

#1

帖子 咖啡豆豆 » 2009-11-07 13:55

以前用过ubuntu 9.04同样是在拥有windows XP 情况下安装的双系统,为了让默认启动从windows,只要修改
boot/grub/menu.lst就可以了,但是现在安装了ubuntu 9.10之后,突然找不到这个文件了,那要怎么修改开机的启动顺序啊?哪位达人教教我,谢谢! :em06
头像
咖啡豆豆
帖子: 6
注册时间: 2009-11-02 15:48

Re: ubuntu 9.10与windows xp 开机顺序修改?

#2

帖子 咖啡豆豆 » 2009-11-07 14:25

没有人知道吗?
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: ubuntu 9.10与windows xp 开机顺序修改?

#3

帖子 smallapple » 2009-11-07 14:38

看我签名档
头像
咖啡豆豆
帖子: 6
注册时间: 2009-11-02 15:48

Re: ubuntu 9.10与windows xp 开机顺序修改?

#4

帖子 咖啡豆豆 » 2009-11-07 15:56

smallapple 写了:看我签名档
资料很有用,谢谢!先拜读一下! :em01
wfmj0806
帖子: 27
注册时间: 2009-04-25 21:44

Re: ubuntu 9.10与windows xp 开机顺序修改?

#5

帖子 wfmj0806 » 2009-11-07 16:48

smallapple 写了:看我签名档
不错,我也学习下!
Mr.Bear
帖子: 14
注册时间: 2009-11-09 14:08
联系:

Re: ubuntu 9.10与windows xp 开机顺序修改?

#6

帖子 Mr.Bear » 2009-11-09 14:10

咖啡豆豆 写了:以前用过ubuntu 9.04同样是在拥有windows XP 情况下安装的双系统,为了让默认启动从windows,只要修改
boot/grub/menu.lst就可以了,但是现在安装了ubuntu 9.10之后,突然找不到这个文件了,那要怎么修改开机的启动顺序啊?哪位达人教教我,谢谢! :em06
Ubuntu下切换Grub的启动顺序
我的Blog:CodeCake
http://cookiebear.info/
人到暮年
帖子: 645
注册时间: 2009-08-01 9:50
来自: 泰安人在青岛

Re: ubuntu 9.10与windows xp 开机顺序修改?

#7

帖子 人到暮年 » 2009-11-09 15:09

我的是在xp下的优化大师中更改的. 开机速度那个选项中
不能养成臭毛病.
头像
kxian
帖子: 52
注册时间: 2009-09-24 19:37

Re: ubuntu 9.10与windows xp 开机顺序修改?

#8

帖子 kxian » 2009-11-09 15:25

在这里该:/boot/grub/grub.cfg
hucsmn
帖子: 5
注册时间: 2009-11-09 16:31

Re: ubuntu 9.10与windows xp 开机顺序修改?

#9

帖子 hucsmn » 2009-11-09 16:54

貌似9.10变成了.cfg
道听途殊说的
头像
男菜鸟
帖子: 1365
注册时间: 2008-12-16 14:01
来自: 漂在江湖

Re: ubuntu 9.10与windows xp 开机顺序修改?

#10

帖子 男菜鸟 » 2009-11-09 17:17

mark!!!!
头像
madlbx
帖子: 13
注册时间: 2007-09-29 1:31

Re: ubuntu 9.10与windows xp 开机顺序修改?

#11

帖子 madlbx » 2009-11-09 20:31

kxian 写了:在这里该:/boot/grub/grub.cfg
正解!
头像
alonely
帖子: 27
注册时间: 2009-11-07 13:59

Re: ubuntu 9.10与windows xp 开机顺序修改?

#12

帖子 alonely » 2009-11-10 12:24

直接在C盘的WINDWOS下用GRUB引导.会方便的多.
twonly
帖子: 2
注册时间: 2010-02-12 0:25

Re: ubuntu 9.10与windows xp 开机顺序修改?

#13

帖子 twonly » 2010-02-16 17:56

support!!!
yuankai19891008
帖子: 9
注册时间: 2009-10-02 20:12

Re: ubuntu 9.10与windows xp 开机顺序修改?

#14

帖子 yuankai19891008 » 2010-02-16 23:54

kxian 写了:在这里该:/boot/grub/grub.cfg
以下是我的
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,8)
search --no-floppy --fs-uuid --set 6ea9d3c8-0f60-4b02-8ed5-ee36387d29d2
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set 8c06873006871a7a
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "笨兔, Linux 2.6.31-20-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,8)
search --no-floppy --fs-uuid --set 6ea9d3c8-0f60-4b02-8ed5-ee36387d29d2
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=6ea9d3c8-0f60-4b02-8ed5-ee36387d29d2 ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-20-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,8)
search --no-floppy --fs-uuid --set 6ea9d3c8-0f60-4b02-8ed5-ee36387d29d2
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=6ea9d3c8-0f60-4b02-8ed5-ee36387d29d2 ro single
initrd /boot/initrd.img-2.6.31-20-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
头像
heshuaikun
帖子: 550
注册时间: 2008-09-07 23:44

Re: ubuntu 9.10与windows xp 开机顺序修改?

#15

帖子 heshuaikun » 2010-02-17 10:55

启动和引导版块里就有grub2的教程,干吗不去看?
你要把windows提到启动菜单前面的话改下优先级然后刷新一下就行,别手动改/boot/grub/grub.cfg,那样改下次更新后又变回来了。
这样改:

代码: 全选

sudo mv /etc/grub.d/30_os-prober /etc/grub.d/9_os-prober && sudo update-grub
回复