Switch to a simpler partition scheme

Remove LVM
This commit is contained in:
lukas 2021-07-02 12:39:37 +00:00
parent b6e2d4646b
commit c08a70a31e

View File

@ -78,12 +78,14 @@ zerombr
clearpart --all --initlabel --drives=vda
# Disk partitioning information.
# Will create an efi partitition of 128 MiB (vda1), a boot partition of 384 MiB using the ext4 filesystem (vda2). The remaining space will be used for root (vda3). This set up uses LVM and will GPT by default.
# Will create an efi partitition of 128 MiB (vda1), a boot partition of 384 MiB using the ext4 filesystem (vda2). The remaining space will be used for root (vda3). This set up uses GPT by default.
part /boot/efi --fstype="efi" --ondisk=vda --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi
part /boot --fstype="ext4" --ondisk=vda --size=384 --label=boot
part pv.122 --fstype="lvmpv" --ondisk=vda --grow
volgroup system --pesize=4096 pv.122
logvol / --fstype="ext4" --percent 100 --label="root" --name=root --vgname=system
part / --fstype="ext4" --ondisk=vda --grow --label=root
# part pv.122 --fstype="lvmpv" --ondisk=vda --grow # Example with LVM (untested)
# volgroup system --pesize=4096 pv.122
# logvol / --fstype="ext4" --percent 100 --label="root" --name=root --vgname=system
# System timezone
timezone Europe/Paris --utc