#879543 extlinux: boot from xfs partition in GPT partition scheme not working

Package:
extlinux
Source:
syslinux
Description:
collection of bootloaders (Linux ext2/ext3/ext4, btrfs, and xfs bootloader)
Submitter:
Lukas Schwaighofer
Date:
2017-10-22 18:48:05 UTC
Severity:
important
#879543#5
Date:
2015-11-03 12:40:03 UTC
From:
To:
Dear Maintainer,


I can't seem to get extlinux to boot from an xfs formated partition.
I've built myself a little script to create a clean image (attached).
It works just fine if I use `mkfs.ext4` or `mkfs.btrfs` (i.e. it greets
me with a "boot:" prompt).  However, if I use `mkfs.xfs` I only get
"Missing OS".


The results stay the same when using a DOS partition table (and
mbr.bin) instead.  Only the error message when trying to boot from xfs
is slightly different:

  Failed to load ldlinux.c32
  Boot failed: please change disks and press a key to continue.


The version in jessie is also affected by this problem.


Thank you
Lukas Schwaighofer

#879543#10
Date:
2017-06-22 16:13:22 UTC
From:
To:
As of June 2017 still not possible to boot from XFS.

Maybe Syslinux 6.04 Changelog http://www.syslinux.org/wiki/index.php?title=Syslinux_6_Changelog :

"XFS: Support XFS on-disk V5, node directories version 3, xfsprogs 4.x. (Paulo Alcantara)."

#879543#21
Date:
2017-10-22 18:45:16 UTC
From:
To:
Hi Marek,

I've recently taken over maintenance of syslinux/exlinux as part of
the Debian CD Group, so I it's time to have a look at my own bug report.
Thanks for providing the link to the upstream changelog :) .

I've just compiled the most recent version of syslinux from git.  It
turns out that even this version can only boot from XFS partitions if
an MBR partition scheme is used.  With a GPT partition scheme, booting
is still not possible (same error as above).  I only then noticed that,
according to the wiki [1], syslinux only supports booting from XFS in
MBR partition schemes:

    As of Syslinux 6.03, an XFS partition in an "MBR" partition scheme
    is supported.

I've cloned the bug to track the MBR [2] and GPT [3] problems
separately.  I should be able to close the XFS+MBR problem eventually.
Since XFS+GPT is not yet supported upstream and it doesn't look like
anyone is actively working on that at the moment, I doubt that can be
fixed anytime soon.

Regards
Lukas

[1] http://www.syslinux.org/wiki/index.php?title=Filesystem#XFS
[2] https://bugs.debian.org/803938
[3] https://bugs.debian.org/879543