LVM+Encryption
Andrew Ruthven
andrew at etc.gen.nz
Mon Mar 5 20:57:06 CET 2018
Hi David,
On Mon, 2018-03-05 at 14:12 -0300, Davinder Chandhok wrote:
> Hi,
>
> I've set up an Ubuntu install profile that configures the disk in the
> following way:
See the disk_config file you have would be helpful to diagnose what is
going on.
In case it's helpful, here's what I use for laptops, we also have some
other scripts to set a random passphrase and email it encrypted to
certain people.
-- begin --
disk_config sda bootable:1
primary /boot 256M ext3 defaults
primary - 1024M- - -
disk_config cryptsetup
luks:"some default passphrase" - /dev/sda2 - -
# config the LVM
disk_config lvm
vg vg0 /dev/sda2
vg0-root / 10G ext4 rw,errors=remount-ro
vg0-swap swap 4G swap defaults
vg0-home /home 4G ext4 defaults
vg0-tmp /tmp 4G ext3 defaults
vg0-var /var 4G ext4 defaults
-- end --
Cheers.
Andrew
--
Andrew Ruthven, Wellington, New Zealand
andrew at etc.gen.nz | linux.conf.au 2018, Sydney, AU
New Zealand's only Cloud: | Just a little bit of history
https://catalyst.net.nz/cloud | http://linux.conf.au
More information about the linux-fai
mailing list