So starten Sie das Win10-Image von Ihrem HDD
:
- Fügen Sie den folgenden Code hinzu
/etc/grub.d/40_custom
- Zurück
/boot/grub/grub.cfg
mitsudo cp /boot/grub/grub.cfg.bak
. (Oder fügen Sie eine Nummer hinzu, wenn bereits eine vorhanden istgrub.cfg
.) - Dann laufen
sudo grub-mkconfig /boot/grub/grub.cfg
.
Grub2
-Aufbau:
menuentry "Windows 10" --class windows --class os { # Insert modules needed in order to access the iso-file insmod part_gpt #insmod part_msdos insmod ntfs #insmod ext2 # Insert module needed in order to find partition insmod search_fs_uuid # Set UUID of partition with the iso-image # and let grub2 find the partition # (save it's identifier to the variable $root) set uuid="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" search --no-floppy --set=root --fs-uuid $uuid # Mount the iso image by addressing it with (partition)/path set iso=/images/Win10_English_x64.iso loopback loop ($root)$iso # boot (chain-load) the image using the cdboot.efi file located # on the win10-image chainloader (loop)/efi/microsoft/boot/cdboot.efi }
Anleitung:
Ersetzen Sie XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
durch die UUID
Partition, die das Windows 10-Image enthält.
insmod part_gpt
: Dieses Modul wird benötigt, wenn das Win10-ISO-Image auf einem Laufwerk mit einer GPT-Partitionstabelle liegt.
insmod part_msdos
: Wählen Sie diese Option aus insmod part_gpt
, wenn das Image auf einem Laufwerk mit DOS-Partitionstabelle liegt.
insmod ntfs
: Dieses Modul wird benötigt, wenn das Win10-ISO-Image eine NTFS
-Partition ist.
insmod ext2
: Ersetzen insmod ntfs
mit durch insmod ext2
, wenn das Image auf einer ext2 / ext3- oder ext4-Partition liegt.