BeagleBoardUbuntuKarmic

From eLinux.org
Revision as of 23:51, 24 May 2010 by RobertCNelson (Talk | contribs)

Jump to: navigation, search

This page is about running Ubuntu 9.10 Karmic distribution on the BeagleBoard.

Demo Image

Karmic 9.10

Built with:

sudo ./rootstock --fqdn beagleboard --login ubuntu --password temppwd --imagesize 2G \
--seed wget,nano,linux-firmware,wireless-tools,usbutils --dist karmic --serial ttyS2 \
--kernel-image http://rcn-ee.net/deb/kernel/beagle/karmic/v2.6.32.11-x13/linux-image-2.6.32.11-x13_1.0karmic_armel.deb

Get prebuilt image:

wget http://rcn-ee.net/deb/rootfs/ubuntu-9.10.2-minimal-armel.tar.7z
mirrors:
wget http://ynezz.ibawizard.net/beagleboard/ubuntu-9.10.2-minimal-armel.tar.7z
wget http://vivaphp.net/beagle/ubuntu-9.10.2-minimal-armel.tar.7z

Unpack it:

7za x ubuntu-9.10.2-minimal-armel.tar.7z
tar xf ubuntu-9.10.2-minimal-armel.tar
cd ubuntu-9.10.2-minimal-armel

Quick Install script

./setup_sdcard.sh --mmc /dev/sdX --ignore_md5sum
  • Bug: --ignore_md5sum is needed
  • Additional Options
    • --rootfs <ext3 default>
    • --swap_file <swap file size in MB's>

md5sum: 0bf198beac0a0358bc2c0097c6dddec7 ubuntu-9.10.2-minimal-armel.tar.7z

RootStock

Karmic: (9.10) boot fixup

util-linux-ng 2.16 causes this

Edit /etc/fstab

mkdir -p ./tmp
sudo mount /dev/sdX2 ./tmp
sudo gedit ./tmp/etc/fstab
add:
/dev/mmcblk0p2   /   ext3   errors=remount-ro   0   1

Note change the above "ext3" to "ext2" if the root filesystem is ext2

Add/Edit /etc/e2fsck.conf

sudo gedit ./tmp/etc/e2fsck.conf
[problems]

# Superblock last mount time is in the future (PR_0_FUTURE_SB_LAST_MOUNT).
0x000031 = {
    preen_ok = true
    preen_nomessage = true
} 

# Superblock last write time is in the future (PR_0_FUTURE_SB_LAST_WRITE).
0x000032 = {
    preen_ok = true
    preen_nomessage = true
}

Add karmic updates to /etc/apt/sources.list

sudo gedit ./tmp/etc/apt/sources.list
deb http://ports.ubuntu.com/ubuntu-ports karmic-updates main universe

Finally

cd ./tmp
sync 
cd ..
sudo umount ./tmp

You can now place the SD card into the BeagleBoard and start up the BeagleBoard.

Please be patient as the first boot can take a couple of minutes.