在下小白一个。但是自己摸索着也就把ubuntu装好啦。
但是启动的时候是启动grub默认加在ubuntu,windows vista在最下面。请问 怎么才能默认加在vista?
看到网上说修改default 0为defualt X。但是那个menu.lst里面根本就没这个选项阿。
其实我更加想用vista的加载器来加载ubuntu而不是使用gurb。
就这两个问题阿,怎么办呢?跪求!!
grub中默认启动怎么设置?
- jeffwei
- 帖子: 1344
- 注册时间: 2007-05-12 22:48
Re: grub中默认启动怎么设置?
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
-
- 帖子: 96
- 注册时间: 2007-05-24 0:45
Re: grub中默认启动怎么设置?
呵呵,没有就手动加上这一行 你的vista在第几个title里面,那个x就是(几-1),如果要用vista启动ubuntu,你需要使用bcdedit这个命令行工具,推荐你去搜索一个图形化的bcdedit的ui,此外用bcdedit相关的操作注意备份,操作完了一定要检查bcd的数据库是否正常然后才能重启,不然你的vista就挂了,sp1以前版本的vista的修复引导功能不好用!不知道现在如何了!huanyuejisi 写了:在下小白一个。但是自己摸索着也就把ubuntu装好啦。
但是启动的时候是启动grub默认加在ubuntu,windows vista在最下面。请问 怎么才能默认加在vista?
看到网上说修改default 0为defualt X。但是那个menu.lst里面根本就没这个选项阿。
其实我更加想用vista的加载器来加载ubuntu而不是使用gurb。
就这两个问题阿,怎么办呢?跪求!!
- pxw816
- 帖子: 296
- 注册时间: 2007-10-16 19:29
Re: grub中默认启动怎么设置?
在vista的root下面加上savedefault就行啦
cpu:Intel(R) Core(TM)2 Quad CPU Q6600
mem:2GB DDR2 800 *4
disk:ide320GB+(640GB+640GB)raid
video:Nvidia GTX 260+
network: Atheros AR8121/AR8113
monitor: BENQ FP92W
OS: ubuntu
mem:2GB DDR2 800 *4
disk:ide320GB+(640GB+640GB)raid
video:Nvidia GTX 260+
network: Atheros AR8121/AR8113
monitor: BENQ FP92W
OS: ubuntu
- xichu
- 帖子: 47
- 注册时间: 2007-10-31 21:39