我装了两个操作系统,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) |