grub and rootfs as LVM



Dear all,

I setup my rootfs as an LVM, the menu.lst of grub looks like this;

title Debian GNU/Linux, kernel 2.6.18-4-386
root (hd0,0)
kernel /vmlinuz-2.6.18-4-686 root=/dev/volume/root ro
initrd /my_init
savedefault

Error happens when the kernel tried to mount the root filesystem:
The error message is "Waiting for root file system..."
yuwen check root=bootarg cat /proc/cmdline or missing modules, devices; cat
/proc/modules ls /dev/

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?

Best regards,
Yuwen


Relevant Pages

  • Re: I give up! Help on avc message for dev dm-0
    ... The first device mapper device, which might be your root filesystem if you're using LVM or RAID. ... 255 heads, 63 sectors/track, 30401 cylinders ... This looks to be one of your LVM physical volumes and it's not expected to contain a partition table. ...
    (Fedora)
  • Re: shrinking lvm
    ... > Hi Paul, ... Right, so there's virtually no free space in your existing LVM setup, ... Shrink your existing root filesystem using resize2fs. ...
    (Fedora)
  • Re: Make LVM aware of new disk size
    ... the array and migrated the array to increase its size. ... whatever you need for your particular setup. ... provide much more detail than the vague hints above about your LVM ... not for LVM1. ...
    (comp.os.linux.misc)
  • Re: LVM and RAID1
    ... But that's my setup on several servers and I didn't really notice any ... > I read the intro to LVM and like the fact that I can add additional HDs without problems. ... if I want to have everything running in a RAID1 configuration in case one of my hard disks decides to crash or break some ...
    (Fedora)
  • Re: lvm vs traditional partitioning
    ... a question about lvm, if i have 3 harddisk in a lvm setup for save data, ... (of course if one had mirrored disks making up the ... You could always have *two* disk failures wipingout the ...
    (Debian-User)