[arch-releng] lvm2 in initramfs

Christian Hesse list at eworm.de
Fri Nov 2 06:44:01 EDT 2012


Thomas Bächler <thomas at archlinux.org> on Fri, 2012/11/02 11:34:
> Am 02.11.2012 11:08, schrieb Christian Hesse:
> > Hello everybody,
> > 
> > I would like to use the official installation media for rescue purposes
> > on my installed systems. However this does not work as the files are
> > located on logical volumes and the kernel can not access its root file
> > system.
> > 
> > I would like to see lvm2 hook added to the initramfs. Any chance to get
> > that?
> 
> Why? If you fully boot the rescue system, you will have access to all
> your volumes. You don't need access to all of that in initramfs.

You did not get the point. ;)

I do not want to use external media to boot the system. (You know Murphy...
If the system breaks for whatever reason the media is not nearby.) The iso
file is located on the local disk on a logical volume. Grub can load kernel
and initramfs from there, but the kernel can not access its root file system.

So my request is not about accessing the volumes from inside system (that
works without problems) but about booting the system from lvm.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-releng/attachments/20121102/42ea41a5/attachment.asc>


More information about the arch-releng mailing list