[Voyage-linux] Boot VL with extlinux or lilo on Soekris 5501

Arun Khan (spam-protected)
Sat Oct 6 22:01:35 HKT 2012


__SOLVED__

On Sat, Oct 6, 2012 at 11:05 AM, Meftah Tayeb <tayeb.dotnet at gmail.com> wrote:
> i think lilo is enough
> thank you

Yeah lilo is enough but any changes in lilo.conf and you got to go
through lilo to update.

Looking @ extlinux, it has provides flexibility in that any changes in
extlinux.conf are automatically picked up.

Anyway, I experimented a bit with a Debian Squeeze base install (the
method should be applicable to Voyage Linux)

1. apt-get install extlinux syslinux
2. extlinux-install /dev/sda  (this installs the mbr.bin to /dev/sda
MBR, creates /boot/extlinux and copies ldlinux.sys)
3. cp  menu.c32 to /boot/extlinux/  (optional if you want to a text
based menu of the entries)
4. Create a sample extlinux.conf file (refer to the grub.cfg for
kernel and initrd options)
    See below for my extlinux.conf file.  Make sure that KERNEL,
APPEND, INITRD entries match your system.
5. apt-get purge grub-pc  (do this only after you are satisfied that
system is booting fine with extlinux)

I will try out this method on the images on my CF cards going into the
embedded devices.

<sample extlinux.conf>

UI menu.c32
TIMEOUT 30
PROMPT 1

DEFAULT Debian

MENU TITLE Debian Options

LABEL Debian
    MENU LABEL 'Debian GNU/Linux, with Linux 2.6.32-5-amd64'
	KERNEL /boot/vmlinuz-2.6.32-5-amd64
	APPEND root=UUID=9adeb8bf-d0ac-4f5e-b5b1-d7e71ee4a58e ro quiet
	INITRD	/boot/initrd.img-2.6.32-5-amd64

LABEL Debian_Fail_Safe
    MENU LABEL 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)'
	KERNEL /boot/vmlinuz-2.6.32-5-amd64
        APPEND root=UUID=9adeb8bf-d0ac-4f5e-b5b1-d7e71ee4a58e ro single
	INITRD	/boot/initrd.img-2.6.32-5-amd64

</sample extlinux.conf>

-- Arun Khan




More information about the Voyage-linux mailing list