I’m making an attempt to create a customized FreeBSD bootable ISO for use to create VirtualBox headless VMs. I’ve to make a small change within the /boot/loader.conf file to permit FreeBSD to output messages to the serial port (UART) and to not the show.
I can create this picture in FreeBSD with no downside. I can boot the picture in VirtualBox utilizing the serial console as anticipated. The command that I take advantage of on my FreeBSD laptop computer is:
$ mkisofs -v -b boot/cdboot -no-emul-boot -r -J -V "Headless_Installer"
-o Headless_Installer.iso /path/to/headless-iso
The parameters are as follows:
-v→ Verbose output (not important)-b→ El Torito Boot Picture. That is the trail the place the boot picture is situatedno-emul-boot→ No exhausting or floppy drive boot emulationr→ Generate SUSP and RR data to explain information on Joliet file system-J→ Generate Joliet listing data-V→ Quantity ID. It is a 32 char. string-o→ outputfile. That is theInstaller.isopicture/path/to/headless-iso→ listing of information to create the ISO
When I attempt to do the identical factor on macOS utilizing hdiutil, it fails besides. It creates the ISO with no errors however the VM is not going to boot the ISO picture. Here is the related command I take advantage of:
% hdihdiutil makehybrid -o Installer.iso
-iso -Joliet
-no-emul-boot
-eltorito-boot boot/cdboot
-default-volume-name "Headless_Installer" FreeBSD-13.1-Headless-iso-dir
Apart from the choice that generates the SUSP and RR data, these choices match the choices above. Does anybody know what the difficulty is why I am unable to create a bootable ISO on macOS?
