Root mount error when booting from USB

Status
Not open for further replies.

biozinc

Cadet
Joined
Jul 31, 2011
Messages
5
I've just dd'd 8.0.2 amd64 image to a flash drive and booted up FreeNAS. I'm getting a "ROOT MOUNT ERROR" on boot:

Code:
umass0: <vendor 0x1005 USB FLASH DRIVE, class 0/0, rev 2.00/1.00, addr 2> on usbus4
Oct 15 21:18:40 morpork kernel: Root mount waiting for: usbus4
Oct 15 21:18:40 morpork kernel: Trying to mount root from ufs:/dev/ufs/FreeNASs1a
Oct 15 21:18:40 morpork kernel: ROOT MOUNT ERROR: 
Oct 15 21:18:40 morpork kernel: If you have invalid mount options, reboot, and first try the following from
Oct 15 21:18:40 morpork kernel: the loader prompt:
Oct 15 21:18:40 morpork kernel: 
Oct 15 21:18:40 morpork kernel: set vfs.root.mountfrom.options=rw
Oct 15 21:18:40 morpork kernel: 
Oct 15 21:18:40 morpork kernel: and then remove invalid mount options from /etc/fstab.
Oct 15 21:18:40 morpork kernel: 
Oct 15 21:18:40 morpork kernel: Loader variables:da0 at umass-sim0 bus 0 scbus4 targe
Oct 15 21:18:40 morpork kernel: t v0f sl.urno ot0.mountfrom=
Oct 15 21:18:40 morpork kernel: da0: ufs:/dev/ufs/FreeNASs1a< USB FLASH DRIVE PMAP> Removable Direct Access SCSI-0 device 
Oct 15 21:18:40 morpork kernel: da0: 40.000MB/s transfers
Oct 15 21:18:40 morpork kernel: vfs.root.mountfrom.options=ro
Oct 15 21:18:40 morpork kernel: da0: 3824MB (7831552 512 byte sectors: 255H 63S/T 487C)
Oct 15 21:18:40 morpork kernel: 
Oct 15 21:18:40 morpork kernel: 
Oct 15 21:18:40 morpork kernel: Manual root filesystem specification:
Oct 15 21:18:40 morpork kernel: <fstype>:<device>  Mount <device> using filesystem <fstype>
Oct 15 21:18:40 morpork kernel: eg. ufs:/dev/da0s1a
Oct 15 21:18:40 morpork kernel: eg. cd9660:/dev/acd0
Oct 15 21:18:40 morpork kernel: This is equivalent to: mount -t cd9660 /dev/acd0 /
Oct 15 21:18:40 morpork kernel: 
Oct 15 21:18:40 morpork kernel: ?                  List valid disk boot devices
Oct 15 21:18:40 morpork kernel: <empty line>       Abort manual input
Oct 15 21:18:40 morpork kernel: 
Oct 15 21:18:40 morpork kernel: mountroot> GEOM: da0s1: geometry does not match label (16h,63s != 255h,63s).
Oct 15 21:18:40 morpork kernel: ufs:/dev/ufs/FreeNASs1a
Oct 15 21:18:40 morpork kernel: Trying to mount root from ufs:/dev/ufs/FreeNASs1a
Oct 15 21:18:40 morpork kernel: ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;
Oct 15 21:18:40 morpork kernel: to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
Oct 15 21:18:40 morpork kernel: ZFS filesystem version 4
Oct 15 21:18:40 morpork kernel: ZFS storage pool version 15


The startup sequence stoops asking for input. If I type in ifs:/dev/ufs/FreeNASs1a, it completes, and starts up fine. However, this means the box doesn't boot properly without manual input. What am I doing wrong here?

Motherboard: Intel D510MO, 4Gb RAM
Flash Drive: 4Gb Apacer
 

Milhouse

Guru
Joined
Jun 1, 2011
Messages
564
Try writing the image to the USB drive again - my initial reaction is that it's corrupt. Which image did you use, "Full Install"? Check the sha256 to make sure what you downloaded is correct.
 

biozinc

Cadet
Joined
Jul 31, 2011
Messages
5
So an update:

- I wrote the image again to a different flashdrive, but using Physdiskwrite this time. The flash drive was a Kingston DataTraveler 8Gb. The exact same thing occured.
- Checked the SHA256 hash of the Full_Install.xz. It's correct

and

- In the meanwhile, added another 2 disks to the box, and now it boots correctly! I still get this bit of output:

Code:
Oct 16 00:13:06 morpork kernel: GEOM: da0s1: geometry does not match label (16h,63s != 255h,63s).
Oct 16 00:13:06 morpork kernel: Trying to mount root from ufs:/dev/ufs/FreeNASs1a


I'm worried that the problem is not solved and may come back. Any ideas?
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
Those errors are 'normal', they happen to everyone during every boot, don't worry.

It's interesting how the problem fixed itself after adding the disks. Hopefully this will be a clue to help the developers fix the problem.
 

d_shev

Cadet
Joined
Oct 20, 2011
Messages
2
solved

I solve this disabling USB 2.0 support in BIOS.
My Motherboard - ASUS M2N-e
 

MattRussNC

Cadet
Joined
Nov 11, 2011
Messages
1
I am having the same issue. Strange though as it seems to have persisted across two completely separate unrelated setups (mobo, drives, usb stick, and all). First thought was a bad install so i tried again at least three times on each system with no luck. Swapped flash drives in the event one was bad still with no luck. Thought i had a bad cd so i tried a several fresh burns from multiple fresh downloads (8.0.2 32bit version, and the current night lightly also 32bit). Tried the advise with disabling usb 2.0 in bios also with no change.
 

d_shev

Cadet
Joined
Oct 20, 2011
Messages
2
Try to change other parameters in BIOS (In the first place - related to USB)
 

andrewg

Cadet
Joined
Apr 4, 2012
Messages
5
Status
Not open for further replies.
Top