public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: Chris Gianelloni <wolf31o2@gentoo.org>
To: gentoo-catalyst@lists.gentoo.org
Subject: Re: [gentoo-catalyst] changing inittab
Date: Wed, 01 Aug 2007 17:26:03 -0700	[thread overview]
Message-ID: <1186014363.8497.14.camel@inertia.twi-31o2.org> (raw)
In-Reply-To: <20070801215524.GF18333@ifa.hawaii.edu>

[-- Attachment #1: Type: text/plain, Size: 1840 bytes --]

On Wed, 2007-08-01 at 11:55 -1000, Joshua Hoblitt wrote:
> On Wed, Aug 01, 2007 at 09:58:36AM -0700, Chris Gianelloni wrote:
> > On Wed, 2007-08-01 at 10:00 -0400, Scott Biddlestone wrote:
> > > If you installed livecd-tools, the inittab is overwritten by 
> > > /sbin/livecd-functions.sh when the cd boots ( it is backed up to 
> > > inittab.old ).  One way to fix it is to  modify the script by creating 
> > > a  new livecd-tools ebuild in your portage overlay - copy the current 
> > > ebuild and just add the patch to it. 
> > 
> > Please don't touch livecd-tools.  Don't touch sysvinit.   Instead, do
> > the following in your livecd-stage2.spec file...
> > 
> > livecd/bootargs: console=ttyS0,115200
> > 
> > That's it.  When the CD is built, it'll have the console appended to
> > both the "normal" and "nofb" kernels.  Either kernel will work perfectly
> > fine for serial console, so you're done.
> 
> Eh, isn't that only good for kernel output?  I'd like to actually be
> able to get a shell on the serial line...

<rhetorical>
Why don't people trust that the guy who writes all this crap knows what
he's talking about?
</rhetorical>

:P

Normally, yes, it would only be good for kernel output, but as someone
else mentioned, you have livecd-functions.sh that re-writes the inittab.
Well, guess what triggers it?  That's right, a "console=" option on the
command line.  If you type (or via catalyst, add) console=something,
livecd-functions.sh (via functions.sh in baselayout) will interpret it
and modify inittab accordingly before we ever even hit runlevel 3, so it
starts a console on that serial line for login.

Try it.

-- 
Chris Gianelloni
Release Engineering Strategic Lead
Alpha/AMD64/x86 Architecture Teams
Games Developer/Council Member/Foundation Trustee
Gentoo Foundation

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-08-02  0:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-31 21:13 [gentoo-catalyst] changing inittab Joshua Hoblitt
2007-08-01 10:26 ` Nelson Batalha
2007-08-01 14:00   ` Scott Biddlestone
2007-08-01 16:58     ` Chris Gianelloni
2007-08-01 21:55       ` Joshua Hoblitt
2007-08-02  0:26         ` Chris Gianelloni [this message]
2007-08-02 20:28           ` Joshua Hoblitt
2007-08-03 18:56             ` Chris Gianelloni
2007-08-02 23:05           ` Joshua Hoblitt
2007-08-03  0:01             ` Andrew Gaffney
2007-08-03 19:01               ` Chris Gianelloni
2007-08-04  8:55                 ` Joshua Hoblitt
2007-08-04 21:11                   ` Andrew Gaffney
2007-08-03 19:00             ` Chris Gianelloni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1186014363.8497.14.camel@inertia.twi-31o2.org \
    --to=wolf31o2@gentoo.org \
    --cc=gentoo-catalyst@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox