[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: grub and rootfs as LVM



On Wed, May 09, 2007 at 09:23:52AM -0400, Stefan Monnier wrote:
> >> Try use /dev/mapper/volume-root instead.
> >> I'm not sure why, but I recently had a similar problem where using
> >> /dev/Debian/root didn't work but /dev/mapper/Debian-root did (even though
> >> once the boot is over, /dev/Debian/root can be used just fine, it looks
> >> like the alternate name is constructed later).
> 
> > Would you please tell me how to create a initrd with LVM support in Debian?
> > I used the initramfs tool.  Thank you very much!
> 
> I don't know: it just works.  As long as you have the lvm2 package installed
> and the initrd package was created after the lvm2 package was installed, it
> should just work.
> 

if installed after the fact, then do this as root:

update-initramfs -u -k all

to rebuild the existing initrd's

A

Attachment: signature.asc
Description: Digital signature


Reply to: