You are not logged in.
Pages: 1
Hello guys,
I followed the guide to encrypt my data. Currently I'm at the installation point "Manage filesystems".
I have the following partition layout:
/dev/sda1 raw->no_fs
/dev/sda2 raw->no_fs
/dev/mapper/lvm raw->no_fs
/dev/mapper/main-home raw->no_fs
/dev/mapper/main-root raw->no_fs
/dev/mapper/main-swp raw->no_fs
How do I have to set up it that it works properly?
I tried it that way, but that isn't working:
/dev/sda1 raw->ext4, /boot
/dev/sda2 raw->no_fs
/dev/mapper/lvm raw->no_fs
/dev/mapper/main-home raw->ext4, /home
/dev/mapper/main-root raw->ext4, /
/dev/mapper/main-swp raw->swap, swap
After reboot I'm going to be dropped to the recovery shell because he can't find the main-root.
Offline
Hello guys,
I followed the guide to encrypt my data. Currently I'm at the installation point "Manage filesystems".
I have the following partition layout:
/dev/sda1 raw->no_fs
/dev/sda2 raw->no_fs
/dev/mapper/lvm raw->no_fs
/dev/mapper/main-home raw->no_fs
/dev/mapper/main-root raw->no_fs
/dev/mapper/main-swp raw->no_fsHow do I have to set up it that it works properly?
I tried it that way, but that isn't working:
/dev/sda1 raw->ext4, /boot
/dev/sda2 raw->no_fs
/dev/mapper/lvm raw->no_fs
/dev/mapper/main-home raw->ext4, /home
/dev/mapper/main-root raw->ext4, /
/dev/mapper/main-swp raw->swap, swapAfter reboot I'm going to be dropped to the recovery shell because he can't find the main-root.
I wonder how you managed to make it so that there is no filesystem (anymore?) on /dev/sda2 and /dev/mapper/lvm, because those /dev/mapper entries can only exist (and appear) when there is something below it that supports it (eg: for lvm logical volumes you need a volume group, for a volume group you need a physical volume, etc).
so how did you do this?
what you probably want is dm_crypt on /dev/sda2 (with label sda2_crypt or something), then make /dev/mapper/sda2_crypt the lvm physical volume, then make volume group 'main' then the rest is OK.
if you still have doubts: look at this example, it has exactly this layout: http://github.com/Dieterbe/aif/blob/mas … all-on-sda
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
Pages: 1