Menu

Tree [r9898] / branches / 0.686 / build /
 History

HTTPS access


File Date Author Commit
 kernel-config 2008-06-11 votdev [r3464] Remove ACPI from kernel and use kernel modules.
 kernel-patches 2008-01-30 votdev [r2720] Update Readme. Add another tip how to backup ke...
 ports 2008-05-27 votdev [r3402] Modify graid5 Makefile.
 CHANGES 2008-06-28 votdev [r3560] Enable backup of configuration with Internet Ex...
 LICENSE 2007-11-29 votdev [r2270] Fix typo. Thanks to laur.
 README 2007-12-29 votdev [r2459] Update README.
 freenas-create-bootdir.sh 2008-01-28 votdev [r2697] Misc changes.
 freenas-create-pot.sh 2007-11-30 votdev [r2276] Display file location after language template f...
 freenas-create-rootfs.sh 2008-03-03 votdev [r2920] Create required niftycube directory.
 freenas-modify-permissions.sh 2007-03-22 votdev [r652] Rename directory 'misc' to 'build'.
 freenas.files 2008-06-28 votdev [r3559] Add /usr/bin/true.
 make.conf 2008-01-02 votdev [r2495] Update make.conf. Add WITHOUT_X11=yes.
 make.sh 2008-06-11 votdev [r3465] Remove ACPI from kernel and use kernel modules.
 source-supfile 2007-09-09 votdev [r1817] Use another cvsup server.

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 with the latest sources
4. Building kernel

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

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

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

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

Start /freenas/svn/build/make.sh

Burn the freenas.iso file created.

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

(normally possible with make.sh)

Here is how to build a FreeNAS from the latest source file:

- Use the root user account on your FreeBSD system

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

cd /usr/local/freenas

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

You should now have this directories now:
/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:
portsnap fetch update

3.3 Use the building script:

svn/build/make.sh

Execute all menus in '20 - Build FreeNAS from scratch advanced menu' to build your FreeNAS
from scretch. 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.
After that 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.