在xp和ubuntu的双系统用grub启动引导,可能默认是ubuntu,如果xp用的多,可以改为默认xp启动
下次启动就默认进入xp了
原创内容如转载请注明:来自 阿权的书房
#编辑此文件改变默认次序
root@lhq-laptop:/home/lhq# gedit /etc/default/grub
#gedit里改为 GRUB_DEFAULT=5
#视你自己情况而定,xp位于第几个,N-1
#更新grub
root@lhq-laptop:/home/lhq# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-23-generic
Found initrd image: /boot/initrd.img-2.6.35-23-generic
Found linux image: /boot/vmlinuz-2.6.32-26-generic
Found initrd image: /boot/initrd.img-2.6.32-26-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Professional on /dev/sda1
done
root@lhq-laptop:/home/lhq# gedit /etc/default/grub
#gedit里改为 GRUB_DEFAULT=5
#视你自己情况而定,xp位于第几个,N-1
#更新grub
root@lhq-laptop:/home/lhq# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-23-generic
Found initrd image: /boot/initrd.img-2.6.35-23-generic
Found linux image: /boot/vmlinuz-2.6.32-26-generic
Found initrd image: /boot/initrd.img-2.6.32-26-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Professional on /dev/sda1
done
下次启动就默认进入xp了
原创内容如转载请注明:来自 阿权的书房
收藏本文到网摘
自动档汽车的P R N D档位
硬盘拆解记
