Re: grub and rootfs as LVM




> I setup /boot as a seperate disk parition. The rest is for LVM.
> /dev/volume/root is OK when I use a rescue CDRom. And I re-build the
> initrd, adding all dm-* modules to the initrd. Any suggestion?

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).


Hi Stefan,

Would you please tell me how to create a initrd with LVM support in Debian?
I used the initramfs tool. Thank you very much!

Best regards,
yuwen




Stefan


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact
listmaster@xxxxxxxxxxxxxxxx




Relevant Pages

  • Initrdless 2.6.14 kernel
    ... boot without the initrd. ... I tried the ide controller and the file system ext3, ... it will boot but modules are "not enabled" and all ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Problem booting RAID1/mdadm system when one disk is unplugged
    ... My System has 2x120GB IDE disks with the an up-to-date Sarge install, running kernel 2.6.8-3 and configured for mirroring. ... some friends of mine do not agree that my initrd is the problem because they point out that I can still boot when two disks are present. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Compiling a kernel
    ... or you can use vanilla source as you describe ... Will I still have to configure grub? ... I prefer to go without initrd myself. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Linux-image-2.6.25 wont boot - target filesystem error
    ... Google shows a number of people with similar problems, mainly on Ubuntu. ... How large is your initrd? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Kernel panic when using linux-image-2.6.16-1-686 with a PATA drive
    ... That might be a problem with your initrd image for 2.6.16. ... has the vital chipset/ide/etc routines compiled into the kernel. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)