Changes

Jump to: navigation, search

Rootfs over encrypted lvm

316 bytes removed, 3 months ago
Create logical volumes
}}
== Create logical volumes ==
{{console|body=
# ##i##pvcreate /dev/mapper/dmcrypt_root
# ##i##lvcreate -l 100%FREE --name root vg
}}
Feel free to specify your desired size by altering the numbers after the -L flag. For example, to make your portage dataset 20GB's, use the flag -L20G instead of -L5G.
{{Note|Please, notice that above mentioned partitioning scheme is an example and not a default recommendation, change it accordingly to desired scheme.}}
=== Create a filesystem on volumes ===
{{console|body=
###i## mkfs.vfat -F 32 /dev/sdc2
}}
=== Basic system setup ===
{{console|body=
# ##i##swapon /dev/mapper/vg-swap
625
edits

Navigation menu