diff --git a/docs/void-desktop-setup/installation/installation-with-lvm.md b/docs/void-desktop-setup/installation/installation-with-lvm.md index 82c6178..6e17e96 100644 --- a/docs/void-desktop-setup/installation/installation-with-lvm.md +++ b/docs/void-desktop-setup/installation/installation-with-lvm.md @@ -3,7 +3,7 @@ To install the Void Linux distribution on the system, the encrypted partition and the efi partition have to be mounted to the main system. ``` -# mount /dev/mapper/lv0-root /mnt +# mount /dev/void/root /mnt # mkdir /mnt/boot # mount /dev/disk/by-label/efi /mnt/boot # for dir in dev proc sys run; do @@ -113,7 +113,7 @@ The `uuid` is needed again and can be obtained by: Now edit `/boot/loader/void-options.conf` and insert: ``` -rw rd.luks.name==root root=/dev/disk/by-label/root quiet splash apparmor=1 security=apparmor loglevel=1 rd.shell=0 rd.emergency=reboot rd.lvm.vg=lv0 +rw rd.luks.name==root root=/dev/disk/by-label/root quiet splash apparmor=1 security=apparmor loglevel=1 rd.shell=0 rd.emergency=reboot rd.lvm.vg=vg0 ``` To obtain a boot menu. A timeout may be added to `/boot/loader/loader.conf`. diff --git a/docs/void-desktop-setup/installation/provisioning-with-lvm.md b/docs/void-desktop-setup/installation/provisioning-with-lvm.md index b7fa9cd..475a92f 100644 --- a/docs/void-desktop-setup/installation/provisioning-with-lvm.md +++ b/docs/void-desktop-setup/installation/provisioning-with-lvm.md @@ -19,27 +19,27 @@ And the encrypted filesystem of the root partition. ``` # cryptsetup luksFormat /dev/ --type luks2 --label luks -# cryptsetup open --type luks /dev/ lv0 +# cryptsetup open --type luks /dev/ vg0 ``` Now to create a new LVM volume group: ``` -# vgcreate lv0 /dev/mapper/lv0 +# vgcreate void /dev/mapper/vg0 ``` To create partitions inside the volume group: ``` -# lvcreate --name root -L 64G lv0 -# lvcreate --name home -l 100%FREE lv0 +# lvcreate --name root -L 64G void +# lvcreate --name home -l 100%FREE void ``` To create the filesystems on the logical partitions: ``` -# mkfs.ext4 -L root /dev/mapper/lv0-root -# mkfs.ext4 -L home /dev/mapper/lv0-home +# mkfs.ext4 -L root /dev/void/root +# mkfs.ext4 -L home /dev/void/home ``` Other filesystems can also be used but `ext4` is the standard for most linux distrobutions. Other sizes for the partitions can also be used depending on the needs of the user.