如果你是使用的grub作爲主引導程序引導雙系統(Windows & Linux)的話,可以通過以下操作把windows設爲默認啓動的操作系統,調整兩個操作系統在屏幕上的顯示順序(一般情況下grub把linux設爲默認啓動,而windows顯示爲dos):
1. 用root賬戶登陸到linux
2. vi /etc/grub.conf,grub.conf的內容如下
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,4)
# kernel /boot/vmlinuz-version ro root=/dev/hdc5
# initrd /boot/initrd-version.img
#boot=/dev/hdc
default=0
timeout=10
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
password --md5 $1$sefuvF4T$uet8lieX0oTII1lsnZGLJ/
title Red Hat Linux (2.4.20-8)
root (hd0,4)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1
3.修改grub.conf文件就可以解決啓動順序問題,修改後的文件如下
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,4)
# kernel /boot/vmlinuz-version ro root=/dev/hdc5
# initrd /boot/initrd-version.img
#boot=/dev/hdc
default=0
timeout=10
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
password --md5 $1$sefuvF4T$uet8lieX0oTII1lsnZGLJ/
title DOS
rootnoverify (hd0,0)
chainloader +1
title Red Hat Linux (2.4.20-8)
root (hd0,4)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
在GRUB中修改多操作系統的啓動順序和默認啓動系統
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.