How to edit squashfs image of a Live CD for remastering
unsquashfs works and extracting to squashfs-root/ an place on disk
mksquashfs on the 'squsahfs-root' works but after mkisofs first stage of boot goes fine then 'name'.img fails to make second stage of boot using
APPEND ramdisk_size=17232 ro initrd=name.img root=/dev/ram console=null
Where am I wrong unpacking to a normal partition, improperly editing, why is the link from first to second stage of boot broken?
I even tried using -2.0 to make version 2 squashfs but 3.1 does not have this option anymore.
[root@sysname isolinux]# unsquashfs -s name.img
Found a valid little endian SQUASHFS 2:1 superblock on name.img.
Creation or last append time Mon Sep 19 05:07:45 2005
Filesystem is not exportable via NFS
Inodes are compressed
Data is compressed
Fragments are compressed
Check data is not present in the filesystem
Fragments are present in the filesystem
Always_use_fragments option is not specified
Duplicates are removed
Filesystem size 17229.93 Kbytes (16.83 Mbytes)
Block size 65536
Number of fragments 136
Number of inodes 1299
Number of uids 2
Number of gids 2
Thanks in adv.
Last edited by cyber_apostle; 11-10-2009 at 03:29 AM.