From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4805 invoked by uid 1002); 2 Dec 2002 09:31:48 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 4740 invoked from network); 2 Dec 2002 09:31:48 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Toby Dickenson Reply-To: tdickenson@geminidataloggers.com To: daveman@bellatlantic.net, Jeff Jeter Date: Mon, 2 Dec 2002 09:30:58 +0000 User-Agent: KMail/1.4.3 Cc: gentoo-dev@gentoo.org References: <20021201174741.4a663a15.gsfgf@softhome.net> <20021202023016.GA19745@bellatlantic.net> In-Reply-To: <20021202023016.GA19745@bellatlantic.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200212020930.58403.tdickenson@devmail.geminidataloggers.co.uk> Subject: Re: [gentoo-dev] Livecds X-Archives-Salt: 148fa390-8af6-4f2c-a0cc-c0458f105bf9 X-Archives-Hash: ab364271ba2756987a9d7d1c5aebe22f On Monday 02 December 2002 2:30 am, daveman@bellatlantic.net wrote: > This sounds interesting, I figure I'll give a stab at how I might begin= to > approach such a thing ;-) > > * Make yourself a loopback filesystem of about 640MB in size and mount= =2E No need for a loopback filesystem. Just chroot into an ordinary directory= =2E > * Mount /var and /tmp and /proc from regular filesystem into your new > filesystem and chroot. > > * Do your regular gentoo install. When your done, perhaps clean out th= e > /usr/portage area? Unmount. Or mount your /usr/portage from the outer filesystem like you describe ab= ove=20 for /proc. I do the same for /usr/src too, since I dont want kernel sourc= es=20 on my livecd * build isolinux. The origin site has a later version than in portage * copy the initrd image from the original livecd. (no need to modify it) * look at the isolinux config file from the original livecd. you might wa= nt to=20 tweak it * grep for CDBOOT in the original livecd /etc directory. There are a few=20 baselayout files that have been tweaked from the original portage version= s.=20 In this bugzilla entry I suggested it would be nice to standardise this: http://bugs.gentoo.org/show_bug.cgi?id=3D11330 > * Make an el torito CD.(not entirely sure how to do this part) My build script uses the command: mkisofs -x "/rescuedisk/image/usr/share/doc" -x=20 "/rescuedisk/image/usr/share/man" -o disk.iso -J -r -nobak -b=20 isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size = 4=20 -boot-info-table /rescuedisk/image > * Copy over filesystem image to the CD. > > * I'm thinking you'll probably need a RAMDISK for temporary file stora= ge > and whatnot. The original livecd initrd takes care of all that nicely. > Sounds like it would be a fun project. If someone has already done such= a > document it would be very interesting to see. If not, it might be fun t= o > write. ;-) its on my todo list -- gentoo-dev@gentoo.org mailing list