Image uploaded :
http://www.multiupload.com/4TEJYQ2FW1
Once you have it then grab a 4GB usb pen (sorry it was all I had - the actual image is ~700mb) extract the tar.gz so you are left with XBMC-Joggler.img and then from a terminal run; 'dd if=/where/you/downloaded/the/image/XBMC-Joggler.img of=/dev/yourUSB'
For example - dd if=~/Desktop/XBMC-Joggler.img of=/dev/sdb
*Note* Ensure you enter the correct device, your usb drive may not be 'sdb' you can probably tell by running 'sudo fdisk -l' and looking at the sizes.
Notes:
- The image is based on a stripped down Karmic install as the newer distributions require the use of Intels new EMGD drivers which don't appear to work with XBMC.
- XBMC runs by default under an account named htpc, the password for this account (and also the root account) is Joggler (note the capital J).
- NFS support with AutoFS is in the image, just go to /etc/auto.nfs and add the details for your nfs share (in the format; mountname ip.address:/share/details) and type 'mkdir /media/nfs' at the terminal - the nfs share will automatically be mounted at boot to /media/nfs
- To configure WLAN enter 'wpa_passphrase yourssid yourkey' and copy the results into '/etc/wpa_supplicant.conf' then save the file.
- To switch between WLAN/Wired edit '/etc/network/interfaces' and comment out either 'auto eth0 or auto ra0' depending on which one you _don't_ want to use.
- It's a good idea to symlink /home/htpc/.xbmc/userdata/Thumbnails to a file share as you will probably run out of space otherwise.
- A script is present in the home directory for htpc called cleanup run this with ./cleanup.sh and it will tidy un-needed files created from apt-get and xbmc (use after updates etc).
Installing to flash:
*Note this is pretty safe and I've done it so far to 3 jogglers, but only attempt this if you are reasonably comfortable at the command line*
Boot the image from a USB drive on a hub so you can use a usb keyboard, when XBMC launches go to the power button and hit Exit (not shutdown),
Press Ctrl + Alt + F1, this should switch you to a terminal, then hit Ctrl + C and wait a few moments for X to close.
When you are the command line type 'su root' and enter 'Joggler' as the password.
Now type the following - this will delete 3 partitions from the onboard flash and create a partition with the combined remaining space;
Code:
fdisk /dev/mmcblk0
d > 4
d > 3
d > 2
n > p > 2 (enter + enter)
w
Now we will format the filesystem for the new partition and tweak some options;
Code:
mkfs.ext4 /dev/mmcblk0p2
tune2fs -o journal_data_writeback /dev/mmcblk0p2
tune2fs -i 0 /dev/mmcblk0p2
We have to replace the boot partition contents with some files that will allow Ubuntu to boot, so do the following;
Code:
mount /dev/mmcblk0p1 /mnt/flash
mount /dev/sda1 /mnt/usb
cd /mnt/flash
rm -r *
cd /mnt/usb/flash
cp -r * /mnt/flash
umount /mnt/flash
umount /mnt/usb
Now it's time to copy the actual install of Ubuntu and XBMC to the second partition of the Jogglers flash memory;
Code:
mount /dev/mmcblk0p2 /mnt/flash
rsync -av --del --exclude=/proc/* --exclude=/sys/* --exclude=/tmp/* --exclude=/mnt/* --exclude=/usr/src/* --exclude=/media/* / /mnt/flash
We now need to tweak the fstab so that the correct partition is mounted when the system boots;
Code:
cd /mnt/flash/etc
mv fstab.mmc fstab
cd /
Now unmount the onboard memory so we can be sure everything is written successfully, and finally reboot the system (as the Joggler restarts remove the USB drive so that it boots from the onboard flash)
Code:
umount /mnt/flash
reboot
You should hopefully now boot into XBMC directly from the Jogglers flash memory without the need for any USB drives, the system takes up around 650MB so you have a little room to play with.