]> git.proxmox.com Git - pve-installer.git/commit - proxinstall
do not install ESP on zfs disks, use sgdisk instead of parted
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 22 May 2015 11:06:39 +0000 (13:06 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 27 May 2015 14:39:37 +0000 (16:39 +0200)
commitf810f5d00990574ccf087c3ef1a0876af57f722b
tree77e5f9539c193db2e89654821a801e455bdbf570
parent814f5c394eb858eb192af91db3cbcca2b10370a9
do not install ESP on zfs disks, use sgdisk instead of parted

ZFS has this use_whole_disk concept, so we try to partition the same
way as zfs does by default. There is room at start of disk to insert
a grub boot partition. But adding a EFI ESP is not possible.

Note: zfs people think this is just a waste of space an not
required.  Instead, you should put the ESP on another disk.

Turns out that parted is unable to set partition numbers, so
we use sgdisk instead.
proxinstall