Make services not start automatically after reboot (as they require access to an encrypted partition)

Posted by Binary255 on Server Fault See other posts from Server Fault or by Binary255
Published on 2010-09-05T08:38:44Z Indexed on 2011/02/12 15:26 UTC
Read the original article Hit count: 190

Filed under:

Hi,

I use Ubuntu Server 10.04. I more or less only want the server to be accessible over SSH after a reboot. I will then login and mount the encrypted partition myself, after which I start the services which uses it.

How would I go about setting something like that up?

(My first idea was to have everything except /boot in an encrypted LVM, but I never got logging in through SSH and mounting the LVM to work. Initramfs was a bit too complicated for me. Otherwise I think this would have been the best solution.)

© Server Fault or respective owner

Related posts about ubuntu