Re: (stupid) how to specify the root-device via kernel parameters

From: Christoph Anton Mitterer
Date: Sat Jun 26 2010 - 10:13:49 EST


On Sat, 2010-06-26 at 09:46 -0400, tytso@xxxxxxx wrote:
> Abuse this how? What do you think is "wrong"?
Uhm... not totally sure as I only had a first short glance on it (so I
hope not to step on Bastian's toes ;) )... but the lvm2 initramfs-script
from Debian's lvm2 package somehow to set up the VGs/LVs... which is
fine, expect you have fully encrypted fs (with boot on USB stick),...
and you have a dm-crypt device on top of LVM.
Not sure why he simply doesn't do a vgchange -an or so,.. but will ask
him.

Then my root is /dev/mapper/root or so,... and the script has it's
problem.


Cheers,
Chris.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/