On Mon, Jan 27, 2003 at 08:26:55AM +0000, Patrick Caulfield wrote: > > Yes, the Debian kernels don't have ext2 compiled in TTBOMK, only cramfs. That is my (very limited) Debian experience as well. In fact my experience with trying to do md RAID and LVM (including / on LVM) with Debian was enough to make me not want to go back there. Mandrake work[s|ed] a lot better for me. Just more polished. Sure I could build a custom kernel and install some tools and modify the initrd creator on Debian, but I don't want to. I have better things to do with my time than build basic system tools. Why spend that time, when a distro vendor does it for me? Mandrake supports all this stuff (and even has LVM creation support available during install!) right out of the box. In their 9.1 release they will support creating / on LVM as well (I finally got off my ass and submitted my patch to their installer to do it :-). > Unfortunately, LVM likes to write to the root filesystem during vgscan and so > you can't use a RO filesystem like cramfs - which is why lvmcreate_initrd > creates an ext2 filesystem. Right. But in the final analysis, it is silliness. The data that it writes is thrown away when the initrd is thrown away anyway. > The simplest wasy to acheive this is to build your own kernel with ext2 built in > and use that for the initrd. Right. But there should be a switch to vgscan/vgchange to not write data to the filesystem. Maybe LVM2 makes this all go away. I dunno. I have not looked at LVM2 yet. > Root on LVM is complicated anyway so if youre not prepared to do this then you > really shouldn't be trying root on LVM either.... It's not complicated at all on a distro with good support of it. Of course that's not an excuse to not learn how it all works. You will need that knowledge if it breaks on you. b. -- Brian J. Murrell
Attachment:
pgp00465.pgp
Description: PGP signature