在双启动中安装 centos 7 后,我无法获得 Windows 启动选项。我的Windows是Windows 10

在双启动中安装 centos 7 后,我无法获得 Windows 启动选项。我的Windows是Windows 10

我已经尝试过一些事情。

fdisk -l 的输出是:

[root@localhost mohit_dubey]# fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt

#         Start          End    Size  Type            Name
 1         2048       206847    100M  EFI System      EFI System Partition
 2       206848       411647    100M  Microsoft basic 
 3       411648    409372671    195G  Linux LVM       
 4    409372672    451315711     20G  Microsoft basic 

Disk /dev/sdb: 8076 MB, 8076132352 bytes, 15773696 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x13f6b0ea

   Device Boot      Start         End      Blocks   Id  System
   /dev/sdb1   *        2048    15773695     7885824    c  W95 FAT32 (LBA)

Disk /dev/mapper/centos-root: 207.2 GB, 207232172032 bytes, 404750336 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mapper/centos-swap: 2147 MB, 2147483648 bytes, 4194304 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

grub2-mkconfig > /dev/null 的输出:

[root@localhost mohit_dubey]# grub2-mkconfig > /dev/null
/usr/bin/grub2-editenv: error: cannot open `/boot/grub2/grubenv.new': No space     left on device.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-327.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-327.el7.x86_64.img

完毕

没有列出窗口。

答案1

不是基于 Redhat 的 linux 的专业人士,但在 Debian 和 Arch 中,您需要安装一个名为 的软件包os-prober,然后重新创建 Grub 配置。

相关内容