Alright, here is where I’m at:
01> Login Ubuntu Server 14.04 (x64) / Execute BASH Shell as SuperUser
sudo su
02> Change Hostname
hostname servername
03> Install a new HDD
( [url]https://help.ubuntu.com/community/InstallingANewHardDrive[/url] )
lshw -C disk
fdisk /dev/sd?
n p 1 <enter> <enter> w
04> Quick Format Second HDD as NTFS
mkfs.ntfs -Q /dev/sdb1
mkdir /mnt/temp
mount /dev/sdb1 /mnt/temp
ls -la /mnt/temp
umount /mnt/temp
05> Attach Second Volume by Appending AutoMount Entry to File System Table
vim /etc/fstab
“i”
all spacing is tabs
FOGStore for images
/dev/sdb1/imagesntfsdefaults00
[ESC], [SHIFT]“:”, “wq”
06> Create MountPoint
mkdir /images
07> Set permissions on /images
chmod 777 /images
08> Mount the New Volume
mount /images
09> Download latest SVN of FogProject
cd /opt
wget [url]http://downloads.sourceforge.net/project/freeghost/FOG/fog_1.1.2/fog_1.1.2.tar.gz[/url]
or ?
wget --no-check-certificate [url]http://mastacontrola.com/fog_trunk.tar.bz2[/url]
10> Extract
tar -zxf fog_1.1.2.tar.gz
11> Disable Firewall for Fog
ufw disable
12> Create DHCP Reservation
reboot
13> Login Ubuntu Server 14.04 (x64) / Execute BASH Shell as SuperUser
sudo su
14> Install Fog
cd /opt/fog_1.1.2/bin/
./installfog.sh
@ What version of Linux would you like to run the installation for?
2
@ What type of installation would you like to do?
n
@ What is the IP address to be used by this FOG Server?
<verify the reservation address>
@ Would you like to setup a router address for the DHCP server?
n
@ Would you like to setup a DNS address for the DHCP server and client boot image?
n
@ Would you like to change the default network interface from eth0?
n
@ would you like to use the FOG server for DHCP service?
n
@ This version of FOG has internationalization support, would you like to install the additional language packs?
n
@ Would you like to donate computer resources to the FOG Project?
n
@ Are you sure you wish to continue?
y
@ Press enter to acknowlege this message.
<enter>
@ Configuring mysql-server-5.5
<password>
@ Did you leave the mysql password blank during install?
n
@ Please enter your mysql password:
<password>
@ Press [Enter} key when database is updated/installed.
Using a browser visit [url]http://0.0.0.0/fog/management[/url]
Select: Install/Upgrade Now
@ Update / Install Successful!
<enter>
@ Send Notification?
n
@ Script done, file is /var/log/foginstall.log
15> Restart
reboot
16> Login Ubuntu Server 14.04 (x64) / Execute BASH Shell as SuperUser
sudo su
17> Update hostname file with server’s new name
vim /etc/hostname
“I”
servername
[ESC], :wq
18> Update hosts file for server’s new name
vim /etc/hosts
“I”
line 2 : 127.0.1.1 servername.domainservername
[ESC], :wq
19> Restart
reboot
20> Configure DHCP Options for PXE for Subnet Scope
Option 066 Boot Server Host Name “0.0.0.0”
Option 67 Bootfile Name “undionly.kpxe”
21> Change Web Interface User Account
Visit [url]http://servername/fog/management[/url]
Login as user: fog password: password
Change username to: <username> / password: <password>
22> WorkAround for Hyper-V iPXE compatability
vim /var/www/fog/lib/fog/BootMenu.class.php
“I”
old line 600 : print “console – picture …”
new line 600 : // print “console – picture …”
[ESC], :wq
23> Update Kernel (from Developer’s site – [url]https://mastacontrola.com/fogboot/kernel/bzImage[/url])
cd /var/www/html/fog/service/ipxe
mv bzImage bzImage_orig
mv bzImage32 bzImage32.orig
wget --no-check-certificate [url]http://mastacontrola.com/fogboot/kernel/bzImage[/url]
wget --no-check-certificate [url]http://mastacontrola.com/fogboot/kernel/bzImage32[/url]
24> Update to latest undionly.kpxe
cd /tftpboot
mv undionly.kpxe undionly.kpxe.orig
wget [url]https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/undionly.kpxe[/url] -O /tftpboot/undionly.kpxe
iPXE is working. The problem now is finding a kernel that works on both the physical hardware and Hyper-V virtual machines…
So far I’ve tried for bzImage:
3.15.3 original32 for 1.1.2
3.15.1 original for 1.1.2
3.14.3 original for 1.0.1
3.14.2
3.12.5
I used 3.12.5 on 0.32 successfully.