Package: fai-setup-storage
Version: 4.3.1
Severity: normal

Hello!

fai-setup-storage already supports creating GPT partition tables which
are required to install Linux in EFI mode. EFI bootloaders require a
FAT partition at the beginning of the disk into which they are installed
and later loaded from by the EFI firmware.

In order for the installation of the bootloaders into the boot partition
to succeed, the partition must not only be formatted with the FAT filesystem
but the partition type also has to be set to ESP (=0xef00).

Currently, fai-setup-storage does not support creating proper ESP partitions
even though it can actually create a FAT partition and mount it at the
correct mount point (/boot/efi), it just lacks setting the partition
type to 0xef00 which therefore currently has to be done manually [1].

parted - which fai-setup-storage uses as its backend - actually supports
creating ESP partitions by just setting the flag 'esp' [2] and after
a quick look at the respective part of the fai-setup-storage code,
the code to set these type of flags is already there and used to set
the partition type to "raid", "lvm" and so on. It just lacks support
setting the 'esp' flag.

I'd expect ESP partitions to be created by fai-setup-storage by
setting the filesystem type in a disk config to 'esp'. It would
be great to have support for ESP partitions in fai-setup-storage
as it would allow to automatically create working EFI installations.

Thanks!
Adrian

> [1] https://lists.uni-koeln.de/pipermail/linux-fai/2013-March/010018.html
> [2] http://www.gnu.org/software/parted/manual/parted.html#set


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to