Segmentation fault on FreeNAS 8 boot

Status
Not open for further replies.

Kiyus

Cadet
Joined
Sep 22, 2013
Messages
3
I've been running FreeNAS 8 for a while now but there was a hard reset (power went out) and now when my system boots it runs into a "segmentation fault".

During boot it displays these lines:

GEOM: da0s1: geometry does not match label (16h,63s != 255h,63s).
GEOM: da0s2: geometry does not match label (16h,63s != 255h,63s).
Trying to mount root from ufs:/dev/ufs/FreeNASs2a
WARMING: / was not properly dismounted
pid 26 (mount), uid 0: exited on signal 11
Segmentation fault
pid 28 (mount), uid 0: exited on signal 11
Segmentation fault
mount -o ro /dev/ufs/FreeNASs3 /conf/default/etc failed: dropping into /bin/sh

What's going on and how do I fix it? Any help would be appreciated.

Thanks
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
Your USB key is corrupted. Easiest fix is to reinstall FreeNAS and restore the config backup.
 

Kiyus

Cadet
Joined
Sep 22, 2013
Messages
3
Foolishly I don't have a config backup. Is there some way to force mount the drive to get the config settings off of the old usb?
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
You could try to plug it into a FreeBSD machine/VM and fsck and mount it. The config file is in the 4th partition (da0s4), it's the freenas-v1.db file.
 

Kiyus

Cadet
Joined
Sep 22, 2013
Messages
3
Thank you so much! I managed to salvage my config file and use it on a new OS install.
 
Status
Not open for further replies.
Top