I would like to create a custom debian stretch (9) installation image by adding a few non-free firmware files to the netinst.iso . If possible I would like the custom image to be useful on both uefi and bios systems, just like the current netinst.iso is.
I can easily copy the contents of the iso to some directory on my harddisk and then add the firmware files to hopefully the correct directory:
Code: Select all
sudo mount -o loop <path_where_I_put_iso_file/>debian-9.6.0-amd64-netinst.iso <some_directory_to_access_iso_contents/> # read only
cp -ar <some_directory_to_access_iso_contents/> <directory_for_modified_iso_contents/>
mkdir <directory_for_modified_iso_contents/>firmware/ # shouldn't hurt if it already exists
cp <path_where_I_put_firmware/>firmware_files <directory_for_modified_iso_contents/>firmware/
If anyone could tell me how to create this type of an image file or could point me to some sources of information on the subject, I would be most appreciative.