Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Booting on LVM2 over DM-CRYPT over RAID0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
eMxyzptlk
n00b
n00b


Joined: 02 Nov 2007
Posts: 19

PostPosted: Wed Jun 24, 2009 12:47 pm    Post subject: Booting on LVM2 over DM-CRYPT over RAID0 Reply with quote

Hello,

I bought a new laptop which has 2x250Gb hard disk, I wish to use these HDDs as RAID0 to get one big 500Gb Hard Disk..

I have always used LVM2 over DM-CRYPT so I'm used to it, I use genkernel to generate the initramfs (because it just works!!) and use the following kernel options to boot:
Code:

kernel (hd0,0)/funtoo/kernel dolvm crypt_root=/dev/sda2 lvm2root=/dev/mapper/root real_root=/dev/Phoenix/Funtoo_Root


/boot was on /dev/sda1 and LUKS partition was /dev/sda2

should I add dodmraid or domdadm and what's the difference? And what is lvmraid ??

should the kernel options be as follows or not?

Code:

kernel (hd0,0)/funtoo/kernel domdadm dolvm crypt_root=/dev/md1 lvm2root=/dev/mapper/root real_root=/dev/Phoenix/Funtoo_Root


Thank you
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Wed Jun 24, 2009 3:17 pm    Post subject: Reply with quote

It shouldn't be necessary to tell the kernel to use md as long as support is built in to the initrd. Just set the partition types to "linux raid autodetect".
_________________
Vermont Free PC
http://www.vtfreepc.org
Back to top
View user's profile Send private message
eMxyzptlk
n00b
n00b


Joined: 02 Nov 2007
Posts: 19

PostPosted: Wed Jun 24, 2009 3:19 pm    Post subject: Reply with quote

Ok I'll try that tonight and report back
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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