快捷搜索:   nginx

linux与windows双系统,默认启动方式的修改

以下是我的/boot/grub/grub.conf文件,修改其中的default的值即可,按照这个文件可以修改为0、1或2

# 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.
#           (hd0,2)
#           kernel /boot/vmlinuz-version ro root=/dev/sda3
#           initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title Red Hat Enterprise Linux AS (2.4.21-27.ELsmp)
root (hd0,2)
kernel /boot/vmlinuz-2.4.21-27.ELsmp ro root=LABEL=/
initrd /boot/initrd-2.4.21-27.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.4.21-27.EL)
root (hd0,2)
kernel /boot/vmlinuz-2.4.21-27.EL ro root=LABEL=/
initrd /boot/initrd-2.4.21-27.EL.img
title DOS
rootnoverify (hd0,0)
chainloader +1

顶(0)
踩(0)

您可能还会对下面的文章感兴趣:

最新评论