修改win7和debian双系统的开机启动顺序

我首先安装的是win7系统,后来因为实验室需要又装了个debian系统,从而变成双系统,但装完debian之后,开机启动默认进入debian系统,而不是我想要得win7系统,所以需要设置一下,方法如下:

进入debian系统,编辑/boot/grub/menu.list文件

找到default 0,这表示开机默认启动菜单中第一个系统,也就是下面列表的第一个title,而win7在最后面,也就是第四个title,所以将default 0 修改为default 3,保存重启系统即可默认进入WIN7系统。


## ## End Default Options ##

title           Debian GNU/Linux, kernel 2.6.26-2-686
root            (hd0,7)
kernel          /boot/vmlinuz-2.6.26-2-686 root=/dev/sda8 ro quiet
initrd          /boot/initrd.img-2.6.26-2-686

title           Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
root            (hd0,7)
kernel          /boot/vmlinuz-2.6.26-2-686 root=/dev/sda8 ro single
initrd          /boot/initrd.img-2.6.26-2-686

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title           Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title           Windows Vista/Longhorn (loader)
root            (hd0,0)
savedefault
makeactive
chainloader     +1
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值