Re: setup-storage and GPT partition tables with EFI boot partition
On 01/22/2015 06:31 PM, John Paul Adrian Glaubitz wrote: primary - 512 vfatrw primary / 3 ext4rw logical swap 8000 swapsw logical /var 6000 ext4rw primary /local_scratch 1- ext4rw 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 - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
setup-storage and GPT partition tables with EFI boot partition
Hello! I am currently trying to install FAI with UEFI for the first time. For that, I need to create a GPT partition table with a FAT32 EFI partition at the beginning of the disk. My first attempt for such a disk config looked like this (inspired from here [1]): disk_config sda fstabkey:uuid disklabel:gpt primary - 512 vfatrw primary / 3 ext4rw logical swap 8000 swapsw logical /var 6000 ext4rw primary /local_scratch 1- ext4rw 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. Using config file: /tmp/fai-config.uU659C/disk_config/JESSIE_UEFI_SDA Error in task partition. Code: 710 Traceback: task_error task_partition task task_install task task_action task main Can someone enlighten me what a proper disk config would look like? Thanks! Adrian [1] https://lists.uni-koeln.de/pipermail/linux-fai/2013-March/010018.html -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913