Page 1 of 1

Installating FreeNAS 7 from USB KEY

Posted: 23 Jun 2014 15:00
by Helpmeh
Hi,

I'm using FreeNAS 0.7 (and I don't want to change)

I have an error at booting..

So, I am going to format it and reinject config.xml file to recover the previous configuration. That's a reason why I don't want to upgrade : I'm not an experimented technicien and location of the config.xml is not the same or there are some manipulations to do I can't assume.

I want to install the same version FROM an usb key TO the hard disk (system + swap + DATA ). I already know that is not the best way.

But actually, I don't manage to access the content of the key when booting.

I tried burning FreeNAS-i386-LiveCD-0.7.4919.iso with Unetbootin, Rufus, RMPrepUSB, ActiveBootDiskCreator..

I tried burning FreeNAS-i386-LiveCD-0.7.4919.img with Win32DiskImager, PhysikDiskWrite.. (I changed the extension .iso to .img lol)

But I have a black screen with a _ where I can't type nothing.

Do I have to format the usb key in a special format? Why don't I find a tutorial which explains that step? Do I have to burn IMG file or ISO file ?

It's confused, and what is more I don't understand all forums in english (I am not english at all !)

Thanks for explanations :)

Regards

Re: Installating FreeNAS 7 from USB KEY

Posted: 23 Jun 2014 15:11
by crowi
For USB you need the .img file, which usually also can be extracted from the .iso file

Did you try this guide?
viewtopic.php?f=55&t=2106

Re: Installating FreeNAS 7 from USB KEY

Posted: 23 Jun 2014 15:22
by b0ssman
they are not hybrid iso files so you can not use the iso for usb booting.

just burn the iso to a cd and boot from that.

the img file for freenas 0.7.1 are for example here
http://iso.linuxquestions.org/freenas/freenas-0.7.1/

Re: Installating FreeNAS 7 from USB KEY

Posted: 23 Jun 2014 15:23
by b0ssman
but most configurations are not that difficult. so it would be quicker to just recreate the config on the new system.

Re: Installating FreeNAS 7 from USB KEY

Posted: 23 Jun 2014 15:47
by Helpmeh
@b0ssman : your link goes to sourceforge and file doesn't exist. And there is no cd-rom drive on the nas, that's why I have to boot on USB


I used 7-zip to extract the FreeNAS-i386-LiveCD-0.7.4919.iso file. It created a folder "FreeNAS-i386-LiveCD-0.7.4919"

In this folder, there are 2 folders :
-[BOOT]
-boot
and 3 files :
-boot.catalog
-FreeNAS-i386-embedded.gz
-mfsroot.gz

Then i extracted -FreeNAS-i386-embedded.gz

It created the folder "FreeNAS-i386-embedded" with the file FreeNAS-i386-embedded.

I used Win32DiskImager to burn this file on my usb key, then i could boot on the NAS!

But, i have not the 9 option to install on the hard disk...

I don't know what to do to get this 9 option ?

Thanks!

Re: Installating FreeNAS 7 from USB KEY

Posted: 23 Jun 2014 17:08
by b0ssman
that means you have already installed it as the embedded version on the usb stick

Re: Installating FreeNAS 7 from USB KEY

Posted: 23 Jun 2014 17:10
by b0ssman
take the drive out of your nas. put it into a computer with a cdrom drive. install it there. then move the drive back into the nas.

Re: Installating FreeNAS 7 from USB KEY

Posted: 23 Jun 2014 17:21
by Helpmeh
take the drive out of your nas.
You are talking about hard disk, right?

Ok, I'll try this.

ps : So is there no way to boot from an USB key ?

Re: Installating FreeNAS 7 from USB KEY

Posted: 23 Jun 2014 17:22
by b0ssman
in nas4free there is.

i dont know why you dont want to upgrade.

Re: Installating FreeNAS 7 from USB KEY

Posted: 23 Jun 2014 23:54
by armandh
you dont have to

I build demonstration and give away boxes using most any small hard disk drive
by putting the embedded OS on a Hdd, and then installing the drive set to spin down in 5 minutes,
shortly after the OS is loaded to memory the drive spins down.
lots of win-98 era drives under 10gb in junk boxes
I completely avoid all the USB issues this way

Re: Installating FreeNAS 7 from USB KEY

Posted: 24 Jun 2014 09:01
by Helpmeh
@armandh : I 'm not sure to understand.

How do you put embedded OS on the hard disk without using a cd-rom drive?

What does "spin down" mean ? To stop?
lots of win-98 era drives under 10gb in junk boxes
Can you rephrase your answer with simpler words please? :oops:

Re: Installating FreeNAS 7 from USB KEY

Posted: 24 Jun 2014 09:23
by raulfg3
Helpmeh wrote:How do you put embedded OS on the hard disk without using a cd-rom drive?
booting from a liveUSB ( if not possible on your NAS on other machine)

PD: Armandh suggest to use old IDE Disk (from laptops) that have all benefits of a Hard Disk and do not cost ( you probably have one old laptop or know someone that have one) and are ideal to install nas4free/FreeNAS on it (full or embeded)

Re: Installating FreeNAS 7 from USB KEY

Posted: 24 Jun 2014 12:12
by b0ssman
also

If you are using FreeNAS 0.7, please be advised that this series has been End-of-Lifed, is no longer available for download from Sourceforge, and poses a security risk as it is not patched against the recent critical Samba and OpenSSL vulnerabilities.

Re: Installating FreeNAS 7 from USB KEY

Posted: 24 Jun 2014 12:25
by raulfg3
As b0ssman says upgrade to latest N4F it's recomended and can't be difficult, in Forums there are a lot of post about sucessfull migrations: viewtopic.php?f=16&t=6751

viewtopic.php?f=16&t=4921

and it's supported by N4F whit some limitations: viewtopic.php?f=16&t=2312

Re: Installating FreeNAS 7 from USB KEY

Posted: 24 Jun 2014 12:35
by b0ssman

Re: Installating FreeNAS 7 from USB KEY

Posted: 25 Jun 2014 19:29
by armandh
I have often had a CD/DVD drive hanging out of the side during an instillation of the OS to a bootable medium.
None of my active N4F storage boxes use USB for anything.
USB is great when it works; but with older hardware,
I always had more issues with USB than successes