From: Henry N. <Hen...@Ar...> - 2008-02-28 20:38:41
|
Wael Nasreddine wrote: > I currently dual or actually tripple boot Windows XP with Gentoo linux > and Arch Linux, my hard disk is partitioned as following: > > /dev/sda1 10G Fat32 Windows XP > /dev/sda2 100M ext2 /boot partition > /dev/sda3 110G DM-CRYPT > > the /dev/sda3 is an encrypted partition ( LUKS Encrypted.. ), over it > I have an LVM array with 12 LVs 2 of them are gentoo and arch roots, I > have home, 2 swap etc... > > is there a way I can boot Gentoo or Arch from the LVM array ( that is > over DM-CRYPT ) with coLinux.... it would be excellent if I could boot > it because I'm really annoyed that I can't access any of LVMed > partition from windows, I have to reboot If I want one file... I also > miss Mutt... Yes, this should go. Some user have a raid setup running. So your LVM is similar. You need colinux with LVM and DM-Crypt supprt (as module or kernel build in). I not know, what modules you need. Please check the kernel config [1]. "CONFIG_DM_CRYPT=m" I can see there. But not know what else you need. You need manualy change the initrd for this. Basic steps are: - unpack (gunzip and cpio) the boot/initrd from your native Gentoo boot - View into th file linuxrc, and check how an what modules are installed. (modprobe or insmod) - Locate the modules path inside the initrd (lib/modules/...) - Remove all non coLinux modules. Replace/Add all modules you need with coLinux version. - create the gzipped cpio initrd from the tree now. - Use the new initrd as "initrd=..." for colinux boot. - For the first start should run with non graphical runlevel, add "init 2" into the colinux config as kernel command line. The partition should configure as alias in coLinux config, for example: sda3=\Device\Harddisk0\Partition3 [1] http://colinux.svn.sourceforge.net/svnroot/colinux/branches/devel/conf/linux-2.6.22.18-config -- Henry N. |