重装win10后,重装GRUB[编辑],但是多了一个win10启动项?
Tofloor
poster avatar
sdtzls
deepin
2016-10-04 00:49
Author
本帖最后由 sdtzls 于 2016-10-3 16:52 编辑

重新安装了win10,然后安装百科里的教程重新安装grub,但是多了一个win10的启动,怎么删除sda2里面的那个win10启动?
liu@liu-pc:~$ sudo update-grub
[sudo] liu 的密码:
Generating grub configuration file ...
Found theme: /boot/grub/themes/deepin/theme.txt
Found background image: /boot/grub/themes/deepin/background.png
Found linux image: /boot/vmlinuz-4.4.0-2-deepin-amd64
Found initrd image: /boot/initrd.img-4.4.0-2-deepin-amd64
Found Windows 10 (loader) on /dev/sda1
Found Windows 10 (loader) on /dev/sda2
done
liu@liu-pc:~$





Reply Favorite View the author
All Replies
avatar
sdtzls
deepin
2016-10-04 00:49
#1
谢谢!不知道该怎么弄了。。
Reply View the author
avatar
hwang
deepin
2016-10-04 02:59
#2
你打开grub配置文件,一般是/boot/grub/grub.cfg或者/boot/grub2/grub.cfg,一个启动项就是menuentry一段,不需要的启动项可以手动删除。但是grub不建议手动改这个文件,所以建议你看看为什么这两个分区都会检测出win10
Reply View the author
avatar
user023
deepin
2016-11-13 07:34
#3
我的也是这样,多一个win10启动项
Reply View the author
avatar
aurthur
deepin
2016-11-13 15:50
#4
打开终端,执行

sudo update-grub

就自动修复了
Reply View the author