[Evms-announce] booting from a mirror with initrd

Jeroen Vriesman <[email protected]> Mon, 26 Aug 2002 20:02:04 +0200
Newsgroups gmane.linux.evms.announce
Organization Dynaserv
Message-ID <[email protected]>
Hi there evms-folks,

I got a new server installed with Mandrake 9.0, booting with grub from /d=
ev/md0.

I intsalled evms, and try to boot with the evms kernel with an initrd fro=
m what orininally was /dev/md0.

I boot with Grub, and have the following entry in menu.lst:

title 2.4.19-evms
kernel (hd0,0)/boot/vmlinuz-2.4.19-evms root=3D/dev/evms/md/md0 devfs=3Dm=
ount
initrd (hd0,0)/boot/initrd-2.4.19-evms.img

Which is the same as the working boot entry booting from md0, exept for t=
he =A8root=3D/dev/evms/md/md0=A8 (<- is that correct?)

Now I getting a good-old kernel panic when it tries to mount the root, it=
 does detect the raid devices during kernel boot (I compiled all the evms=
 stuff into the kernel, no modules).

In my original initrd, linuxrc has:

echo Creating root device
mkrootdev /dev/root
raidautorun /safedev/md0
echo 0x0100 > /proc/sys/kernel/real-root-dev
umount /proc
echo Mounting root filesystem
mount --ro -t ext3 /dev/root /sysroot
pivot_root /sysroot /sysroot/initrd
echo Remounting devfs at correct place if necessary
handledevfs

I commented out the =A8raidautorun /safedev/md0=A8, and left out the raid=
1 module, but I don't know what to do with the:

echo 0x0100 > /proc/sys/kernel/real-root-dev

When I comment it out, it's unable to mount the root.

Any ideas?

Cheers,
Jeroen.


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Evms-announce mailing list
[email protected]
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-announce