Live CD not proceeding to second stage of boot after squashfs image editing
How to edit squashfs image of a Live CD for remastering
unsquashfs works and extracting to squashfs-root/ a 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
KERNEL vmlinuz
APPEND ramdisk_size=17232 ro initrd=name.img root=/dev/ram console=null
in
isolinux.cfg
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.
If I use original image with edited items, as splash screen etc, image boots, so edits in first boot stage are OK. I changed ramdisk_size to new after edit.
[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
I have squashfs, unionfs and its tools installed, 'lsmod' lists them.
This is a micro distribution that need changes and installation to HD scripts added.
Thanks in adv. ?!?
|