Restoring lost boot stick configuration

Status
Not open for further replies.

julez

Cadet
Joined
Oct 20, 2018
Messages
1
Hey,

unfortunately my freenas boot stick seems to be corrupted. When i want to boot up it says:
Code:
error: can't find command 'search'.
error: can't find command 'kfreebsd'.
error: can't find command 'kfreebsd_loadenv'.
...


I've read that one approach is to create a second boot stick and copy the config file. Unfortunately I don't have a copy of the config file so I tried to get the config file with mounting the old bootdrive (described over here):
mount -o ro /dev/da1s4 /var/tmp/cfgmount

The old boot stick has only da1p[0-2], which I can't mount (Invalid arguments or file not found).
Is there any way to get the old config file OR set up a new freenas to get access to my drives?
Unfortunately I don't know if I set up the drives with encryption and which kind of raid (I assume RaidZ or Raid5).

I'm using Freenas 11u1.

Thank you!
julez
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
If your using encryption your out of luck. Otherwise, disconnect your data disks (just to be safe) and install a new FreeNAS to a new USB. Shutdown, reconnect your old drives, boot, and it should see your pool and be able to import it.
WARNING: when you see the setup wizard on your first boot, CLOSE IT.
http://doc.freenas.org/11/storage.html#import-volume
 
Status
Not open for further replies.
Top