Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A quick question about the dm-crypt/LVM init scripts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
_ConnorT_
n00b
n00b


Joined: 14 May 2013
Posts: 1

PostPosted: Tue May 14, 2013 1:14 pm    Post subject: A quick question about the dm-crypt/LVM init scripts Reply with quote

Hi, all,

I'm using genkernel's initramfs to mount partitions I have in an LVM that is on a partition encrypted with dm-crypt/LUKS. The dm-crypt/LUKS partition needs a password which is entered at boot time. I created it with:

Code:
cryptsetup -y -c aes-xts-plain64 -s 512 luksFormat /dev/sda2


I'd just like to confirm that having /etc/init.d/dmcrypt and /etc/init.d/lvm started is pointless as the initramfs would have already mounted everything for me, or am I misunderstanding?

From what I've come to gather, those scripts are only useful for mounting things you have defined in /etc/conf.d/dmcrypt and such -- I haven't done that, since I've encrypted my root, swap, and /home partitions, so I've used the initramfs.
Back to top
View user's profile Send private message
khayyam
Veteran
Veteran


Joined: 07 Jun 2012
Posts: 1537

PostPosted: Tue May 14, 2013 7:49 pm    Post subject: Re: A quick question about the dm-crypt/LVM init scripts Reply with quote

_ConnorT_ wrote:
I'd just like to confirm that having /etc/init.d/dmcrypt and /etc/init.d/lvm started is pointless as the initramfs would have already mounted everything for me, or am I misunderstanding?

_ConnorT_ ... your absolutely correct.

best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum