Changes

Jump to: navigation, search

Encrypted Root

538 bytes removed, 3 months ago
m
encrypted root without llvm!!! gotta do it boss, gotta have a solid foundation to fix the other page upon.
This howto describes how to setup LVM and rootfs with cryptoLUKS-a swapless encrypted drive. It is not meant to be a standalone installation guide, rather, it is meant to be read alongside the [[Funtoo Linux Installation]] Guideroot partition without llvm.
== Prepare the hard drive and partitions ==
}}
== Create logical volumes =={{console|body=# ##i##pvcreate /dev/mapper/dmcrypt_root# ##i##vgcreate vg /dev/mapper/dmcrypt_root # ##i##lvcreate -L2G --name swap vg# ##i##lvcreate -l 100%FREE --name root vg }} === Create a your filesystem on volumes ===
{{console|body=
###i## mkfs.vfat -F 32 /dev/sdc2
###i## fatlabel /dev/sdc2 "BOOT"
# ##i##mkswap /dev/mapper/vg-swap# ##i##mkfs.ext4 /dev/mapper/vg-rootsdc3
}}
=== Basic system setup ===
{{console|body=
# ##i##swapon /dev/mapper/vg-swap
# ##i##mkdir /mnt/funtoo
# ##i##mount /dev/mapper/vg-root sdc3 /mnt/funtoo
# ##i##mkdir /mnt/funtoo/boot
# ##i##mount /dev/sdc2 /mnt/funtoo/boot
kernel kernel[-v]
initrd initramfs[-v]
params += cryptdevice=PARTLABEL=FUNTOO:cryptlvm lvm luks root=/dev/mapper/vg-root PARTLABEL=FUNTOO rootfstype=auto resume=swap:/dev/mapper/vg-swap
}
</pre>
kernel kernel[-v]
initrd initramfs[-v]
params += crypt_root=PARTLABEL=FUNTOO dolvm real_root=/dev/mapper/vg-root rootfstype=ext4 resume=swap:/dev/mapper/vg-swap}
</pre>
625
edits

Navigation menu