I have to insert the
Autounattend.xml file into a Windows 8 iso image to make the iso install automatically. My system need to run on Linux and only could use Linux shell command, so ISO tools on Winodws such as UltraISO can not be used.
I have tried several methods, but all the created iso could not be booted, just printed
CDBOOT: Cannot boot from CD - Code: 5
A. The first method I tried is: tuto
- Mount iso to a folder
- Copy the mounted iso content into a new folder
- Add my files into the new folder
mkisofscommand to create a new iso image
mkisofs -o windows2008_new.iso -b boot/etfsboot.com -no-emul-boot -boot-load-size 8 -boot-info-table -V -J -l -D -N -UDF -relaxed-filenames -V "WINSP"
B. The second method I tried:
MS cmd tool named "oscdimg" on Windows to create new Windows iso, it works. So I copy the oscdimg into Linux and use Wine to run it, it can not be run normally.
Does any one know how to make bootable Windows iso image in Linux using pure shell command?