linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Evan Day <banal@home.com>
To: linux-lvm@sistina.com
Subject: [linux-lvm] LVM on root, Kernel panic: "I have no root and I must scream"
Date: Fri, 27 Apr 2001 00:08:31 -0700	[thread overview]
Message-ID: <3AE91AEF.22ABDC51@home.com> (raw)

I thought I had everything set up right...

I've got a system with two SCSI disks.  Currently the system is mostly
installed on /dev/sda using a straight ext2 setup.  I'm using GRUB as the
bootloader since LILO has been giving me problems.  Currently on kernel 2.4.3
using the lvm 0.9.1beta7 patches and lvm tools.

My intention is to mirror the disks using Linux software RAID, with 
/dev/sda1 and /dev/sdb1 as /dev/md0 (mounted as /boot) and /dev/sda4 and
/dev/sdb4 as /dev/md1, which will be VG00 and have the rest of the system
on it, with most everything using the reiserfs.

Right now, /dev/md0 is working as /boot (reiserfs), with the rest of the
system on /dev/sda (/dev/sda2 is root).  I've created /dev/vg00 and 
/dev/md1 (with /dev/sda4 failed) and built a new root logical volume on
/dev/vg00/lvol1.  This works fine and I can mount it on /mnt and copy 
/ over to it just fine, then edit /mnt/etc/fstab to put root on
/dev/vg00/lvol1.

I used lvmcreate_initrd to make /boot/initrd-lvm-2.4.3.gz, and can boot grub
with initrd just fine.  At boot time, it boots the kernel, loads the ram 
disk, runs /linuxrc and successfully activates /dev/vg00.  I have LVM, 
reiserfs, and, RAID-1 in the kernel (no modules).

After activating vg00 and umounting /proc (in initrd/linuxrc), the system 
dies:

Kernel panic: I have no root and I must scream!

I thought it might be that having the LV on the RAID was too complex, and 
tried creating a VG on a partition, but I still get the same result.  I've 
edited the linuxrc on the initrd and both vgdisplay and lvdisplay show the 
correct info.

The line from /etc/fstab

/dev/vg00/lvol1	/	reiserfs	defaults,errors=remount-ro 0 1
(tried formatting ext2 and it still fails)

Saw one other message on this dated April 9, 2001, but no apparent 
resolution.

HELP!

             reply	other threads:[~2001-04-27  7:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-27  7:08 Evan Day [this message]
2001-04-27 20:47 ` [linux-lvm] LVM on root, Kernel panic: "I have no root and I must scream" Luca Berra
2001-04-27 21:33   ` Goetz Bock
  -- strict thread matches above, loose matches on Subject: below --
2001-04-27 20:48 Day, Evan
2001-04-27 21:11 ` Luca Berra
2001-04-27 21:39 Day, Evan
2001-04-27 22:00 ` AJ Lewis
2001-04-28  7:59 ` Luca Berra
2001-04-28 17:43   ` Evan Day
2001-04-27 22:06 Day, Evan
2001-04-27 23:40 ` Goetz Bock
2001-04-29 19:18   ` Terje Kvernes

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=3AE91AEF.22ABDC51@home.com \
    --to=banal@home.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).