EXTLINUX as EFI loader

draft - this does not work so far

EFI Bootcode

mkdir /boot/efi/EFI/syslinux
rm -f /boot/efi/EFI/syslinux/*
cp -r /usr/share/syslinux/efi64/* /boot/efi/EFI/syslinux

gdisk -l /dev/sda

efibootmgr --create --disk /dev/sda --part 1 --loader /EFI/syslinux/syslinux.efi --label "Syslinux"
efibootmgr -v

and check BootOrder:, you should see your new entry at first.

EFI Boot Setup

cp -f /vmlinuz /boot/efi/
cp -f /xen.gz /boot/efi/
vi /boot/efi/EFI/syslinux/syslinux.cfg

default Linux
prompt 1
timeout 30

#default menu.c32
#prompt 0
#menu title SYSLINUX

label Linux
        linux /vmlinuz
        append root=/dev/sda3 ro ipv6.disable=1

label XEN
    kernel mboot.c32
    append /xen.gz loglvl=info pv-linear-pt=true --- /vmlinuz root=/dev/sda3 ro console=tty0 ipv6.disable=1

RESOURCES

UEFI https://wiki.syslinux.org/wiki/index.php?title=Install#UEFI

UEFI Systems https://wiki.archlinux.org/index.php/syslinux#UEFI_Systems


Nethence | Pub | Lab | Pbraun | SNE Russia | xhtml