Hi all,
I followed this tutorial to encrypt my entire installation:
SDB:Encrypted root file system - openSUSE
It worked splendidly and whoever wrote it should get a lifetime supply of beer.
After I got the install encrypted I made a RAID 1 array of 2 1GB disks and encrypted that as well. They are used for a data repository.
mdadm --examine --scan
ARRAY /dev/md/0 metadata=1.0 UUID=54071d0d:a46ace4d:2908f92d:f4c60b41 name=linux:0
My menu.lst looks like this:
kernel /vmlinuz-2.6.37.1-1.2-desktop root=/dev/mapper/root luks_root=/dev/sda5 luks_swap=/dev/sda3 luks_home=/dev/sda6 luks=“root swap home” resume=/dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2921HQ1D4DMA-part3 splash=silent quiet showopts vga=0x365
When the machine boot up it asks for a passphrase and when it’s provided it unlocks root, swap and home in one fell swoop. Later on in the boot it asks for my password again for the RAID array. It’s the same password and I was wondering if there is some way to get it so I don’t have to enter the same password a second time.
I tried doing all kinds of things to the menu.lst boot options:
I added this: luks_backup=/dev/md0 to this:
root=/dev/mapper/root luks_root=/dev/sda5 luks_swap=/dev/sda3 luks_home=/dev/sda6 luks=“root swap home” <- added backup here as well.
I added this: luks_backup=/dev/md0 md=0,/dev/sdc1,/dev/sdf1 with no luck.
I ran mkinitrd after all changes and nothing worked.
When booting it says it’s waiting for backup…
and then it says access denied or the volume isn’t ready and that’s it.
Can anybody help me with this? I’d like to be able to put the password in once and have ALL the devices unlocked. It’s does it with the system partitions so, I figure, it should be able to do it with one more drive.
I’ve been using Opensuse for about 5 years now and love it. Any suggestions are greatly appreciated. It’s certainly a constant learning experience.
Specs:
OS Opensuse 11.4 Fresh install for about a week now. Previous edition: 11.2
All the default programs that come with a fresh install including KDE 4.6
Installed on a 1GB Hitachi Sata 2 drive.