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

Console on serial line



Hi Alex,

thanks for help

I have made live USB and I boot with
"live live-getty console=ttyS0,38400n8" but still getty is not running
on serial line! Do you know how can I change inittab from squashfs?

PS: I use latest live-helper from unstable
$ LANG=C apt-cache policy live-helper
live-helper:
  Installed: 1.0~a33-1
  Candidate: 1.0~a33-1
  Version table:
 *** 1.0~a33-1 0
        500 http://ftp.fi.debian.org unstable/main Packages
        100 /var/lib/dpkg/status
     1.0~a32-1 0
        990 http://ftp.fi.debian.org testing/main Packages

Regards,
Andrei

On 10/29/07, Alex Owen <r.alex.owen at gmail.com> wrote:
> [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
> > >
> >
>
> _______________________________________________
> 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: