Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2010 22:24:54 +0530 (IST)
From:      akash kumar <akashb503@yahoo.co.in>
To:        freebsd-questions@freebsd.org
Subject:   mountroot error with memory based rootfs
Message-ID:  <380848.61900.qm@web95111.mail.in2.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi,=0A=0AI was trying to build root filesystem in to the kernel (i.e using =
/dev/md0) for Mips based target boards. In the process i built tool chain a=
nd kernel successfully.=0ABut when i boot the kernel on the target, it fail=
s to mount the md0 and drops to mountroot prompt. =0A=0Amountroot> ufs:/dev=
/md0=0AROOT MOUNT ERROR=0AIf you have invalid mount options, reboot, and fi=
rst try the following from =0Athe loader prompt: =0A=0Aset vfs.root.mountfr=
om.options=3Drw=0A=0Aand the remove invalid mount options from /etc/fstab.=
=0A=0ALoader variables:=0Avfs.root.mountfrom=3D=0Avfs.root.mountform.option=
s=3D=0A=0AI could see that both the above variables are unset and not sure =
whether this is by default. As i am building a cross kernel, i can't add th=
ese options to /boot/loader.conf files which applies to current host machin=
e.=0A=0APlease help me where the above settings need to be added i.e which =
directory and file for the settings to=A0effect for my target kernel build.=
=0A=0AThanks,=0AAkash.=0A=0A=0A



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?380848.61900.qm>