Multiboot mit GRUB2 - Windows-ISO per GRUB2 booten und weitere Grub menuentry

xsid

Active member
Registriert
29 Mai 2007
Beiträge
4.621
Edit: Überschrift geändert weil so passend.

Erstthread:

FRAGESTELLUNG

Wie kann ich mit GRUB2 Windows 10 ISO per Chainloading booten?

- Wie muss das menuentry für UEFIS Systeme aussehen?

- Wie muss das menuentry für BIOS Systeme aussehen?

Ich möchte meinen Multiboot USB-Stick mit GRUB2 mit einem WinPE Iso erweitern.


Mal was neues:

Last Updated: January 15th, 2023


Windows 10 ISO
Yes, you can create a Windows 10 bootable USB on Ubuntu or any Linux distro. If you don’t have a USB thumb drive, you can boot Windows 10 ISO on the hard drive with GRUB2. Download the Windows 10 ISO file. Note that you might not be able to download the ISO from this link on a Windows computer. This download link is visible to users on Linux computer.
GRUB2 can not boot Windows 10 ISO directly. You need to create a separate NTFS partition on your disk with a partition editor like GParted and extract the Windows 10 ISO to that partition. The latest Windows 10 ISO file is 5.8G. The new NTFS partition should be at least 7G and it should not be used to store any other files.

Keine Chance ein Windows 10 ISO direkt mit Grub zu booten?
 
Zuletzt bearbeitet:
ISO und GRUB war schon immer eine Krücke - siehst du schon an den Klimmzügen im verlinkten Artikel. Es gibt dann noch den Chainloader für ein ISO das ins RAM geladen wurde, der funktioniert aber eher schlecht bis gar nicht. GRUB Chainloader, der ElTorrito kann, gibt's komischer Weise nicht.
 
Wie macht es Ventoy, da funktionieren Windows ISOs?


Damit komme ich auch nicht wirklich klar.

Code:
menuentry "Boot WinPE" {
    set g4d_cmd="find --set-root --ignore-floppies /path/to/WIN10XPE.iso; map /path/to/WIN10XPE.iso (0xff); map --hook; chainloader (0xff)"
    linux /path/to/grub.exe --config-file=${g4d_cmd}
}

Kann ich, muss ich eine "grub.exe" in einem Linuxsystem ablegen?
 
Zuletzt bearbeitet:
GRUB4DOS war GRUB1. Schau mal da, Vergeich von recht ähnlichen Einträgen für GRUB1 und GRUB2:
 
FRAGESTELLUNG

Wie kann ich mit GRUB2 Windows 10 ISO per Chainloading booten?

- Wie muss das menuentry für UEFI Systeme aussehen?

- Wie muss das menuentry für BIOS Systeme aussehen?
 
Zuletzt bearbeitet:
Ok ... wird dir nicht gefallen: gar nicht. der Chainloader funktioniert nicht (mehr), auch syslinux und PXE spielen nicht mehr mit. menuentry für BIOS und EFI unterscheiden sich nicht - GRUB spielt nach dem BIOS/EFI. Ausser du hast coreboot/libreboot.
 
Wie kann ich mit GRUB2 Windows 10 ISO booten, gibt es 2023 ein funktionierendes Verfahren?
 
Ventoy sollte funktionieren - probier's mal und schreib' ob's geht, ich hab's noch nicht probiert (kein Bedarf an Windoof)
 
Ventoy funktioniert, aber das ist nicht die Lösung für mein Anliegen.
 
Wenn du eine Lösung mit GRUB2 findest, poste die bitte.

Warum passt Ventoy nicht?
 
Du siehst mich noch verwirrter. Du hast eine SSDmit installiertem OS und irgendwo liegen jatzt ISOS rum und die möchtest du booten? Warum? Oder nicht?
 
Genau, so habe ich z. B. Clonezilla und Acronis TrueImage immer dabei.

Code:
cat /etc/grub.d/40_custom

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "clonezilla-live-3.0.2-21-amd64.iso" {
ISO="/clonezilla-live-3.0.2-21-amd64.iso"
search --set -f $ISO
loopback loop $ISO
linux (loop)/live/vmlinuz set root=(hd0,gpt6) toram boot=live union=overlay username=user config components quiet noswap edd=on nomodeset locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=791 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 findiso=$ISO
initrd (loop)/live/initrd.img
}
menuentry "Acronis True Image 2019 39216 - Extract ISO" {
linux /acronis2019/dat10.dat set root=(hd0,gpt6) quiet force_modules=usbhid
initrd /acronis2019/dat11.dat /acronis2019/dat12.dat
boot
}
 
Zuletzt bearbeitet:
ok .... der Vorteil gegenüber einem USB-stick erschließt sich mir nicht direkt ...
 
MIr schon, Booten ist mit meinen Verfahren erheblich schneller, ich benötige keinen USB-Stick, keine SD-Card oder keine CD/DVD.

Mir fehlt die Lösung für Drive Snapshot 1.50 als WinPE Iso-Boot.
 
Zuletzt bearbeitet:
Aber alle Tools hast du unter Linux sowieso, und eine Windows ISO bootet man nicht jeden Tag ... oder wenn, wozu ... und wenn die SSD im Rechner eingebaut ist?
 
  • ok1.de
  • ok2.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben