Matthias Langer wrote:
On Mon, 2006-03-13 at 15:50 -0600, Andrew Gaffney wrote:
Matthias Langer wrote:
Is it possible to somehow build the complete p3 system with custom use
and cflags with my athlon-xp at home to get some kind of
'stage4-tarball' that i just have to unpack to the hardisk of the
p3-system (instead of the stage3 tarball) ?
Yes, but you don't need catalyst to do it. You can easily extract a stage3 tarball into a directory, chroot into it, do whatever you want, exit the chroot, and then tar up the directory. The result is essentially a "stage4".

Thanks for your tip; However, two small questions remain:
1.) What options should i pass to tar when packing the chrooted
environment ?

tar -C /path/to/chroot/dir -cjpf /path/to/stage4.tar.bz2 .

2.) Is there a way to eject the live-cd after booting, so that i can
insert a cd with my custom "stage 4" ?

Add 'docache' (or something like that) to the kernel command line. It's documented somewhere :) Although, if both machines are on the same network, it'd probably be easier to just transfer the tarball via NFS, scp, http, etc. once the CD is booted.

--
Andrew Gaffney                            http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer                                   Installer Project
--
[EMAIL PROTECTED] mailing list

Reply via email to