* Re: [linux-lvm] LVM 1.03 root file system on Redhat 7.3]
@ 2002-05-30 19:24 Daniel Savard
2002-06-01 10:44 ` James B. Byrne
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Savard @ 2002-05-30 19:24 UTC (permalink / raw)
To: linux-lvm; +Cc: ByrneJB
le jeu 30-05-2002 à 02:22, James B. Byrne a écrit :
>
> We are using the grub bootloader. We have followed the
> instructions contained in the the lvm howto document provided by
> sistina, to the best of my ability to understand them.
>
> The problem is that system gives a kernel panic when started using
> the lvm boot option. Is there a way to redirect the boot dialogue
> output to a file? It appears that the most informative messages may
> be scrolling of the top of the screen. What I am seeing is this:
>
> kmod: failed to exec /sbin/modeprobe -s -k block-major-7 errno = 2
>
> repeated 16 times, followed by
>
> vgvchange -- volume group "vg00" successfully activated
>
> VFS: Cannot open root device "vg00"/lv01: or 00:00
> Please append correct "root=" boot option
> Kernel panic: VFS: Unable to mount root fs on 00:00
>
> Help?
>
> Regards,
> Jim
> --- e-mail is NOT a secure channel
> James B. Byrne mailto:ByrneJB@Harte-Lyne.ca
> Harte & Lyne Limited http://www.harte-lyne.ca
> 9 Brockley Drive vox: +1 905 561 1241
> Hamilton, Ontario fax: +1 905 561 0757
> Canada L8E 3C3
>
Although I am using lilo, I suppose it is the same problem I
encountered.
Don't know GRUB, but I suppose there is a line which specify your root
filesystem. You should have something like: /dev/myvg/mylv instead of
/dev/sdaX or /dev/hdaX or any disk name.
If you already use this naming scheme, I suggest you post you GRUB
configuration file, in order to help us understand how things are
configured.
Regards,
--
=======================================
Daniel Savard
Consultation Informatique Daniel Savard
551, boul. Sir-Wilfrid-Laurier
suite 105
Beloeil, (Québec)
Canada J3G 4J1
Tél: (450) 467-8014
Internet: dsavard@cids.ca
=======================================
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] LVM 1.03 root file system on Redhat 7.3]
2002-05-30 19:24 [linux-lvm] LVM 1.03 root file system on Redhat 7.3] Daniel Savard
@ 2002-06-01 10:44 ` James B. Byrne
0 siblings, 0 replies; 2+ messages in thread
From: James B. Byrne @ 2002-06-01 10:44 UTC (permalink / raw)
To: Daniel Savard; +Cc: linux-lvm
On 30 May 2002 at 20:23, Daniel Savard wrote:
> Although I am using lilo, I suppose it is the same problem I
> encountered.
...
> If you already use this naming scheme, I suggest you post you GRUB
> configuration file, in order to help us understand how things are
> configured.
Here is my grub.conf. I regret that my experience with linux, indeed
any form of unix, is somewhat limited. For obvious reasons the lvm
boot load is not the default. I have made alterations to rc.sysinit to
properly call lvm-mod when the kernel loads and to the shutdown
script to run vgchange -an. RedHat's provided rc.sysint has a
dependency on /proc/lvm which cannot be satisfied until after lvm-
mod loads, a rather curious chicken and egg problem.
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to
this
file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
password --md5 $1$ÖüúSòäZu$AgP2aFa3WBiVGu2BKOY5G1
title Red Hat Linux (2.4.18-4)
root (hd0,0)
kernel /vmlinuz-2.4.18-4 ro root=/dev/hda3
initrd /initrd-2.4.18-4.img
title Red Hat Linux (2.4.18-4) lvm root file system
root (hd0,0)
kernel /vmlinuz-2.4.18-4 ro ramdisk_size=8192
root=/dev/vg00/lv01
initrd /initrd-lvm-2.4.18-4.gz
title Red Hat Linux (2.4.18-3)
root (hd0,0)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda3
initrd /initrd-2.4.18-3.img
--- e-mail is NOT a secure channel
James B. Byrne mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-06-01 10:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-30 19:24 [linux-lvm] LVM 1.03 root file system on Redhat 7.3] Daniel Savard
2002-06-01 10:44 ` James B. Byrne
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.