mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2025-01-03 09:35:26 +00:00
Switch to a simpler partition scheme
Remove LVM
This commit is contained in:
parent
b6e2d4646b
commit
c08a70a31e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user