* [linux-lvm] LVM Root
@ 2003-01-20 19:51 tlove
2003-01-22 2:38 ` Luca Berra
0 siblings, 1 reply; 2+ messages in thread
From: tlove @ 2003-01-20 19:51 UTC (permalink / raw)
To: linux-lvm@sistina.com
Hi all,
I've been trying to create an LVM root on my system, and have followed the
various how-to. I have been successful so far creating my kernel with initrd
and LVM (version 2) support, and my initrd image.
I have two partitions on the drive - a 20MB boot partition with the kernel and
grub on it - and the second containing my LVM FS.
grub.conf (menu.lst):
title= initrd test
root (hd0,0)
kernel /boot/bzImage root=FE02 ramdisk 8192
initrd /inird.gz
when I boot I get:
<runs vgscan and vgchange -ay successfully (finds LVs)> then...
device-mapper: unknown block ioctl 0x5310
reiserfs: checking trasaction log (device fe:02) ...
Warning, log replay starting on readonly filesystem
Using r5 hash to sort names
ReiserFS version 3.6.25
VFS: Mounted root reiserfs filesystem) readonly
Trying to move old root to /initrd ... failed
Unmounting old root
Trying to free ramdisk memory ... okay
mount_dev_fs(): unable to mount devfs, err: -2
Freeing unused kernel memory: 120k freed
Warning: unable to open an initial console.
Kernel panic: No init found. Try passing init= option to kernel.
Any help would be much appreciated!
--Ted
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] LVM Root
2003-01-20 19:51 [linux-lvm] LVM Root tlove
@ 2003-01-22 2:38 ` Luca Berra
0 siblings, 0 replies; 2+ messages in thread
From: Luca Berra @ 2003-01-22 2:38 UTC (permalink / raw)
To: linux-lvm@sistina.com
On Mon, Jan 20, 2003 at 08:51:46PM -0500, tlove@serviceweb.net wrote:
>VFS: Mounted root reiserfs filesystem) readonly
>Trying to move old root to /initrd ... failed
try creating a /initrd directory (i suppose this is a pivot_root call
which fails).
>Unmounting old root
i wonder what is it unmounting since pivot_root failed can you send the
/linuxrc code
>Trying to free ramdisk memory ... okay
>mount_dev_fs(): unable to mount devfs, err: -2
dunno, hope it comes from an error before
>Freeing unused kernel memory: 120k freed
>Warning: unable to open an initial console.
yep it could'nt mount dev in the above step
>Kernel panic: No init found. Try passing init= option to kernel.
....
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-22 2:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-20 19:51 [linux-lvm] LVM Root tlove
2003-01-22 2:38 ` Luca Berra
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.