Using Squashfs on a bootable cd to compress /usr
anniesk at coventry.ac.uk
Sat Feb 3 14:14:02 PST 2007
Any help is appreciated,
I guess intramfs is the way forward.........
ps. I was not aware of the live cd mailing list so will forward all query's there from now.
From: blfs-support-bounces at linuxfromscratch.org on behalf of Dan Nicholson
Sent: Sat 03/02/2007 18:23
To: BLFS Support List
Subject: Re: Using Squashfs on a bootable cd to compress /usr
On 2/3/07, Kevin Annies <anniesk at coventry.ac.uk> wrote:
> I have inserted the mount usr.sqsh command at this point because the following chroot command is executed from the just newly mounted / system. The pain is the chroot binary happens to be in /usr/bin which at this time is compressed. However, the archive does not uncompress at this time becuase the loop device does not exist on the initrd. I could try adding it but then woulit not become invalid as soon as I chroot? SO should I put the mount command in twice as a result or perhaps use a mount bind type of command? In addition could I add a second mount into one of the rc.d scripts?
Sorry, this is not my area of expertise. You might get better support
on the live-cd mailing list since they do this (I think). You could
try to copy the LiveCD initramfs creation:
However, one other thing you can do is check out David Zeuthen's livecd-tools.
He works for RedHat, and the tools are used to generate Fedora live
CDs. You probably can't use them directly because they have some
Fedoraisms, but I would look at his mkinitrd replacement, mayflower.
It has support for booting squashfs from the initramfs.
Maybe that can give you some extra ideas.
Unsubscribe: See the above information page
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the blfs-support