Compiled nanobsd and got this error at boot:
Listed the available drives, ..?
Noticed that the disk names do not match, ..
ofcourse , .. after typing ufs:/dev/ada0s1
Since this is a configuration file specific to this hardware. Maybe, it should be changed to the actual device name. So when someone wants to play with it, they're provided with an actual working configuration file ?
Code:
Trying to mount root from ufs:/dev/ad0s1a [ro]...
Root mount waiting for: usbus1 usbus0
uhub0: 4 ports with 4 removable, self powered
Root mount waiting for: usbus1
uhub1: 4 ports with 4 removable, self powered
mountroot: waiting for device /dev/ad0s1a...
Mounting from ufs:/dev/ad0s1a failed with error 19.
Loader variables:
vfs.root.mountfrom=ufs:/dev/ad0s1a
vfs.root.mountfrom.options=ro
Manual root filesystem specification:
<fstype>:<device> [options]
Mount <device> using filesystem <fstype>
and with the specified (optional) option list.
eg. ufs:/dev/da0s1a
zfs:tank
cd9660:/dev/cd0 ro
(which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)
? List valid disk boot devices
. Yield 1 second (for background tasks)
<empty line> Abort manual input
mountroot>
Listed the available drives, ..?
Code:
mountroot> ?
List of GEOM managed disk devices:
ufsid/5a724a1d59b386c0 diskid/DISK-20110805%20CF13120Es1a ufsid/5a724a28e934bfef ada0s1a diskid/DISK-20110805%20CF13120Es3 diskid/DISK-20110805%20CF13120Es2 diskid/DISK-20110805%20CF13120Es1 ada0s3 ada0s2 ada0s1 diskid/DISK-20110805%20CF13120E ada0
mountroot>
Noticed that the disk names do not match, ..
ofcourse , .. after typing ufs:/dev/ada0s1
Code:
mountroot> ufs:/dev/ada0s1a
Trying to mount root from ufs:/dev/ada0s1a []...
mount: /dev/ad0s3: No such file or directory
mount -o ro /dev/ad0s3 /conf/default/etc failed: dropping into /bin/sh
# random: unblocking device.
Since this is a configuration file specific to this hardware. Maybe, it should be changed to the actual device name. So when someone wants to play with it, they're provided with an actual working configuration file ?
Code:
Index: alix_dsk.conf
===================================================================
--- alix_dsk.conf (revision 328623)
+++ alix_dsk.conf (working copy)
@@ -24,6 +24,6 @@
NANO_INIT_IMG2="0"
#NANO_BOOT0CFG="-o packet,noupdate -s 1 -m 3"
NANO_BOOT0CFG="-o packet,update,nosetdrv -s 1 -m 3"
-NANO_DRIVE=ad0
+NANO_DRIVE=ada0
. common.conf