Hi ALL,
I need to add a script and a 121M binary file into the latest Core-current.iso.
If I only add a script into Core-current.iso, the new iso works well.
But if I add 121M binary file into Core-current.iso, I got following error:
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
My remaster script is below:
#!/bin/sh
umount tinymount
rm -rf tinymount tinylocal tinycde
mkdir -pv tinymount tinylocal tinycde
mount -o loop Core-current.iso tinymount
cp tinymount/boot/core.gz tinylocal/
cd tinylocal
gunzip core.gz
cpio -i < core
rm core
cp ../ac-install sbin/
cp ../ac/all.bin etc/
find | cpio -o -H newc > ../core
cd ..
gzip core
advdef -z4 core.gz
mkdir -pv tinyiso
cd tinyiso
cp -rav ../tinymount/boot .
mkdir -pv boot/tce/optional
mv ../core.gz boot/core.gz
cd ..
mkisofs -l -J -R -V TC-custom -no-emul-boot -boot-load-size 4 \
-boot-info-table -b boot/isolinux/isolinux.bin \
-c boot/isolinux/boot.cat -o my.iso tinyiso
Could you kindly help on it?
Thanks.
Jerry