This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

How to install on a CF

New installs of XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
plegault
NewUser
NewUser
Posts: 10
Joined: 17 Sep 2012 04:02
Status: Offline

How to install on a CF

Post by plegault »

I've been going through several how-tos but cannot find a working solution for this.

I'm trying to install from the LiveUSB img file onto a CF:

dd if=NAS4Free-x64-LiveUSB-9.1.0.1.273.img of=/dev/ada4

System boots fine, I can import my ZFS pool but for the life of me, it seems impossible to make any changes to the configuration and everything is lost on reboot.

What's the deal with this?

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: How to install on a CF

Post by raulfg3 »

please check if is the same problem that alexey123 describe here: viewtopic.php?p=4646#p4646
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

armandh
Advanced User
Advanced User
Posts: 398
Joined: 23 Jun 2012 04:15
Location: St Louis County Missouri USA
Status: Offline

Re: How to install on a CF

Post by armandh »

I do not use the .img file. I prefer the CD .iso
and use a CD to load NAS4Free on to most any boot medium.
simple and to date, no problems!

it does not have to be done on the computer which will become the NAS
However when wiping and loading on another computer,
use great care to select the correct drive.

I have used for a embedded boot drive

1] live CD
2} a small Hdd
3] usb thumb drive
4] a micro sd [internal usb]
5] a SATA flash drive
6] both 40 and 44 pin PATA flash drives
what ever the hardware works well with

the SATA and PATA flash
http://www.logicsupply.com/categories/f ... sh_modules

of the 3 below
the 4 thread uses a 40 pin flash
the 2 thread uses a SATA flash
the 1 thread uses a 44 pin flash with a cable adapter to 40 pin

everything I have used was loaded from a CD
4 thread 3300 Mhz Intel i3, 1 TB ZFS mirror, available RAM 7.823 Gb, 64 bit NAS4Free 9.1.0.1 rev 573 [88 watts, 48 Mbps]
2 thread 1600 Mhz atom/ion, 1 TB ZFS mirror, available RAM 3.083 Gb, 64 bit NAS4Free-9.1.0.1 rev 573 [27 watts, 35 Mbps]
2 thread 3900 Mhz AMD A6-6400K, 2 TB ZFS Mirror, available RAM 7.557 Gb, 64 bit Nas4Free 9.3.0.2.1771 [89 watts, 68 Mbps]

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: How to install on a CF

Post by daoyama »

plegault wrote:I'm trying to install from the LiveUSB img file onto a CF:

dd if=NAS4Free-x64-LiveUSB-9.1.0.1.273.img of=/dev/ada4
LiveUSB is as same as LiveCD. If you want change it, you must install NAS4Free after bootup LiveUSB.
If you want modify CF, boot from another CF or USB then install to CF by console menu.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

plegault
NewUser
NewUser
Posts: 10
Joined: 17 Sep 2012 04:02
Status: Offline

Re: How to install on a CF

Post by plegault »

I'm running on a headless box. Is there any way to install the embedded version via an ssh session after bootup? I haven't seen this console menu on bootup.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: How to install on a CF

Post by raulfg3 »

plegault wrote:I'm running on a headless box. Is there any way to install the embedded version via an ssh session after bootup? I haven't seen this console menu on bootup.
You can install embeded version on other machine Eg: Win7 machine using dd or phisicdiskwrite , etc... see this post. viewtopic.php?f=55&t=19

But remember that embeded version is designed to run on RAM so all manual changes are lost when reboot ( you maintain changes that you do using webgui, but you can't install aditional packages or modify config files by hand).

If you need persistent changes, you need full install, and you need monitor & keyboard to do the install.

viewtopic.php?f=15&t=606
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Onichan
Advanced User
Advanced User
Posts: 238
Joined: 04 Jul 2012 21:41
Status: Offline

Re: How to install on a CF

Post by Onichan »

raulfg3 wrote:
plegault wrote:I'm running on a headless box. Is there any way to install the embedded version via an ssh session after bootup? I haven't seen this console menu on bootup.
You can install embeded version on other machine Eg: Win7 machine using dd or phisicdiskwrite , etc... see this post. viewtopic.php?f=55&t=19

But remember that embeded version is designed to run on RAM so all manual changes are lost when reboot ( you maintain changes that you do using webgui, but you can't install aditional packages or modify config files by hand).

If you need persistent changes, you need full install, and you need monitor & keyboard to do the install.

viewtopic.php?f=15&t=606
I have actually done a full install using VMware. Plug the USB/CF device into your desktop that has VMware Workstation running. Then attach the USB device to the virtual and mount the ISO to the virtual then boot. I did this for my last full upgrade.

plegault
NewUser
NewUser
Posts: 10
Joined: 17 Sep 2012 04:02
Status: Offline

Re: How to install on a CF

Post by plegault »

I also tried to dd the embedded OS onto the CF card but that is simply unreadable afterwards.

I also tried to have my config.xml copied on the mounted CF card in /mnt/cf/conf/config.xml but that is completely ignored on bootup.

plegault
NewUser
NewUser
Posts: 10
Joined: 17 Sep 2012 04:02
Status: Offline

Re: How to install on a CF

Post by plegault »

plegault wrote:I also tried to dd the embedded OS onto the CF card but that is simply unreadable afterwards.

I also tried to have my config.xml copied on the mounted CF card in /mnt/cf/conf/config.xml but that is completely ignored on bootup.
I'm just a little mesmerized that this was so easy on FreeNAS and has become quite the headache on NAS4Free.

Is it possible to just dd the embedded version to a device? Anybody here having done that?

User avatar
shakky4711
Advanced User
Advanced User
Posts: 273
Joined: 25 Jun 2012 08:27
Status: Offline

Re: How to install on a CF

Post by shakky4711 »

Hello,

the current image files are no plain dd images, they are compressed with gzip.

Code: Select all

user@ede:~/Downloads/9.1.0.1.262$ gunzip -l NAS4Free-x64-embedded-9.1.0.1.262.img
         compressed        uncompressed  ratio uncompressed_name
           79641071            91865088  13.3% NAS4Free-x64-embedded-9.1.0.1.262.img
user@ede:
So just uncompress the file, then you can dd the uncompressed file.

One forum member suggested to rename these ".img" files at Sourceforge to "img.gz", then people do not run in these problems because they know it is necessary to uncompress before dd the file.

But this would break the possibility to upgrade older embedded installs which expect ".img" files, so I understand the developers can not switch. But a big warning could be sensefull, but as I know from practice only < 0.1 percent from all users read any README.FIRST files :roll:

Shakky

wallacefung
NewUser
NewUser
Posts: 2
Joined: 07 Sep 2012 13:25
Status: Offline

Re: How to install on a CF

Post by wallacefung »

I am running Full ver Nas4Free on my 4GB USB Stick. It works fine
Version 9.1.0.1 - Sandstorm (revision 306)
Platform x86-full on Intel(R) Core(TM) Solo CPU U1500 @ 1.33GHz
System XZX ITX Bios: 080013 07/02/2009
Memory 2GB Ram
Boot 4GB Kingston USB Stick
HDD WD Green 1TB WDC WD10EARS-00Y5B1

Post Reply

Return to “Install XigmaNAS”