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
- Re: grub and rootfs as LVM
... > initrd, adding all dm-* modules to the initrd. ... Any suggestion?
... once the boot is over, /dev/Debian/root can be used just fine, it looks ...
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... (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: 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) - Re: Kernel compile the old way
... Manoj Srivastava writes: ... (including encrypted swap). ...
everyone should always use initrd, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
... (Debian-User) - RE: FC3 SMP builds do NOT contain ext3 drivers in the build!!!!
... I guess I need to re-build the initrd or wait for a new kernel ... if you run
mkinitrd does the resulting initrd ... Chris Johnson, RHCE #807000448202021 ...
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ... (Fedora)