[syslinux] installing syslinux on a fresh system (SATA)

Mau Z zmau1962 at gmail.com
Thu Jan 16 00:33:23 PST 2014


Hello

Thanks and sorry for the mistake.

The situation is a little better (Thanks to Ady).
Here is my extlinux.conf :

prompt 1
DEFAULT lnx
LABEL lnx
SAY Now booting my first extlinux
LINUX /bzImage
APPEND ro root=/dev/sda1

Linux still does not run, I still get the prompt.

The good news is that if I type the name of the label ("lnx"), the kernel
DOES load (and does not crash any more).
The bad news are :
1) Ultimately the system needs to start by itself (without user typing in
the Syslinux boot prompt).
2) The kernel does not give me it's promt, it looks like it's finished it's
job, but I can do nothing with it. I see no error message.

What is wrong with my extlinux.conf ?

About the rootfs.tar question : it is untared  (with "tar xvf rootfs.tar").


Thank
Mau




On Wed, Jan 15, 2014 at 7:52 PM, Ady <ady-sf at hotmail.com> wrote:

> > On Wed, Jan 15, 2014 at 1:54 AM, H. Peter Anvin <hpa at zytor.com> wrote:
> >
> > > On 01/14/2014 10:34 AM, Mattias Schlenker wrote:
> > > > Am 14.01.2014 17:48, schrieb Mau Z:
> > > >>
> > > >> prompt 1
> > > >> DEFAULT linux
> > > >> LABEL linux
> > > >> SAY Now booting my first extlinux
> > > >> KERNEL /bzImage
> > > >> APPEND ro root=/dev/sda1
> > > >>
> > > >> but I got the same results........
> > > >>
> > > >
> > > > 1. Use "LINUX" instead of "KERNEL" to specify that a linux kernel
> > > >    should be booted
> > > > 2. "LINUX" or "linux" now should be treated as a reserved word
> (because
> > > >    of 1.)
> > > >
> > > >
> > > > So, this might work better:
> > > >
> > > > prompt 1
> > > > DEFAULT lnx
> > > > LABEL lnx
> > > > SAY Now booting my first extlinux
> > > > LINUX /bzImage
> > > > APPEND ro root=/dev/sda1
> > > >
> > >
> > > Syslinux doesn't have "reserved words" in quite that way.  Using
> "linux"
> > > as a label name is perfectly fine.
> > >
> > >         -hpa
> > >
> > >
> > Thanks
> > It did not work.
> > I had also changed the label (just to be on the safe side).
> >
> > Any advice?
> > Mau
>
> I took the liberty of moving your last reply to the end of the email.
> Maintaining top-to-bottom order helps understand the conversation.
> Please try to maintain the order.
>
> With regards to some advice, how exactly are you launching your
> kernel?
>
> In the Syslinux boot prompt, you should be typing:
> lnx
>
> according to the last suggestion. In other words, in your case you
> need to type in the name of the label, not the name of the kernel.
>
> BTW, you mentioned some "rootfs.tar". Don't you need it in the
> 'append' line too? Perhaps with the 'initrd=' parameter?
>
> Regards,
> Ady.
> _______________________________________________
> Syslinux mailing list
> Submissions to Syslinux at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
>
>


More information about the Syslinux mailing list