View previous topic :: View next topic |
Author |
Message |
eMxyzptlk n00b
Joined: 02 Nov 2007 Posts: 19
|
Posted: Wed Jun 24, 2009 12:47 pm Post subject: Booting on LVM2 over DM-CRYPT over RAID0 |
|
|
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 |
|
|
rev138 l33t
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Wed Jun 24, 2009 3:17 pm Post subject: |
|
|
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 |
|
|
eMxyzptlk n00b
Joined: 02 Nov 2007 Posts: 19
|
Posted: Wed Jun 24, 2009 3:19 pm Post subject: |
|
|
Ok I'll try that tonight and report back |
|
Back to top |
|
|
|