From: Charles Duffy <cduffy@mvista.com>
To: Les Hazelton <seawolf@attglobal.net>
Cc: linux-lvm@msede.com
Subject: Re: [linux-lvm] Unable to boot using LVM for "/"
Date: Mon, 9 Oct 2000 14:23:42 -0700 [thread overview]
Message-ID: <20001009142342.H6371@mvista.com> (raw)
In-Reply-To: <39E21C56.B57AC5D4@attglobal.net>; from seawolf@attglobal.net on Mon, Oct 09, 2000 at 03:28:22PM -0400
[-- Attachment #1: Type: text/plain, Size: 1661 bytes --]
On Mon, Oct 09, 2000 at 03:28:22PM -0400, Les Hazelton wrote:
> I have been attempting to move my root partition to a logical volume and
> eliminate the current normal partition. No luck. I have read the
> lvmcreate_initrd man page found at
>
> http://linux.msede.com/lvm/man/man2html.cgi?lvmcreate_initrd:8
>
> and followed those instructions but it doesn't work for me. I have tried
> two different versions of lilo (lilo-0.21.5.1-4mdk and the 0.21.6
> binaries from the lilo site) and get the same result from both.
>
> If I use grub with the menu.lst shown below I can boot the entry for
> linux-2 and the system runs correctly. Neither of the other two entries
> will boot correctly. The /dev/hda9 is the real partition I am attempting
> to eliminate. If I try to boot the first, linux, entry it gets a kernel
> panic because it can't locate init. The third entry produces a kernel
> panic because it can't mound device 0:0
"root=/dev/vg01/main" fails because the kernel, when booting, just
determines the major/minor numbers for the root partition based on
looking up the root device in a fixed table. What you need to do to
get the "test" entry running is change the root to the major/minor
number combo in hex; in my case, where /dev/vg01/root has major/minor
number 58,3 in decimal, I pass "root=3a03" to grub and that works
correctly.
Note that the above presumes that the initrd runs correctly. Does it?
(Be aware that I had to add /dev/console and /dev/tty0 entries to the
initrd to see output from the programs run from it... this may have
been fixed by now, or maybe not).
Hope this has been of some use.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2000-10-09 21:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-09 19:28 [linux-lvm] Unable to boot using LVM for "/" Les Hazelton
2000-10-09 21:23 ` Charles Duffy [this message]
2000-10-10 3:35 ` Les Hazelton
[not found] ` <20001010124051.B24659@mvista.com>
2000-10-11 3:42 ` Les Hazelton
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=20001009142342.H6371@mvista.com \
--to=cduffy@mvista.com \
--cc=linux-lvm@msede.com \
--cc=seawolf@attglobal.net \
/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.