[arch-general] [solved] syslinux.cfg

Ralf Mardorf silver.bullet at zoho.com
Thu Feb 16 13:40:45 UTC 2017


On Wed, 15 Feb 2017 20:38:05 -0700, Leonid Isaev wrote:
>What I usually do, is mkdir /dev/sda1/{arch,foo} and rsync
>kernels/initrds from /dev/sda1 to arch/ and from /dev/sdb1 to foo/.

Hi,

I kept Arch's /boot and will move other Linux /boot to an Arch
directory named /.boot.

A test done with one Linux already works, just the issue with installing
and removing another Linux' kernels when maintaining it in a
systemd-nspawn container isn't solved.

Regards,
Ralf

[root at archlinux ~]# ls -d /boot/ /.boot/*/*/
/boot/  /.boot/ubuntu_moonstudio/boot/
[root at archlinux ~]# grep boot /mnt/moonstudio/etc/fstab
/mnt/archlinux/.boot/ubuntu_moonstudio/boot /boot          none   bind              0 0
[root at archlinux ~]# cat /boot/syslinux/syslinux.cfg 
# http://syslinux.zytor.com/wiki/index.php/Doc/menu

PROMPT 0
TIMEOUT 80
UI menu.c32
MENU HIDDEN
MENU CLEAR
MENU COLOR screen      0;30;40
MENU COLOR border      0;30;40
MENU COLOR title       1;37;44
MENU COLOR unsel       0;37;40
MENU COLOR hotkey      1;37;40
MENU COLOR hotsel      7;37;40
MENU COLOR sel         7;37;40
MENU COLOR disabled    1;37;40 
MENU COLOR scrollbar   0;30;40  
MENU COLOR tabmsg      0;30;40 
MENU COLOR cmdmark     0;31;40  
MENU COLOR cmdline     0;37;40            
MENU COLOR timeout_msg 0;37;40
MENU COLOR timeout     1;37;40

# Used hotkeys: ^A ^e ^g ^H ^L ^M ^O ^P ^Q ^R ^S ^t ^V
DEFAULT Threadirqs

MENU TITLE HAL 9000
LABEL Toolbox
    MENU LABEL Toolbox
    MENU DISABLE
MENU SEPARATOR


LABEL Hardware
    MENU LABEL ^Hardware Detection
    COM32 hdt.c32

LABEL Reset
    MENU LABEL R^eset
    COM32 reboot.c32

LABEL Off
    MENU LABEL Power ^Off
    COM32 poweroff.c32


MENU SEPARATOR
MENU SEPARATOR
LABEL Arch Menu
    MENU LABEL Arch Linux
    MENU DISABLE
MENU SEPARATOR


LABEL Threadirqs
    MENU LABEL Arch Linux ^threadirqs
    LINUX ../vmlinuz-linux
    APPEND root=LABEL=archlinux ro threadirqs
    INITRD ../initramfs-linux.img

LABEL Rosa
    MENU LABEL Arch Linux Rt ^Rosa Pluesch
    LINUX ../vmlinuz-linux-rt-rosaplüsch
    APPEND root=LABEL=archlinux ro
    INITRD ../initramfs-linux-rt-rosaplüsch.img

LABEL Presonus
    MENU LABEL Arch Linux Rt ^Presonus
    LINUX ../vmlinuz-linux-rt-presonus
    APPEND root=LABEL=archlinux ro
    INITRD ../initramfs-linux-rt-presonus.img

LABEL Arch
    MENU LABEL ^Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=LABEL=archlinux ro
    INITRD ../initramfs-linux.img

LABEL Rt
    MENU LABEL Arch ^Linux Rt
    LINUX ../vmlinuz-linux-rt
    APPEND root=LABEL=archlinux ro
    INITRD ../initramfs-linux-rt.img

LABEL Lts
    MENU LABEL Arch Linux Rt LT^S
    LINUX ../vmlinuz-linux-rt-lts
    APPEND root=LABEL=archlinux ro
    INITRD ../initramfs-linux-rt-lts.img


MENU SEPARATOR
MENU SEPARATOR
LABEL Other Menu
    MENU LABEL Other Linux
    MENU DISABLE
MENU SEPARATOR

LABEL Moonstudio
    MENU LABEL Ubuntu X ^Moonstudio  lowlatency
    LINUX /.boot/ubuntu_moonstudio/boot/vmlinuz-lowlatency
    APPEND root=LABEL=moonstudio ro vga=773
    INITRD /.boot/ubuntu_moonstudio/boot/initrd.img-lowlatency

LABEL Generic
    MENU LABEL Ubuntu X Moonstudio  ^generic
    LINUX /.boot/ubuntu_moonstudio/boot/vmlinuz-generic
    APPEND root=LABEL=moonstudio ro vga=773
    INITRD /.boot/ubuntu_moonstudio/boot/initrd.img-generic

#LABEL Light
#    MENU LABEL Ubuntu ^Q LightScribe Rt
#    LINUX /.boot/ubuntu_q/boot/vmlinuz-3.6.5-rt14
#    APPEND root=LABEL=q ro
#    INITRD /.boot/ubuntu_q/boot/initrd.img-3.6.5-rt14

#LABEL Suse
#    MENU LABEL ^Vintage  SUSE 11.2   Rt
#    LINUX /.boot/suse11.2/boot/vmlinuz-2.6.31.6-rt19
#    APPEND root=LABEL=suse11.2 ro
#    INITRD /.boot/suse11.2/boot/initrd-2.6.31.6-rt19


More information about the arch-general mailing list