[gentoo-user] LiveCD customizations

2005-12-08 Thread Tom Smith
I need to make some slight customization to the Live CDs for installations at remote offices--things like configuring a root password, enabling SSH by default, and so on.I looked at the Gentoo docs at the web site but wasn't able to locate anything specific.Can anyone offer any pointers to docs describing how to do what I'm looking to?Thanks in advance for the help.~ Tom

Re: [gentoo-user] LiveCD customizations

2005-12-08 Thread Zac Medico

Tom Smith wrote:
I need to make some slight customization to the Live CDs for 
installations at remote offices--things like configuring a root 
password, enabling SSH by default, and so on.
 
I looked at the Gentoo docs at the web site but wasn't able to locate 
anything specific.
 
Can anyone offer any pointers to docs describing how to do what I'm 
looking to?
 


The easy way is to remaster an existing livecd like I described here:

http://marc.theaimsgroup.com/?l=gentoo-userm=113397973626705w=2

You will have to loop mount the iso image and then loop mount the 
livecd.squashfs file (gentoo-sources come with squashfs support, so you only 
have to enable it in your kernel config).

After the squashfs is mounted, you can use rsync to copy it's contents into a 
writable filesystem.  Finally, after you have customized the root filesytem, 
use mksquashfs (squashfs-tools) to compress it again.

You can use catalyst to build a livecd from scratch, but in many cases it's quicker and 
easier to use the remaster approach.

Zac
--
gentoo-user@gentoo.org mailing list