分页: 1 / 2

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

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

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

发表于 : 2009-11-07 14:25
咖啡豆豆
没有人知道吗?

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

发表于 : 2009-11-07 14:38
smallapple
看我签名档

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

发表于 : 2009-11-07 15:56
咖啡豆豆
smallapple 写了:看我签名档
资料很有用,谢谢!先拜读一下! :em01

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

发表于 : 2009-11-07 16:48
wfmj0806
smallapple 写了:看我签名档
不错,我也学习下!

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

发表于 : 2009-11-09 14:10
Mr.Bear
咖啡豆豆 写了:以前用过ubuntu 9.04同样是在拥有windows XP 情况下安装的双系统,为了让默认启动从windows,只要修改
boot/grub/menu.lst就可以了,但是现在安装了ubuntu 9.10之后,突然找不到这个文件了,那要怎么修改开机的启动顺序啊?哪位达人教教我,谢谢! :em06
Ubuntu下切换Grub的启动顺序

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

发表于 : 2009-11-09 15:09
人到暮年
我的是在xp下的优化大师中更改的. 开机速度那个选项中

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

发表于 : 2009-11-09 15:25
kxian
在这里该:/boot/grub/grub.cfg

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

发表于 : 2009-11-09 16:54
hucsmn
貌似9.10变成了.cfg
道听途殊说的

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

发表于 : 2009-11-09 17:17
男菜鸟
mark!!!!

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

发表于 : 2009-11-09 20:31
madlbx
kxian 写了:在这里该:/boot/grub/grub.cfg
正解!

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

发表于 : 2009-11-10 12:24
alonely
直接在C盘的WINDWOS下用GRUB引导.会方便的多.

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

发表于 : 2010-02-16 17:56
twonly
support!!!

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

发表于 : 2010-02-16 23:54
yuankai19891008
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 ###

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

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

代码: 全选

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