1 |
On Wed, Aug 01, 2007 at 05:26:03PM -0700, Chris Gianelloni wrote: |
2 |
> On Wed, 2007-08-01 at 11:55 -1000, Joshua Hoblitt wrote: |
3 |
> > On Wed, Aug 01, 2007 at 09:58:36AM -0700, Chris Gianelloni wrote: |
4 |
> > > On Wed, 2007-08-01 at 10:00 -0400, Scott Biddlestone wrote: |
5 |
> > > > If you installed livecd-tools, the inittab is overwritten by |
6 |
> > > > /sbin/livecd-functions.sh when the cd boots ( it is backed up to |
7 |
> > > > inittab.old ). One way to fix it is to modify the script by creating |
8 |
> > > > a new livecd-tools ebuild in your portage overlay - copy the current |
9 |
> > > > ebuild and just add the patch to it. |
10 |
> > > |
11 |
> > > Please don't touch livecd-tools. Don't touch sysvinit. Instead, do |
12 |
> > > the following in your livecd-stage2.spec file... |
13 |
> > > |
14 |
> > > livecd/bootargs: console=ttyS0,115200 |
15 |
> > > |
16 |
> > > That's it. When the CD is built, it'll have the console appended to |
17 |
> > > both the "normal" and "nofb" kernels. Either kernel will work perfectly |
18 |
> > > fine for serial console, so you're done. |
19 |
> > |
20 |
> > Eh, isn't that only good for kernel output? I'd like to actually be |
21 |
> > able to get a shell on the serial line... |
22 |
> |
23 |
> <rhetorical> |
24 |
> Why don't people trust that the guy who writes all this crap knows what |
25 |
> he's talking about? |
26 |
> </rhetorical> |
27 |
> |
28 |
> :P |
29 |
|
30 |
Your assertion is that it's completely obvous that a variable named |
31 |
"bootargs", that passes options to the kernel, would have other magical |
32 |
side effects? |
33 |
|
34 |
> Normally, yes, it would only be good for kernel output, but as someone |
35 |
> else mentioned, you have livecd-functions.sh that re-writes the inittab. |
36 |
> Well, guess what triggers it? That's right, a "console=" option on the |
37 |
> command line. If you type (or via catalyst, add) console=something, |
38 |
> livecd-functions.sh (via functions.sh in baselayout) will interpret it |
39 |
> and modify inittab accordingly before we ever even hit runlevel 3, so it |
40 |
> starts a console on that serial line for login. |
41 |
|
42 |
Seriously, can you cut and paste that paragraph into the manual? |
43 |
|
44 |
Thanks for your help. |
45 |
|
46 |
-J |
47 |
|
48 |
-- |