User Tools

Site Tools


documentation:setup_and_user_guide:installing_nas4free_on_disk



Installing NAS4Free on disk

WARNING: NAS4Free is a standalone Operation System (OS) and NAS appliance.

Installing NAS4Free wipes any existing content on the destination disk. Existing files will be deleted as part of the installation process.

The install process of NAS4Free doesn’t support Dual-boot.

Don't install NAS4Free on disk bigger than 2TB (NAS4Free support theses disks as “data” disk only, not as system boot disk).

This description assumes the NAS4Free PC hardware is capable of booting from a CD-Rom and has a boot Drive (this can be an USB flash drive, CF card, or HDD) and should have one or more Hard Drives for storage. * Download the NAS4Free ISO and burn the image onto a CD-Rom.

  • Place the NAS4Free CD in the CD-Rom and boot from CD (Don't connect your flash device at this moment, connect it until you see the console menu below, otherwise LiveCD will write its default configuration file to the root of your flash device lead to the following installation fail).
  • Wait until the NAS4Free Console Setup Menu comes up
  • If you want to install NAS4Free to flash devices, connect it now, NAS4Free will display new device information on the screen, press Enter to back to console menu
  • select option 9 to install NAS4Free on your hard disk/flash devices
"Welcome to NAS4Free"
"*********************" 
1) Assign Interface
2) Set LAN IP address
3) Reset WebGUI password
4) Reset to factory defaults
5) Ping host
6) Shell
7) Reboot system
8) Shutdown system
9) Install/Upgrade to hard drive/flash device, etc.
  • You can choose to have a single HDD installation (option 2 or 3 below), that is - have a NAS4Free boot partition and a second one on the same HDD as Storage(DATA).
"Install"
"*********************"
1) Install 'embedded' OS on HDD/Flash/USB
2) Install 'embedded' OS on HDD/Flash/USB + DATA + SWAP partition
3) Install 'full' OS on HDD + DATA + SWAP partition
4) upgrade 'embedded' OS from CDROM
5) Upgarde 'full' OS from CDROM
6) Upgrade and convert 'full' OS to 'embedded'

If you select 1:

NAS4Free 'embedded' installer for Flash device or HDD.
- Create 1 partition for OS image
- Uses a RAM disk to limit read/write access to the device
Warning: There will be some limitations:
1. This will erase ALL partition and data on the destination disk
2. You can't use your destination disk for sharing data
Installing on USB key is the preferred way:
It saves you an IDE or SCSI channel for more hard drives.

This option would install NAS4Free on a drive entirely dedicated for OS (this drive cannot be used for storage). It’s the recommended option if you are using CF card, flash drive or USB Key

  • Select the Source CD drive (acd0 for example if you have only one ATA CDROM drive).
  • Select the Destination HDD that you want to install and boot NAS4Free from (da0 for example if you want to install it on a USB key).

Note - Some flash drives (SanDisk Cruzer, others) come pre-installed with an emulated, read-only CD-ROM drive holding data from the manufacturer. These should be wiped to ensure trouble free use.

If you select 2 or 3: This would install NAS4Free on a drive and the remainder of the drive will be UFS-formatted for being used for storage(DATA) by creating two partitions on the drive

  • Select the Source CD drive (acd0 for example if you have one ATA CDROM drive).
  • Select the Destination HDD that you want to install and boot NAS4Free from (ad0 for example if you want to install it on the master hard drive on the ATA channel 1).

In both cases, once NAS4Free is installed, follow the instructions, remove the CD and when the menu comes up again

  • Pree ESC or select 'Exit' and enter to exit to the main menu
  • Select 7 to reboot the computer.

Use the option “4 or 5 or 6) Upgrade an existing release from CDROM”

If you have installed it on a USB key: Ensure your computer’s BIOS is configured to boot from “USB hard drive” – some BIOS do not support this (“USB FDD” or “USB ZIP” should be tested).

After the first boot:

  • Check that the menu option 9) is no longer present: If it is, then you are still booting from the CDROM.
  • Go to the LAN Interface and IP configuration section of this document.

NAS4Free uses FreeBSD as underlying OS, and FreeBSD is not Linux!!!! The disk convention naming under FreeBSD is:

  • /dev/ad0 : Is the First ATA hard drive on the ATA channel 1
  • /dev/ad1 : Is the Second ATA hard drive on the ATA channel 1
  • /dev/ad2 : Is the First ATA hard drive on the ATA channel 2
  • /dev/acd0: Is the first ATA CD/DVD drive detected
  • /dev/da0: Is the first SCSI hard drive. USB key device under FreeBSD are using an SCSI driver, then this name can link to your USB key/drive too.
  • /dev/da0p1: The 'p' represents an EFI/GPT partition type, and '1' represents the first partition on the device. This is the new standard starting from version 9.0.0.1
  • /dev/da0s1: The 's' represents the old standard partition type. For any filesystem other that UFS you should look for an 's' type partition.
  • /dev/raid5/RAIDname: 'RAID' is only the array device.
  • /dev/raid5/RAIDp1: This is the filesystem on the RAID device.

Example

documentation/setup_and_user_guide/installing_nas4free_on_disk.txt · Last modified: 2014/02/19 14:29 (external edit)