All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry DE CARVALHO <thierry.decarvalho@online.fr>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] LVM 1.03 root file system on Redhat 7.3
Date: Thu May 30 12:50:02 2002	[thread overview]
Message-ID: <3CF6653D.6DD2E0E@online.fr> (raw)
In-Reply-To: 3CF4C4D4.13851.A9276BF@localhost

"James B. Byrne" wrote:
> 
> 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

The problem is that at this time the kernel don't known anything about
your LVs and their major/minor ! (the root FS is not mounted).
It uses an internal table for translating /dev/hda* and others to 
major/minor(see init/main.c).

Try with grub (here /dev/vg00/lvol1 is the root fs):

title=GNU/Linux Debian 2.2 (potato)
kernel (hd0,1)/vmlinuz-2.2.19 root=3a00 ramdisk_size=8192 vga=10
#                                   ^^^^ <major><minor> of the lv device in hex
initrd (hd0,1)/initrd-lvm-2.2.19.gz

  reply	other threads:[~2002-05-30 12:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-29 11:10 [linux-lvm] LVM 1.03 root file system on Redhat 7.3 James B. Byrne 
2002-05-30 12:50 ` Thierry DE CARVALHO [this message]
     [not found] <E17DJKw-0006ou-00@hermes.sistina.com>
2002-05-30 19:21 ` Daniel Savard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CF6653D.6DD2E0E@online.fr \
    --to=thierry.decarvalho@online.fr \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.