在运行长期Linux 17 Xfce (ubuntu14.04)的计算机上,我沿着Windows 7创建了另外两个单独的分区,目的是在短期内安装其他系统以进行测试。所以,我想关注某些发行版的开发。例如初级操作系统、Bodhi Linux、Manjaro和其他Linux构建,但也包括Windows 10 (“技术预览”)。
正如预期的那样,在这两个附加分区中的一个上安装Windows 10已经删除了最新Linux安装的启动列表(grub);也就是说,计算机直接引导到Windows 10,在Windows 7或任何Linux系统中都没有启动选项。
我已经用grub-repair
工具这里恢复了grub,结果是在引导时我可以在Linux和Windows7之间进行选择,而Windows10不在列表中。
为什么?-而且:它可以添加到grub中的引导列表中吗?
我想看一下Windows 10技术预览,但同时保持对我的主要引导选项Linux/Win7 7的访问。这有可能吗?
编辑回复评论:
sudo update-grub
给出:
~ $ sudo update-grub
Generating grub configuration file ...
Found theme: /boot/grub/themes/Grau/theme.txt
Found linux image: /boot/vmlinuz-3.13.0-45-generic
Found initrd image: /boot/initrd.img-3.13.0-45-generic
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
No volume groups found
Found Windows 7 (loader) on /dev/sda2
Found Windows 7 (loader) on /dev/sda4
Found Ubuntu 14.04.1 LTS (14.04) on /dev/sda6
done
实际上,所有系统都是可以访问的: Mint、Voyager (基于Xubuntu的发行版)和Windows 7,但没有Windows 10。
发布于 2015-02-04 23:36:16
不管是什么原因,grub所看到的Windows 7 (loader) on /dev/sda2
实际上是Windows 10加载程序。
要更改名称,可以在Linux中使用grub-customizer
(点击)。
发布于 2015-10-24 19:34:09
这里给出了更好的答案:
https://askubuntu.com/questions/666317/grub2-shows-windows-7-instead-of-windows-10
它涉及编辑/usr/lib/os-probes/mounted/20microsoft
中的文件,以便将Windows 10添加到Grub2重新定义的OSes列表中
https://unix.stackexchange.com/questions/182997
复制相似问题