Build FOG file system with BuildRoot

From FOG Project
Revision as of 18:56, 20 October 2011 by Jzhang88 (talk | contribs) (build FOG file system)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Ubuntu Desktop 11.10

Ubuntu update

sudo apt-get update
sudo apt-get upgrade

install all essential package

sudo apt-get install build-essential subversion libqt4-dev bison flex gettext texinfo zlib1g-dev uuid-dev


Download the FOG source

cd ~/Desktop
mkdir svn 
cd svn 
svn checkout https://freeghost.svn.sourceforge.net/svnroot/freeghost/trunk 


Download Buildroot

cd ..
wget http://buildroot.uclibc.org/downloads/buildroot-2011.08.tar.gz
tar xvfz buildroot-2011.08.tar.gz

Copy source to Buildroot

cp -rf svn/trunk/src/buildroot/* buildroot-2011.08/
cd buildroot-2011.08
mv fog.buildroot.config .config

build FOG file system

make xconfig
make source
make
gzip -9 < output/images/rootfs.ext2 > init.gz
copy init.gz to your FOG server /tftpboot/fog/images/init.gz