Pre-reqs:
Before we begin we need to make sure we have all the required software on our main computer before we continue. Call the following command in your terminal [1].
$ sudo apt-get install wget pv dosfstools parted
Somewhere in your hard drive you are going to create a directory to download the complete pre-configure image [2].
$ wget http://rcn-ee.net/deb/rootfs/quantal/ubuntu-12.10-console-armhf-2013-02-16.tar.xz
Verify image with:
md5sum ubuntu-12.10-console-armhf-2013-02-16.tar.xz d452c17a9caff3db56d4d03083552f83 ubuntu-12.10-console-armhf-2013-02-16.tar.xz
Unpack image:
tar xJf ubuntu-12.10-console-armhf-2013-02-16.tar.xz cd ubuntu-12.10-console-armhf-2013-02-16
If you don't know the location of your SD card:
sudo ./setup_sdcard.sh --probe-mmc
You should see something like
Are you sure? I Don't see [/dev/idontknow], here is what I do see... /sbin/fdisk -l: Disk /dev/sda: 750.2 GB, 750156374016 bytes Disk /dev/sdb: 3904 MB, 3904897024 bytes mount: /dev/sda1 on / type ext4 (rw,errors=remount-ro) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) /dev/sdb1 on /media/0624-352C type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks)
In this example, we can see via mount, /dev/sda1 is the x86 rootfs, therefore /dev/sdb is the other drive in the system, which is the MMC/SD card that was inserted and should be used by ./setup_sdcard.sh...
Install image:
sudo ./setup_sdcard.sh --mmc /dev/sdb --uboot bone
The installation process last some minutes until you get the following lines [3]:
setup_sdcard.sh script complete ----------------------------- The default user:password for this image: ubuntu:temppwd -----------------------------
To install and prepare the image onto the SD card:It might inform you at that point, some packages are missing for the installation. You can simply get them by ‘apt-get’ and then run the script later.
Default login username is: ubuntu , default password is: temppwd [4].
References:
[1] http://www.brianhensley.net/2012/03/beagleboard-xm-ubuntu-1110-with-gui.html
[2] http://elinux.org/BeagleBoardUbuntu
[3] http://www.internetdelascosas.cl/usando-ubuntu-en-beaglebone/