On Tue, 2006-03-14 at 02:35 +0100, Matthias Langer wrote:
> On Mon, 2006-03-13 at 19:19 -0600, Andrew Gaffney wrote:
> > 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.
> 
> Well, unfortunatly the machines aren't on the same network, but
> hopefully it will work with 'docache' ...

As my 'stage4' is now more or less complete, i looked a bit after the
'docache' option. For docache to work one needs at least twice as much
ram than data is stored on the live-cd. With 64MB there is no chance to
do this ... 

So i have two choices:
1.) Do a minimalistic installation from a stage-3 tarball, boot into the
new system, insert the cd with the stage-4 tarball, copy it to the
harddisk - reboot with the live cd - clean up and extract ...

2.) Pack my 'stage4' (which is about 300MB) image on the live-cd itself.
I guess this should be possible with catalyst ...

Personally i would strongly prefer method 2.) as it seems less error
prone and should be much faster; Last but not least i've done most of
the necessairy configuration work allready inside my 'stage4'. 

Thanks,
Matthias


-- 
[EMAIL PROTECTED] mailing list

Reply via email to