Hi Denny,

there seems to be a mismatch of sorts between your desired schema and what you're actually describing. I am going to assume you want an EFI partition that you're going to boot off of.

To do so, this should work:

disk_config disk1 disklabel:gpt-bios bootable:1 fstabkey:uuid

primary /boot/efi2048vfatrw
primaryswap8192swaprw
primary /boot512ext4rw,noatime,errors=remount-ro
primary /15360ext4rw,noatime,errors=remount-ro
logical-1---


Best regards
Kerim

On 26/11/15 16:19, Denny Bortfeldt wrote:
Hello everyone,

I'm using FAI 5.0 and need a special partition layout for our centos kvm installation.

The partition schema need to be like this:

GPT /dev/sda1 2048 6143 2M BIOS boot partition /dev/sda2 6144 16783359 8G Linux swap /dev/sda3 16783360 17831935 512M Microsoft basic data /boot /dev/sda4 17831936 49289215 15G Microsoft basic data / /dev/sda5 49289216 7812456414 3.6T Linux LVM Unfortunately I'm unable to create /dev/sda1 and /dev/sda5 with the disk_config. I don't know what "fstype" I have to enter, that FAI will partitionate /dev/sda1 to "BIOS boot partition" (fdisk type "4"). fstype "efi" and "bios" will run into an error: https://data.bortfeldt.net/f/d9b3239df0/
My current config_disk-File looks like this:
# <type> <mountpoint> <size>   <fs type> <mount options> <misc options>

disk_config disk1 disklabel:gpt-bios bootable:3 fstabkey:uuid

primary -2efi-
primaryswap8192swaprw
primary /boot512ext4rw,noatime,errors=remount-ro
primary /15360ext4rw,noatime,errors=remount-ro
logical-1---


So is anyone here who can help me out with my disk_configuration so that FAI will partitionate like the schema above?

Thanks in advance.

Best regards,
Denny

--
         Kerim Güney

 Institut für Informatik        Junior Sysadmin
     Universität zu Köln        Lehrstuhl Prof. Dr. M. Jünger
            Weyertal 121
              50931 Köln

Antwort per Email an