Grub2 não encontrando partição do windows

1

Tenho um novo laptop com o Windows 10. Usando o drive ssd do NVME. Eu estou tentando fazer multiboot usando UEFI.

Por algum motivo, grub-mkconfig -o /boot/grub/grub.cfg não está encontrando minha partição do windows. Eu tenho minha partição UEFI montada em /boot .

Eu instalei o grub com grub-install --target=x86_64-efi --efi-directory=/boot . Eu posso ver /boot/EFI/gentoo junto com o diretório do windows.

Alguma idéia de como fazer o grub-mkconfig ver minha partição do windows 10?

    
por dman 17.12.2017 / 19:45

1 resposta

0

Você precisa de sys-boot/os-prober para detectar janelas. Na página wiki do Gentoo do Grub2:

Additional software

Optionally, install the os-prober utility (provided through the sys-boot/os-prober package) to have GRUB2 probe for other operating systems when running the grub-mkconfig command. In most instances, this will enable GRUB2 to automatically detect other operating systems including Windows 7, 8.1, 10, other distributions of Linux, etc. root

emerge --ask --newuse sys-boot/os-prober

The GRUB2 (and optionally sys-boot/os-prober) installations do not automatically enable the boot loader. These only install the software on the operating system, but to install the boot loader to the system itself (so that it is used when booting the system), additional steps need to be taken, which are covered in the Configuration section.

E:

os-prober and UEFI in chroot

The sys-boot/os-prober utility is used to discover alternate installs, such as Microsoft Windows. To function properly, it needs to have access to information from the live environment's udev to test for the EFI System Partition.

Run these commands in the host environment to provide the required files (example shows Gentoo mounted on /mnt/gentoo like in the Handbook):

root #mkdir -p /mnt/gentoo/run/udev 
root #mount -o bind /run/udev /mnt/gentoo/run/udev 
root #mount --make-rslave /mnt/gentoo/run/udev'
    
por 05.06.2018 / 17:41