Thanks!
EDIT: Okay, I found the first part. Once I get that sorted out, I'll try to figure out the squash stuff. Then I'll turn this into a howto.
EDIT 2: Did it, done it, done!
To make an ext2 filesystem (like image or pup001) of <X> kilobytes
Code: Select all
dd if=/dev/zero of=/tmp/hdimage bs=1k count=<X>
mke2fs -m 0 -b 1024 /tmp/hdimage
Code: Select all
mksquashfs /tmp/usr /tmp/usr_cram.fs