You are not logged in.

#1 2015-01-08 12:05:05

mpir
Member
Registered: 2013-09-20
Posts: 15

[Solved]Syslinux | Cannot configure to auto boot

Hello there,

I am trying to configure Syslinux to auto boot. According to the wiki setting:

PROMPT 0
DEFAULT default_boot

should make it work. For me it does not seem to work.


my syslinux.cfg:

DEFAULT arch
PROMPT 0        # Set to 1 if you always want to display the boot prompt
TIMEOUT 10

UI menu.c32


MENU TITLE Arch Linux
MENU COLOR border       30;44   #40ffffff #a0000000 std
MENU COLOR title        1;36;44 #9033ccff #a0000000 std
MENU COLOR sel          7;37;40 #e0ffffff #20ffffff all
MENU COLOR unsel        37;44   #50ffffff #a0000000 std
MENU COLOR help         37;40   #c0ffffff #a0000000 std
MENU COLOR timeout_msg  37;40   #80ffffff #00000000 std
MENU COLOR timeout      1;37;40 #c0ffffff #00000000 std
MENU COLOR msg07        37;40   #90ffffff #a0000000 std
MENU COLOR tabmsg       31;40   #30ffffff #00000000 std



LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/mapper/vg0-lvroot rw quiet resume=/dev/sda3
    INITRD ../initramfs-linux.img

LABEL archfallback
    MENU LABEL Arch Linux Fallback
    LINUX ../vmlinuz-linux
    APPEND root=/dev/mapper/vg0-lvroot rw
    INITRD ../initramfs-linux-fallback.img

LABEL hdt
        MENU LABEL HDT (Hardware Detection Tool)
        COM32 hdt.c32

LABEL reboot
        MENU LABEL Reboot
        COM32 reboot.c32

LABEL poweroff
        MENU LABEL Poweroff
        COM32 poweroff.c32

Thanks in advance!

Last edited by mpir (2015-01-08 13:58:48)

Offline

#2 2015-01-08 13:09:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,535
Website

Re: [Solved]Syslinux | Cannot configure to auto boot

-TIMEOUT 10
+TIMEOUT 0

You may also want the following just in case

MENU SHIFTKEY

EDIT: oops - I was comparing to my syslinux.cfg for differences, but I may have given the wrong difference as I've temporarily disabled this as I troubleshoot some kernel issues.  I think you need to comment out the UI line.

Last edited by Trilby (2015-01-08 13:12:59)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2015-01-08 13:59:48

mpir
Member
Registered: 2013-09-20
Posts: 15

Re: [Solved]Syslinux | Cannot configure to auto boot

True!
Comment out the UI line, be sure to have a default entry to boot.

Offline

Board footer

Powered by FluxBB