All of lore.kernel.org
 help / color / mirror / Atom feed
From: Evan Day <banal@home.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] LVM on root, Kernel panic: "I have no root and I must  scream"
Date: Sat, 28 Apr 2001 10:43:34 -0700	[thread overview]
Message-ID: <3AEB0146.C9D05ED5@home.com> (raw)
In-Reply-To: 20010428095923.B4149@colombina.comedia.it

A quick thanks to everyone on the list who offered tips & advice for making
my setup work.  I finally got everything loaded, configured, partitioned,
mirrored, and LVMed!

Problem 1: needed to use install-mbr to put an MBR on /dev/sda and /dev/sdb.
Problem 2: needed to upgrade LILO

Now I have the install-mbr MBR booting, which gets me to LILO (21.7) 
installed on /dev/md0 (/dev/sda1, /dev/sdb1).  The older version of LILO I 
was using (21.5) didn't seem to work with md devices (I recall reading about
that somewhere, too).

Running Kernel 2.4.4 w/ LVM 0.9.1b7 (had to make a minor change to lvm.c to 
get the kernel to compile):

day@kirk:~$ df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/vg00/lvol1         131064    102124     28940  78% /
/dev/md0                 48056     38656      9400  80% /boot
/dev/vg00/lvol2        1048540    551088    497452  53% /usr
/dev/vg00/lvol3         262132    130240    131892  50% /var
/dev/vg00/lvol4         262132     32840    229292  13% /tmp
/dev/vg00/lvol5         262132     32840    229292  13% /hom

kirk:~# fdisk /dev/sda

Command (m for help): p

Disk /dev/sda: 255 heads, 63 sectors, 522 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1         6     48163+  fd  Linux raid autodetect
/dev/sda2             7        23    136552+  82  Linux swap
/dev/sda3            24        40    136552+  82  Linux swap
/dev/sda4            41       522   3871665   fd  Linux raid autodetect

(/dev/sdb is the same)

kirk:~# cat /etc/lilo.conf
lba32
boot=/dev/md0
root=/dev/hda2
install=/boot/boot.b
map=/boot/map
delay=20
vga=normal
default=lvm-linux

image=/vmlinuz
        label=linux
        read-only
        initrd=/boot/initrd-lvm-2.4.4.gz

image=/vmlinuz.lvm
        label=lvm-linux
        initrd=/boot/initrd-lvm-2.4.4.gz
        root=/dev/vg00/lvol1
        read-only

image=/vmlinuz.old
        label=linux-old
        read-only
        optional

Thanks again!
-Evan

  reply	other threads:[~2001-04-28 17:43 UTC|newest]

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

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=3AEB0146.C9D05ED5@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 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.