grub and rootfs as LVM
- From: "Yuwen Dai" <yuwend@xxxxxxxxx>
- Date: Mon, 30 Apr 2007 16:06:42 +0800
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
- Follow-Ups:
- Re: grub and rootfs as LVM
- From: Stefan Monnier
- Re: grub and rootfs as LVM
- Prev by Date: truetype fonts in x11, wrong metrics?
- Next by Date: Re: How to Choose dependencies using apt-get/aptitude
- Previous by thread: truetype fonts in x11, wrong metrics?
- Next by thread: Re: grub and rootfs as LVM
- Index(es):
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: Wheres ext2online?
... saying it couldn't unmount the root filesystem. ... the executable lvm
is, which can do all those things. ... you will get a new prompt, where you type lvm commands.
... I was able to resize the mounted filesystem without going into rescue mode. ...
(Fedora)