XP与Centos 双系统 默认启动顺序解决方案 情况一:默认Centos启动,要改为XP启动 1、进入Centos系统,寻找系统启动文件,然后使用vi 或 gedit 等指令打开配置文件进行更改。 2、配置文件位置:/etc/ 或/boot/grub/ 3、配置文件内容 ######################################################### #以下为配置文件内容 ######################################################### # 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,2) # kernel /boot/vmlinuz-version ro root=/dev/sda3 # initrd /boot/initrd- #boot=/dev/sda default=0 #默认启动的系统,默认启动第一个系统。(更改其值,可改变启动顺序) timeout=5 #等待超时时间为5秒。 splashimage=(hd0,2)/boot/grub/ #开机图片地址。 Hiddenmenu #是否显示开机菜单。 title XP #第一个系统(更改其顺序,可改变启动顺序) rootnoverify (hd0,0) chainloader +1 title CentOS (-) #第二个系统 root (hd0,2) kernel /boot/-- module /boot/vmlinuz-- ro root=LABEL=/1 rhgb quiet module /boot/initrd-- title CentOS-base (-) #第三个系统 root (hd0,2) kernel /boot/vmlinuz-- ro root=LABEL=/1 rhgb quiet initrd /boot/initrd-- ######################################################### 更改其值方案如下: ######################################################### # generated by anaconda # # No