How to install Trixbox CE 2.6.0.7 on Alix

How to install Trixbox CE 2.6.0.7 on Alix
Sources used:
http://trixbox.org/forums/trixbox-forums/trixbox-projects/trixbox...
http://www.ghidinelli.com/2006/11/06/configuring-console-access-f...

Parts I used:
Alix 2c3
8GB Seagate Microdrive
CF to IDE adapter
IDE to USB adapter

Overview:
We will be installing Trixbox on the CF via VMware. Then put the CF card in the Alix, and your off and running.

Steps:
Using your favorite VMware (server which is free or workstation which is paid), create a VM using these configurations:
Linux 2.6kernel
256mb ram
1 serial port
1 usb port
the same number of LAN ports that are actually on the Alix
use CF card as a PHYSICAL drive (BE CAREFUL to not pick your host hard drive)

Boot the VM and install Trixbox as usual.

You will need to configure console access so Trixbox will boot once its put into the Alix. Here are the steps:

edit /etc/grub.conf
Comment out these 2 lines by putting a # at the beginning of the line:
#splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
Add these 2 lines:
serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
terminal --timeout=10 serial console
And add this to the end of each line that begins with “kernel”:
console=tty0 console=ttyS0,9600n8
(This tells Grub to direct console output to both the standard ttys (the ones you get with a keyboard and monitor) as well as the serial port (ttySx).)

Add this to the bottom of /etc/inittab:
S0:12345:respawn:/sbin/agetty ttyS0 9600 linux
(the “S0? is just a unique identifier; no two entries in inittab can start with the same thing. 12345 means all run levels (they correspond to /etc/rc2.d, rc3.d, etc) and respawn will ensure that it will accept another login after you log out.)

If you want to allow root to login over the console (versus logging in as a normal user and su-ing), add “ttyS0? to the bottom of /etc/securetty:
echo ttyS0 >> /etc/securetty

edit /etc/sysconfig/init and change
BOOTUP=color
to
BOOTUP=serial
to prevent the graphical startup from blowing up your terminal.

If you have kudzu running (use chkconfig or look in /etc/rc3.d to see if it runs during boot):
edit /etc/sysconfig/kudzu
set SAFE=yes
(Do only ’safe’ probes that won’t disturb hardware. Currently, this disables the serial probe, the DDC monitor probe, and the PS/2 probe.) This prevents kudzu from hiccuping the serial port while you’re connected to it during boot.

Shut down the virtual machine and remove the CF card. Plug the CF card into the Alix and boot. You can use a serial cable to watch it boot, or wait about 2.5 minutes, and it will be ready to use.

Backups:
Size of backup is about 1.1 GB, so make sure you have a big enough thumb drive plugged in and run:
mount /dev/sda1 /mnt/usb
dd if=/dev/hda bs=1k conv=noerror,sync | gzip -c > /mnt/usb/trixbox-backup.img
umount /mnt/usb

You can use physdiskwrite to restore the image in windows
http://m0n0.ch/wall/physdiskwrite.php