Open
Description
following config:
DRIVE1 /dev/sda
HOSTNAME example.con
BOOTLOADER grub
PART / ext4 500G
PART swap swap 2G
PART /var ext4 all
IMAGE /root/.installimage/../images/Debian-84-jessie-64-minimal.tar.gz
Results in the following partition table:
# fdisk -l
Disk /dev/sda: 5.5 TiB, 6001118633984 bytes, 11720934832 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 00D76A0F-05AE-4951-845C-17533304102D
Device Start End Sectors Size Type
/dev/sda1 4096 1048580095 1048576000 500G Linux filesystem
/dev/sda2 1048580096 1052774399 4194304 2G Linux swap
/dev/sda3 1052774400 5345644543 4292870144 2T Linux filesystem
/dev/sda4 2048 4095 2048 1M BIOS boot
Partition table entries are not in disk order.
sda3 isn't using the whole disk. The beginning of the debuglog:
...
[14:10:27] # validating config ...
[14:10:28] : / : 512000
[14:10:28] : swap : 2048
[14:10:28] : /var : all
[14:10:29] : Size of the first hdd is: 6001118633984
[14:10:29] : check_dos_partitions
[14:10:40] # executing installfile ...
[14:10:41] : / : 512000
[14:10:41] : swap : 2048
[14:10:41] : /var : all
[14:10:41] : check_dos_partitions
[14:10:41] : DRIVE size is: 5723112
[14:10:41] : partitions without "all" sum up to 514048
[14:10:41] : primary partitions without "all" sum up to 514048
[14:10:41] : new size of "all" is now 2096128
...