[syslinux] Fail to set up UEFI syslinux on ArchLinux USB Flash Drive
alex lupu
alupu01 at gmail.com
Sat Mar 14 11:04:54 PDT 2015
Trying to set up UEFI Syslinux boot on an ArchLinux USB 4GB stick.
- Host system: 64-bit Ubuntu 14.10 on 56 GB hard drive
- Hardware: ASUS P8H77-I, Bios v1101, i7-3770 at 3.40 GHz, 16 GB DDR3
- ArchLinux Instructions followed:
https://wiki.archlinux.org/index.php/Syslinux#UEFI_Systems >
2. UEFI Systems > 2.2 Installation
- Arch syslinux v.6.03
196352 Oct 13 22:25 /usr/sbin/syslinux
- Used Arch syslinux files from /usr/lib/syslinux/efi64/
(copied to EFI/syslinux/ on /dev/sdd1 (see below)):
...
134744 ldlinux.e64
121848 liblua.c32
27688 libmenu.c32
6136 linux.c32
31720 menu.c32
10328 syslinux.c32
400 syslinux.cfg (created by me - "Text boot menu" format)
176456 syslinux.efi
...
- USB Drive (with Arch
Linux
installed on second partition, sdd2):
Disk /dev/sdd: 3.7 GiB, 4007264256 bytes, 7826688 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 77D7213D-00A3-4042-9489-4B57D54B2D23
Device Start End Sectors Size Type
/dev/sdd1 34 1048609 1048576 512M EFI System
/dev/sdd2 1048610 7397409 6348800 3G Linux filesystem
/dev/sdd3 7397410 7826654 429245 209.6M Linux swap
Note: the EFI partition (sdd1) is formatted FAT-32
- Command to set up UEFI boot:
$ efibootmgr -c -d /dev/sdd -p 1 -l EFI\\syslinux\\syslinux.efi -L ArchLinux
$ efibootmgr
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0000,0002,0003,0001
Boot0000* ArchLinux
Boot0001* CD/DVD Drive
Boot0002* Hard Drive
Boot0003* ubuntu
$ sudo efibootmgr -v
...
Boot0000* ArchLinux
HD(1,22,100000,f8f45ea2-387b-4fd8-aee6-d9aec44699d4)File(EFI\syslinux\syslinux.efi)
Boot0003* ubuntu
HD(1,800,100000,7173866f-e6bc-4ad4-b68a-b9e0a4ba9327)File(EFI\Ubuntu\grubx64.efi)
Please note the above similarity between the "good" (working) entry,
ubuntu, and the "bad" Archlinux entry.
------------------------------------------------------------------------------
RESULTS:
In BIOS, select ArchLinux entry
Blank screen.
WARNING: No configuration file found
boot: syslinux.cfg
Failed to load COM32 file syslinux.cfg.c32
boot: syslinux
Undefined symbol FAIL: lua_pushlightuserdata
Failed Failed to load COM32 file syslinux.c32
boot:
etc., etc ...
Please comment and help,
Thanks
-- Alex
More information about the Syslinux
mailing list