Menu

Tree [r10367] / branches / 0.7 / build /
 History

HTTPS access


File Date Author Commit
 checkversion 2011-06-12 zoon01 [r6694] file corrections.
 kernel-config 2011-06-18 zoon01 [r6773] Prepare 0.7.3.
 kernel-patches 2011-10-08 daoyama [r8191] Update CHANGES
 ports 2011-12-13 zoon01 [r9094] Upgrade nut to 2.6.2.
 CHANGES 2011-12-13 zoon01 [r9094] Upgrade nut to 2.6.2.
 LICENSE 2011-04-10 zoon01 [r5957] - Add several small updates and modified files.
 README 2011-04-10 zoon01 [r5957] - Add several small updates and modified files.
 freenas-create-bootdir.sh 2010-06-29 daoyama [r5246] misc update
 freenas-create-checkversionpot.sh 2011-06-12 zoon01 [r6694] file corrections.
 freenas-create-pot.sh 2011-09-28 daoyama [r8030] Update istgt to 20110928
 freenas-create-rootfs.sh 2010-05-12 daoyama [r5185] Set kern.hz=100 when running on virtual machine...
 freenas-modify-permissions.sh 2011-03-27 zoon01 [r5828] Upgrade transmission to 2.22.
 freenas.files 2011-10-08 daoyama [r8191] Update CHANGES
 make.conf 2008-01-02 votdev [r2496] Update make.conf. Add WITHOUT_X11=yes.
 make.sh 2011-10-08 daoyama [r8191] Update CHANGES
 ports-supfile 2010-04-15 daoyama [r5144] Update options.
 source-supfile 2011-06-18 zoon01 [r6773] Prepare 0.7.3.

Read Me

FreeNAS (http://www.freenas.org) 
Olivier Cochard-Labbe (olivier@freenas.org)
Licence: BSD

============== SUMMARY =========

1. Files and directories listing
2. How to generate an FreeNAS ISO or IMG  file
3. Building FreeNAS from the latest sources
4. Building kernel

================================
1. Files and directories listing
- /freenas/bootloader : Contains FreeBSD boot loader files
- /freenas/rootfs: Minimum FreeBSD root filesystem and FreeNAS script/WebGUI
- /freenas/svn: Contains the whole up-to-date (working) release and scripts

================================
2. How to generate an FreeNAS ISO or IMG file

Edit the script '/freenas/svn/build/make.sh' and adapt the directory
variables with your local ones.

Check that you have installed the following ports:
- subversion
- bash
- cdrtools
- portupgrade

Additional you might install the following ports, otherwise they are build
from sources:
- perl
- ruby
- m4
- bison

Start /freenas/svn/build/make.sh

Burn the freenas.iso file created.

=================================
3. Building FreeNAS from the latest sources

(normally possible with make.sh)

Here is how to build FreeNAS from the latest sources:

- Use the root user account on your FreeBSD system

3.1 Update your FreeNAS scripts/WebGUI code with SVN:
(this creates the svn directory)

cd /usr/local/freenas

svn co https://freenas.svn.sourceforge.net/svnroot/freenas/branches/0.7 svn

You should now have these directories:
/usr/local/freenas
/usr/local/freenas/svn

3.2 Update your ports collection:

Using portsnap the first time:
portsnap fetch extract

To update the ports collection next time:
portsnap fetch update

3.3 Use the building script:

svn/build/make.sh

Execute all menus in '2' - Compile FreeNAS from scratch menu' to build your FreeNAS from scratch. After that use one of the following menus:

10 - Create 'Embedded' (IMG) file (rawrite to CF/USB/DD).
11 - Create 'LiveCD' (ISO) file.
12 - Create 'LiveCD' (ISO) file without 'Embedded' file.
13 - Create 'Full' (TGZ) update file.

=================================
4. Building kernel

Before building the kernel it is recommended to delete the directory /usr/src completely.
Next, run the build scripts and update the kernel sources via cvsup + freebsd-update.
Continue building using the 'Build kernel' menu in the build script.
 
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.