I'm creating a custom ISO based on the official Ubuntu 16.04.
What I'm doing is simple:
1) mount the official Ubuntu iso to
cp /mnt/install/filesystem.squashfs /home;
cd /home && unsquashfs filesystem.squashfs;
4) put my own files into
squashfs-root and execute
mksquashfs squashfs-root filesystem.squashfs;
mkdir iso && cp -r /mnt/* iso/ && cp /home/filesystem.squashfs iso/install/.
In a word, I put my things into
filesystem.squashfs and rebuild an ISO file.
To build the ISO file, I execute
mkisofs -RJ -joliet-long -iso-level=4 -o test.iso iso/.
At last, I get my ISO named
However, this iso is not bootable because I put lots of files into it (the new
filesystem.squashfs is 5.3G).
Google told me that it couldn't bigger than 4G.
So, is there a way to make a bootable ISO whose
filesystem.squashfs is bigger than 4G?