[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Console on serial line



[Please reply to list!]

Provided the bug I told you about is fixed try booting with:
boot: live live-getty console=ttyS0,38400n8

If that works and you want to dispense with the live-getty you need to
hack the code in the initramfs. This can be done in the live-helper
chroot and the initramfs then regenerated. look in the chroot under
/usr/share/live-initramfs (or simmilar) and grep for live-getty... You
need to find where the kernel command line is parsed and make sure
that the action taken for live-getty being on the command line is
taken irrespetive of the commandline state...

I personally don't know why live-getty has not become the default auto
login method... but then I'm biased as I wrote it!

Seriously though it does the same job as the current default but also
has additional benefits.

Anyway... if you look at the live-helper code and the live-initramfs
code you will find it very powerfull!

Goodluck

PS: I thing the bug fix I refered you to earlier is going in
"upstream" so probably will be in the next release of live-initramfs.

Regards
Alex



On 29/10/2007, Andrei Emeltchenko <andrei.emeltchenko.news at gmail.com> wrote:
> Hi,
> thanks!
>
> I boot with:
>
> boot: live console=ttyS0,38400n8
>
> it enables serial console. BTW: How can I ask getty to run on serial
> line by default without giving boot parameters?
>
> Regards,
> Andrei
>
> On 10/26/07, Alex Owen <r.alex.owen at gmail.com> wrote:
> > Oh when that is fixed boot with the kernel argument "live-getty" and
> > with your normal serial console kernel argument. The code in
> > live-initramfs:25_configure-init will then add the appropriate getty
> > line.
> >
> > NB this will not work with a "USB serial console" as
> > live-initramfs:25_configure-init does not test  for that (thought a
> > one line patch should fix it).
> >
> > On 26/10/2007, Alex Owen <r.alex.owen at gmail.com> wrote:
> > > Unfortunatly the existing serial support is broken because of a 1
> > > characheter typo that I reported  to the mailing list a week ago:
> > >   http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-October/002488.html
> > >
> >
> > _______________________________________________
> > debian-live-devel mailing list
> > debian-live-devel at lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
> >
>



Reply to: