Re: Unlock multiple partitions at once on boot-up
On Qua, 29 Dez 2010, Simon Hollenbach wrote:
Hello list,
I recently set up a system/squeeze I wanna use as a gateway. For
various reasons I decided to go for crypto-drives. Since I split up
my hdd and configured mdadm-raid1, I ended up with multiple
partitions for which I provided the same key. On bootup I now gotta
prove that Im able to type the pass five times, I think, without flaw.
What I would need is either a place to tell that the same phrase is
to be used to unlock them all or a scripting approach that repeats
the entered string for all drives.
Sometimes I think this is an unfortunate setup, I should have
encrypted a single volume, then raid1 on it and afterwards some
virtual partitions via mdadm. Comments on that are highly
appreciated since Im new to these hdd charms... :)
I once saw a solution in which one partition was first unlocked with a
passphrase, and then all other ones were unlocked with key files
stored in that first partition. You might be able to do that.
--
My mother loved children -- she would have given anything if I had been one.
-- Groucho Marx
Eduardo M KALINOWSKI
eduardo@kalinowski.com.br
Reply to: