请问如何设置win7为默认启动项呢?跟ubuntu不太一样啊
Tofloor
poster avatar
ahhszzj
deepin
2013-07-30 21:13
Author
按照网上方法
打开终端,输入sudo gedit /etc/default/grub
输入密码。
在出来的文本编辑器中找到GRUB_DEFAULT=0 一行,

把0改为2(因为我的Windows7在第三行)

找到GRUB_TIMEOUT=10 一行,修改时间10为3秒。
保存,退出。
重新在终端输入sudo update-grub
但是文件自动就回到0了。

怎么回事?
Reply Favorite View the author
All Replies
cxbii
deepin
2013-07-31 00:06
#1
把终端输出贴上来看看
Reply View the author
electricface
deepin
2013-07-31 01:16
#2
是不是因为你还有其他linux系统?
Reply View the author
ahhszzj
deepin
2013-07-31 21:13
#3
我表示自己都糊涂了,再运行一遍改为2,win7(虽然显示是win8)j就变成第一个。但默认启动项变成第三个了。于是再改回0.就好了。默认就是win7了。求解。
附上终端情况:
Generating grub.cfg ...
Found Windows 8 (loader) on /dev/sda1
Found linux image: /boot/vmlinuz-3.8.0-27-generic
Found initrd image: /boot/initrd.img-3.8.0-27-generic
Found linux image: /boot/vmlinuz-3.8.0-26-generic
Found initrd image: /boot/initrd.img-3.8.0-26-generic
Found linux image: /boot/vmlinuz-3.8.0-25-generic
Found initrd image: /boot/initrd.img-3.8.0-25-generic
done


以前都是win8这个最后的。我没有干任何事啊
Reply View the author
cxbii
deepin
2013-08-01 04:05
#4
我表示自己都糊涂了,再运行一遍改为2,win7(虽然显示是win8)j就变成第一个。但默认启动项变成第三个了。于是再改回0.就好了。默认就是win7了。求解。
附上终端情况:
Generating grub.cfg ...
Found Windows 8 (loader) on /dev/sda1
Found linux image: /boot/vmlinuz-3.8.0-27-generic
Found initrd image: /boot/initrd.img-3.8.0-27-generic
Found linux image: /boot/vmlinuz-3.8.0-26-generic
Found initrd image: /boot/initrd.img-3.8.0-26-generic
Found linux image: /boot/vmlinuz-3.8.0-25-generic
Found initrd image: /boot/initrd.img-3.8.0-25-generic
done


以前都是win8这个最后的。我没有干任何事啊
可能是grub暂时抽风吧,反正现在达到目的就好了
Reply View the author