Bug#865462: extlinux: boot from gpt partition with Btrfs does not work
Package: extlinux
Version: 3:6.03+dfsg-14.1
Severity: important
Steps to reproduce (disk is on /dev/sdb):
---
sgdisk -og /dev/sdb
sgdisk -n 1:2048:409566 /dev/sdb
mkfs.btrfs /dev/sdb1
sgdisk --attributes=1:set:2 /dev/sdb
cat /usr/lib/syslinux/mbr/gptmbr.bin > /dev/sdb
mount /dev/sdb1 /media/disk/
mkdir -p /media/disk/boot/syslinux
extlinux -i /media/disk/boot/syslinux
cp /usr/lib/syslinux/modules/bios/* /media/disk/boot/syslinux
cat > /media/disk/boot/syslinux/syslinux.cfg << EOF
UI menu.c32
MENU TITLE Syslinux Bootloader
DEFAULT test
PROMPT 0
TIMEOUT 50
LABEL test
MENU LABEL Linux on Virtual Box
LINUX ../vmlinuz-KERNEL-VERSION
APPEND root=/dev/sdXN quiet ro
INITRD ../initrd.img-VERSION
EOF
----
After boot it shows message
"SYSLINUX 6.03 EDD 20170128 Copyright (C) 1994-2014 H.Peter Anvinet al"
and it stops. Same with virtual disk in Virtualbox.
-- System Information:
Debian Release: 9.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages extlinux depends on:
ii libc6 2.24-11+deb9u1
Versions of packages extlinux recommends:
pn syslinux-common <none>
extlinux suggests no packages.
-- no debconf information
Reply to: