Re: Replace systemd
Rob van der Putten wrote:
> You need to modify your net install DVD too;
Guests may not discuss there. So here:
The genisoimage run in "update-cdrom.sh" only prepares for booting via
BIOS from CD/DVD. One would need to afterwards run
in order to make it ready for booting via BIOS from USB stick.
The promised UEFI capabilities by a run of
isohybrid --uefi test.iso
cannot be achieved because the genisoimage run did not advertise file
/boot/grub/efi.img as El Torito boot image for EFI.
Upstream genisoimage cannot do this. Fedora has a modified one which knows
option -e. See
In debian-9.0.0-amd64-netinst.iso the file /.disk/mkisofs tells the
command that was used to create it. Cleaned from the Jigdo specific options,
peculiarities of the production machine, and some ineffective options,
xorriso -as mkisofs \
-V 'Debian 9.0.0 amd64 n' \
-o test.iso \
-J -joliet-long \
-isohybrid-mbr "$isohybrid_MBR" \
-c isolinux/boot.cat \
-b isolinux/isolinux.bin \
-boot-load-size 4 -boot-info-table -no-emul-boot \
-e boot/grub/efi.img \
-no-emul-boot -isohybrid-gpt-basdat \
where $isohybrid_MBR is a file with a copy of the first 432 bytes of the
original ISO. E.g made by:
dd if=debian-9.0.0-amd64-netinst.iso bs=1 count=432 of="$isohybrid_MBR"
A run of isohybrid is not needed. The ISO will begin to boot from the
usual media on the usual firmwares. How far it gets depends on the
quality of the other manipulations, which i am not up to judge.
Have a nice day :)