setup-storage and GPT partition tables with EFI boot partition

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Fri Jan 23 18:18:45 CET 2015


On 01/22/2015 06:31 PM, John Paul Adrian Glaubitz wrote:
> primary -                 512   vfat    rw
> primary /               30000   ext4    rw
> logical swap             8000   swap    sw
> logical /var             6000   ext4    rw
> primary /local_scratch  1-      ext4    rw
> 
> which results into an error:
> 
> Starting setup-storage 1.7
> Syntax error: invalid partition type at
> /usr/share/fai/setup-storage/Parser.pm line 188, <$config_file> line 1.

Ok, it turns out this error message is just very confusing and all you
have to do is actually use primary partition types only since GPT
doesn't distinguish between primary and logical.

However, I'm still a bit stuck since setup-storage uses the incorrect
partition type for the EFI system partition. It sets it to 0x0b (FAT32)
but it needs to be 0xef00 (EFI SYSTEM PARTITION). Any idea how to
achieve that?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


More information about the linux-fai-devel mailing list