You are not logged in.

#1 2013-06-16 18:22:18

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

[SOLVED]SYSLINUX - dual bot arch and gento - fail

Hi

I am experimenting with gentoo (well not just yet smile and i can not boot the gentoo kernel. Gentoo is on partition /dev/sda6 and doesn't have a boot flag. Partitinon /dev/sda1 has a boot flag. I don't have a separate boot partition. Gentoo kernel was compiled with genkernel. When i choose gentoo from syslinux menu nothing happens. Menu just refreshes. If i press ESC and write down gentoo then it complains about not finding image ...
I didn't install syslinux on gentoo.

Here is my syslinux.cfg:

LABEL arch
        MENU LABEL Arch Linux
        LINUX ../vmlinuz-linux
        APPEND root=UUID=9f8eadcf-69e5-4786-869c-94cafcfff567 ro
        INITRD ../initramfs-linux.img

LABEL gentoo
        MENU LABEL gentoo
        LINUX /boot/kernel-genkernel-x86-3.8.13-gentoo
        APPEND root=UUID=9ea3ac89-3b72-458a-95fc-61095ea52cc4 ro
        INITRD /boot/initramfs-genkernel-x86-3.8.13-gentoo

I have also followed arch wiki about chainloading and this is my syslinux.cfg from gentoo partition:

timeout 10

ui menu.c32


label gentoo
    linux /boot/kernel-genkernel-x86-3.8.13-gentoo
    initrd /boot/initramfs-genkernel-x86-3.8.13-gentoo
    append root=UUID=9ea3ac89-3b72-458a-95fc-61095ea52cc4 ro quiet


label MAIN
    com32 chain.c32
    append hd0 0

EDIT:
SOLVED by this config changes:


syslinux.cfg on /dev/sda1 (arch)

LABEL gentoo
        MENU LABEL gentoo
        COM32 chain.c32
        APPEND hd0 6

syslinux.cfg on /dev/sda6 (gentoo):

TIMEOUT 10

UI menu.c32


LABEL gentoo
    MENU LABEL gentoo
    LINUX /boot/kernel-genkernel-x86-3.8.13-gentoo
    INITRD /boot/initramfs-genkernel-x86-3.8.13-gentoo
    APPEND root=UUID=9ea3ac89-3b72-458a-95fc-61095ea52cc4 ro quiet


LABEL MAIN
    COM32 chain.c32
    APPEND hd0 0

Any ideas?

Last edited by Shark (2013-06-16 19:37:45)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

Board footer

Powered by FluxBB