After I installed bering1.2 on /dev/hda1 of an disk-on-chip IDE, I whant to
release the ram used by the root device in /dev/ram0.
I copied the hole root into /dev/hda2 and made a new initrd2.lrp where I added
pertinent fs and included some code in linuxrc to mount the new root. Then I
added an option in syslinux.cfg where root=/dev/hda2 ant intird=initrd2.lrp.

Unfortunatly init complains:
USAGE: init 0123456SsQqAaBbCcUu
cannot open root device "hda2" or "03:02"
Please append correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:02

I put a sh -i in linuxrc just befor exec /sbin/init and found aparently all OK.
I got from mount
rootfs on / type rootfs (rw)
/dev/root.old on /initrd type minix (rw)
/dev/hda2 on / type ext3 (rw)
/proc on /proc type proc (rw)
tmpfs on /tmp type tmpfs (rw)
tmpfs on /var/log type tmpfs (rw)


I also check /proc/cmdline where root=/dev/hda2

Is there any way to install to put the root in /dev/hda2 and free up the ram
used normaly by /dev/ram0 ?

Any help how to correct things so that /sbin/init doesn't complains ?
I doesn't understand why init is complaining about mounting root if it is
allready mounted and working ?

Thanks,

Alex


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to