Chinaunix首页 | 论坛 | 博客
  • 博客访问: 794367
  • 博文数量: 858
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 5015
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-29 17:43
文章分类

全部博文(858)

文章存档

2011年(1)

2008年(857)

我的朋友

分类: LINUX

2008-08-29 17:52:08

 
我装了两个操作系统,Linux和windowsXP.默认是Linux启动,通过下面的操作可把windowsXP改为默认启动系统

启动ubuntu后,输入:sudogedit/boot/grub/menu.lst

然后找到 default0

然后往下看,找你想默认启动的操作系统!修改default后面的数字,0对应第一个,1对应第二个,依次往下!以下是我的menu.lst

默认是ubuntu!把0改为4就可以了!

#menu.lst-See:grub(8),infogrub,update-grub(8)
#grub-install(8),grub-floppy(8),
#grub-md5-crypt,/usr/share/doc/grub
#and/usr/share/doc/grub-doc/.
##defaultnum
#SetthedefaultentrytotheentrynumberNUM.Numberingstartsfrom0,and
#theentrynumber0isthedefaultifthecommandisnotused.
#
#Youcanspecify''saved''insteadofanumber.Inthiscase,thedefaultentry
#istheentrysavedwiththecommand''savedefault''.
default0
##timeoutsec
#Setatimeout,inSECseconds,beforeautomaticallybootingthedefaultentry
#(normallythefirstentrydefined).
timeout10
##hiddenmenu
#Hidesthemenubydefault(pressESCtoseethemenu)
####EndDefaultOptions#
((((((((((由次开始为依次的操作系统启动列表!))
titleUbuntu,kernel2.6.12-9-386
root(hd0,2)
kernel/boot/vmlinuz-2.6.12-9-386root=/dev/hda3roquietsplash
initrd/boot/initrd.img-2.6.12-9-386
savedefault
boot
titleUbuntu,kernel2.6.12-9-386(recoverymode)
root(hd0,2)
kernel/boot/vmlinuz-2.6.12-9-386root=/dev/hda3rosingle
initrd/boot/initrd.img-2.6.12-9-386
boot
titleUbuntu,memtest86
root(hd0,2)
kernel/boot/memtest86 .bin
boot
###ENDDEBIANAUTOMAGICKERNELSLIST
#Thisisadivider,addedtoseparatethemenuitemsbelowfromtheDebian
titleOtheroperatingsystems:
root
#ThisentryautomaticallyaddedbytheDebianinstallerforanon-linuxOS
#on/dev/hda1
titleMicrosoftWindowsXPProfessional
root(hd0,0)
savedefault
makeactive
chainloader 1
#ones.

ubuntu和windows启动顺序改变ubuntu和windows启动顺序改变ubuntu和windows启动顺序改变ubuntu和windows启动顺序改变ubuntu和windows启动顺序改变ubuntu和windows启动顺序改变ubuntu和windows启动顺序改变ubuntu和windows启动顺序改变ubuntu和windows启动顺序改变ubuntu和windows启动顺序改变
阅读(775) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~