Step3: Install Ubuntu using netboot

The easiest way to install Ubuntu onto your IGEPv2 board is to make use of the netboot image available from http://ports.ubuntu.com/dists/natty/main/installer-armel/current/images/versatile/netboot/

This is a small Ubuntu installer image that gets loaded into RAM on boot time and then gives you a terminal output to install Ubuntu onto your SD card.

Procedure

1. Download netboot image

# wget http://ports.ubuntu.com/dists/natty/main/installer-armel/current/images/versatile/netboot/initrd.gz
# sudo gzip -d initrd.gz
# sudo dd if=initrd of=initrd.pad ibs=8388608 conv=sync

2. Copy the files to your SD card

Copy the initrd.pad file as well as the uImage file to the FAT32 partition of your SD card

3. Create a boot script

# nano boot.txt

and paste the following in the file

# Set bootcmd for uSD boot
setenv bootcmd 'mmc init; fatload mmc 0:1 0x80300000 uImage; fatload mmc 0:1 0x81600000 initrd.pad; bootm 80300000'

# Set Linux kernel boot arguments
# Install UI thru serial console
setenv bootargs 'console=ttyS2,115200n8 ramdisk_size=8192 root=/dev/ram0 rw initrd=0x81600000 ip=dhcp priority=low'

# Install UI thru Display (USB Keyboard)
#setenv bootargs 'console=ttyO2,115200 console=tty0 omapfb.mode=dvi:1024x768MR-16@60 ramdisk_size=8192 root=/dev/ram0 rw #initrd=0x81000000 ip=dhcp priority=low'

# Boot!
boot

4. Compile the boot script

 

mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n Ubuntu -d boot.txt boot.ini