Gentoo Archives: gentoo-catalyst

From: Matthias Langer <mlangc@×××.at>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] 'stage4 tarball'
Date: Tue, 14 Mar 2006 01:36:09
Message-Id: 1142300144.10692.44.camel@sputnik886.ruz-net
In Reply to: Re: [gentoo-catalyst] 'stage4 tarball' by Andrew Gaffney
1 On Mon, 2006-03-13 at 19:19 -0600, Andrew Gaffney wrote:
2 > Matthias Langer wrote:
3 > > On Mon, 2006-03-13 at 15:50 -0600, Andrew Gaffney wrote:
4 > >> Matthias Langer wrote:
5 > >>> Is it possible to somehow build the complete p3 system with custom use
6 > >>> and cflags with my athlon-xp at home to get some kind of
7 > >>> 'stage4-tarball' that i just have to unpack to the hardisk of the
8 > >>> p3-system (instead of the stage3 tarball) ?
9 > >> Yes, but you don't need catalyst to do it. You can easily extract a stage3
10 > >> tarball into a directory, chroot into it, do whatever you want, exit the chroot,
11 > >> and then tar up the directory. The result is essentially a "stage4".
12 > >>
13 > > Thanks for your tip; However, two small questions remain:
14 > > 1.) What options should i pass to tar when packing the chrooted
15 > > environment ?
16 >
17 > tar -C /path/to/chroot/dir -cjpf /path/to/stage4.tar.bz2 .
18 >
19 > > 2.) Is there a way to eject the live-cd after booting, so that i can
20 > > insert a cd with my custom "stage 4" ?
21 >
22 > Add 'docache' (or something like that) to the kernel command line. It's
23 > documented somewhere :) Although, if both machines are on the same network, it'd
24 > probably be easier to just transfer the tarball via NFS, scp, http, etc. once
25 > the CD is booted.
26
27 Well, unfortunatly the machines aren't on the same network, but
28 hopefully it will work with 'docache' ...
29
30 Thanks for your tipps, and sorry for posting a bit off topic.
31 Matthias
32
33
34
35 --
36 gentoo-catalyst@g.o mailing list

Replies

Subject Author
Re: [gentoo-catalyst] 'stage4 tarball' Matthias Langer <mlangc@×××.at>