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.

> 
> -Scott
> 
> Nelson Batalha wrote:
> > I believe you can overwrite it in the overlay or you can do "equery
> > belongs /etc/inittab" in your own system to discover it belongs to
> > sys-apps/sysvinit, so you can change that too.
> >
> > Joshua Hoblitt escreveu:
> >   
> >> Hi Folks,
> >>
> >> I'm attempting to generate an amd64 livecd that starts up a tty on a
> >> serial port.  So I want to do is add the line
> >> "s0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100" to the /etc/inittab.
> >> The trouble is, I can't figure out exactly where iniitab is coming from.
> >> Where does catalyst get /etc/inittab from?  Is it direct from the stage1
> >> seed?  How should I go about modifying it?
> >>
> >> Thanks,
> >>
> >>
> >> -J
> >>
> >> --
> >>     
> >
> >   
> 
-- 
Chris Gianelloni
Release Engineering Strategic Lead
Alpha/AMD64/x86 Architecture Teams
Games Developer/Council Member/Foundation Trustee
Gentoo Foundation

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to