From 8dfd3b2d2479ff69d35005f6b3f925cbff3893fb Mon Sep 17 00:00:00 2001
From: Francis Rowe
- # lvcreate -l +100%FREE matrix -n rootvol (single large partition in the rest of the space, named rootvol)
+ # lvcreate -l +100%FREE matrix -n root (single large partition in the rest of the space, named root)
You can also be flexible here, for example you can specify a /boot, a /, a /home, a /var, a /usr, etc. For example,
if you will be running a web/mail server then you want /var in its own partition (so that if it fills up with logs, it won't crash your system).
For a home/laptop system (typical use case), a root and a swap will do (really).
@@ -240,12 +240,12 @@ href="http://www.linux.com/news/software/applications/8208-all-about-linux-swap-
# swapon /dev/matrix/swapvol
- For the rootvol LV I use:
- # mkfs.ext4 /dev/mapper/matrix-rootvol
+ For the root LV I use:
+ # mkfs.ext4 /dev/mapper/matrix-root
Mount the root (/) partition:
- # mount /dev/matrix/rootvol /mnt
+ # mount /dev/matrix/root /mnt
- Create /home and /boot on rootvol mountpoint:
+ Create /home and /boot on root mountpoint:
# mkdir -p /mnt/home
# mkdir -p /mnt/boot
deactivate the lvm lv's:
- # lvchange -an /dev/matrix/rootvol
+ # lvchange -an /dev/matrix/root
# lvchange -an /dev/matrix/swapvol
@@ -489,8 +489,8 @@ FONT=lat9w-16
grub> cryptomount -a
- grub> set root='lvm/matrix-rootvol'
- grub> linux /boot/vmlinuz-linux-libre-lts root=/dev/matrix/rootvol cryptdevice=/dev/sda1:root
+ grub> set root='lvm/matrix-root'
+ grub> linux /boot/vmlinuz-linux-libre-lts root=/dev/matrix/root cryptdevice=/dev/sda1:root
grub> initrd /boot/initramfs-linux-libre-lts.img
grub> boot
cryptomount -adiff --git a/docs/gnulinux/encrypted_trisquel.html b/docs/gnulinux/encrypted_trisquel.html index 0904809..2995570 100644 --- a/docs/gnulinux/encrypted_trisquel.html +++ b/docs/gnulinux/encrypted_trisquel.html @@ -112,22 +112,22 @@
-set root='lvm/matrix-rootvol'
-linux /boot/vmlinuz-linux-libre-lts root=/dev/matrix/rootvol cryptdevice=/dev/sda1:root
+set root='lvm/matrix-root'
+linux /boot/vmlinuz-linux-libre-lts root=/dev/matrix/root cryptdevice=/dev/sda1:root
initrd /boot/initramfs-linux-libre-lts.img
Do that:
grub> cryptomount -a
- grub> set root='lvm/grubcrypt-trisquel'
- grub> linux /vmlinuz root=/dev/mapper/grubcrypt-trisquel cryptdevice=/dev/mapper/grubcrypt-trisquel:root
+ grub> set root='lvm/matrix-root'
+ grub> linux /vmlinuz root=/dev/mapper/matrix-root cryptdevice=/dev/mapper/matrix-root:root
grub> initrd /initrd.img
grub> boot
cryptomount -a
- set root='lvm/grubcrypt-trisquel'
- linux /vmlinuz root=/dev/mapper/grubcrypt-trisquel cryptdevice=/dev/mapper/grubcrypt-trisquel:root
+ set root='lvm/matrix-root'
+ linux /vmlinuz root=/dev/mapper/matrix-root cryptdevice=/dev/mapper/matrix-root:root
initrd /initrd.img