Gentoo Archives: gentoo-catalyst

From: Chris Gianelloni <wolf31o2@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] changing inittab
Date: Wed, 01 Aug 2007 17:00:45
Message-Id: 1185987516.8497.7.camel@inertia.twi-31o2.org
In Reply to: Re: [gentoo-catalyst] changing inittab by Scott Biddlestone
1 On Wed, 2007-08-01 at 10:00 -0400, Scott Biddlestone wrote:
2 > If you installed livecd-tools, the inittab is overwritten by
3 > /sbin/livecd-functions.sh when the cd boots ( it is backed up to
4 > inittab.old ). One way to fix it is to modify the script by creating
5 > a new livecd-tools ebuild in your portage overlay - copy the current
6 > ebuild and just add the patch to it.
7
8 Please don't touch livecd-tools. Don't touch sysvinit. Instead, do
9 the following in your livecd-stage2.spec file...
10
11 livecd/bootargs: console=ttyS0,115200
12
13 That's it. When the CD is built, it'll have the console appended to
14 both the "normal" and "nofb" kernels. Either kernel will work perfectly
15 fine for serial console, so you're done.
16
17 >
18 > -Scott
19 >
20 > Nelson Batalha wrote:
21 > > I believe you can overwrite it in the overlay or you can do "equery
22 > > belongs /etc/inittab" in your own system to discover it belongs to
23 > > sys-apps/sysvinit, so you can change that too.
24 > >
25 > > Joshua Hoblitt escreveu:
26 > >
27 > >> Hi Folks,
28 > >>
29 > >> I'm attempting to generate an amd64 livecd that starts up a tty on a
30 > >> serial port. So I want to do is add the line
31 > >> "s0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100" to the /etc/inittab.
32 > >> The trouble is, I can't figure out exactly where iniitab is coming from.
33 > >> Where does catalyst get /etc/inittab from? Is it direct from the stage1
34 > >> seed? How should I go about modifying it?
35 > >>
36 > >> Thanks,
37 > >>
38 > >>
39 > >> -J
40 > >>
41 > >> --
42 > >>
43 > >
44 > >
45 >
46 --
47 Chris Gianelloni
48 Release Engineering Strategic Lead
49 Alpha/AMD64/x86 Architecture Teams
50 Games Developer/Council Member/Foundation Trustee
51 Gentoo Foundation

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-catalyst] changing inittab Joshua Hoblitt <jhoblitt@××××××××××.edu>