Post

Making ISO files via CLI

Apple

hdiutil makehybrid -o Autounattend-win10.iso -hfs -joliet -iso -default-volume-name cd_label folder_name

This command will convert a folder to an iso file. cd_label is the label that it will read on the machine when mounted. folder_name is the name of the folder to be converted into an iso. -o is the name of the iso file.

Linux

mkisofs -o Autounattend-win10.iso -joliet-long folder_name

Make sure that mkisofs is installed first. Without the -joliet-long flag, this will shorten your file names when the folder_name is converted to an iso file. Without this flag, it can prove problematic when attempting to create Windows VMs on Proxmox and it shortens the autoattented.xml name. This prevents Windows from seeing the file and won’t read it.

This post is licensed under CC BY 4.0 by the author.

© . Some rights reserved.

Using the Chirpy theme for Jekyll