From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1EkXiM-0007N6-So for garchives@archives.gentoo.org; Fri, 09 Dec 2005 02:10:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jB928oC5023189; Fri, 9 Dec 2005 02:08:50 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jB924gEs018689 for ; Fri, 9 Dec 2005 02:04:42 GMT Received: by zproxy.gmail.com with SMTP id 34so779746nzf for ; Thu, 08 Dec 2005 18:04:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=iDQW+B3OcuEMaxps+1IGPC5TVJvQpw5/vI6UMETVB7MpynxZG19bVZFIwpfU1OosVlM7tbwsJkw17dmpP9Z+E9jY9OWxRpERVAyBsph1gcBtkHrOyoWVU3b2vc9c8vLFIBGW2LmrblSW71bvaJTouk+TFKx/73Sd1cht9BHpRXI= Received: by 10.64.253.8 with SMTP id a8mr3416821qbi; Thu, 08 Dec 2005 18:04:41 -0800 (PST) Received: from ?192.168.22.6? ( [66.27.157.183]) by mx.gmail.com with ESMTP id o32sm763479qbe.2005.12.08.18.04.40; Thu, 08 Dec 2005 18:04:41 -0800 (PST) Message-ID: <4398E64B.4040604@gmail.com> Date: Thu, 08 Dec 2005 18:04:59 -0800 From: Zac Medico User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051204) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] LiveCD customizations References: <20051208235253.85768.qmail@web54609.mail.yahoo.com> In-Reply-To: <20051208235253.85768.qmail@web54609.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: ef602a99-e06e-415b-a1f3-bb25e793ee93 X-Archives-Hash: e49e779a1f5943d7a83c2596db60b28e 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-user&m=113397973626705&w=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