LVM 1.03 root file system on Redhat 7.3]
Quoted 22 lines · James B. Byrne
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 = 2repeated 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:00Help?
Quoted 9 lines
Regards,
Jim
--- e-mail is NOT a secure channelJames B. Byrne mailto:[email protected] Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757Canada 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: [email protected]
=======================================
Quoted 2 lines · Daniel Savard
Although I am using lilo, I suppose it is the same problem I encountered.
...
Quoted 3 lines
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:[email protected] 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