linux与windows双系统如何修改默认启动方式
2012-09-07 10:43
393 查看
打开/boot/grub/grub.conf文件,修改其中的default的值即可。
当default=0时默认启动CentOS (2.6.32-279.el6.x86_64)
当default=1时默认启动Win7
# 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,6)
# kernel /boot/vmlinuz-version ro root=/dev/sdb7
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sdb
default=1
timeout=5
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-279.el6.x86_64)
root (hd0,6)
kernel /boot/vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=eddf8d64-30d2-4e6a-b559-7a69ce18581b rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us rd_NO_MD quiet rhgb crashkernel=auto LANG=zh_CN.UTF-8 rd_NO_LVM rd_NO_DM
initrd /boot/initramfs-2.6.32-279.el6.x86_64.img
title Win7
rootnoverify (hd0,1)
chainloader +1
当default=0时默认启动CentOS (2.6.32-279.el6.x86_64)
当default=1时默认启动Win7
# 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,6)
# kernel /boot/vmlinuz-version ro root=/dev/sdb7
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sdb
default=1
timeout=5
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-279.el6.x86_64)
root (hd0,6)
kernel /boot/vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=eddf8d64-30d2-4e6a-b559-7a69ce18581b rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us rd_NO_MD quiet rhgb crashkernel=auto LANG=zh_CN.UTF-8 rd_NO_LVM rd_NO_DM
initrd /boot/initramfs-2.6.32-279.el6.x86_64.img
title Win7
rootnoverify (hd0,1)
chainloader +1
相关文章推荐
- 如何在安装了双系统的机器上修改默认启动系统(Linux,Windows)
- win7和Linux双系统启动时如何设置默认进入windows?
- 如何在安装了双系统的机器上修改默认启动系统(Linux,Windows)
- XP和Linux双系统如何修改默认启动的系统
- win7和Linux双系统启动时如何设置默认进入windows
- 如何在安装了双系统的机器上修改默认启动系统(Linux,Windows)
- Windows和Linux下,如何在不关闭浏览器的方式下快速生效hosts修改
- 双系统 如何在安装linux后将开机默认启动还原为windows
- 更换默认启动系统的方法,适合于安装了windows 和 linux双系统的用户(转载)
- 修改Ubuntu12.04和Windows双系统默认启动系统
- 修改grub引导的Linux和Windows双系统的启动顺序和删除Linux系统的方法
- Linux如何修改默认启动模式(默认运行级)?
- 修改grub引导的Linux和Windows双系统的启动顺序和删除Linux系统的方法
- windows和linux双系统修改启动项
- 让普通用户具备sudo执行权限-修改linux默认启动方式
- 如何修改Linux系统的默认启动级别
- linux和windows双系统设置默认启动系统
- 安装Ubuntu16.04与windows10双系统后,如何修改启动默认设置
- Windows和Linux双系统修改默认启动项、超时时间
- Linux和windows双系统修改开机默认启动项