[arch-releng] lvm2 in initramfs

Dave Reisner d at falconindy.com
Fri Nov 2 08:41:49 EDT 2012


On Fri, Nov 02, 2012 at 11:44:01AM +0100, Christian Hesse wrote:
> 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.

grub can load the ISO itself, as well, if you leave it on disk. This is
sort of a strange request.

> 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);}




More information about the arch-releng mailing list