Re: grub and rootfs as LVM
- From: Stefan Monnier <monnier@xxxxxxxxxxxxxxxx>
- Date: Mon, 30 Apr 2007 04:48:45 -0400
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?
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).
Stefan
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: grub and rootfs as LVM
- From: Yuwen Dai
- Re: grub and rootfs as LVM
- References:
- grub and rootfs as LVM
- From: Yuwen Dai
- grub and rootfs as LVM
- Prev by Date: Re: Who will do `depmod -a' in Etch?
- Next by Date: Re: truetype fonts in x11, wrong metrics?
- Previous by thread: grub and rootfs as LVM
- Next by thread: Re: grub and rootfs as LVM
- Index(es):
Relevant Pages
|