XP与linu双系统
来源:百度知道 编辑:UC知道 时间:2024/04/28 20:16:57
很简单的
linux,win双系统设置默认启动XP 双系统设置默认启动XP
先备份:sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
修改启动菜单:sudo gedit /boot/grub/menu.lst
修改中间的 default 0
你想进入的OS 位于第几项 就把0改为几就可以了。(记住项数是从0开始算起的)
for example:
假设menu.lst菜单如下:
default 0 (在menu.lst 中间,认真点找)
timeout 10 (此处是你设置的开机选择系统时间)
gfxmenu (hd0,2)/boot/message.mint
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.20-16-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=31ef2f9a-d93c-4533- 94c7- 223f69a184e6 ro quiet splash
initrd /boot/initrd.img-2.6.20-16-generic
boot
title Debian GNU/Linux, kernel 2.6.20-16-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=31ef2f9a-d93c-4533- 94c7-223f69a184e6 ro single
initrd /boot/initrd.img-2.6.20-16-generic