Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to get the Ubuntu distribution

1 byte added, 14:31, 17 July 2010
no edit summary
$ cp boot.ini /media/boot
 
== Ubuntu 9.04 (Jaunty Jackalope) ==
 
In order to get a copy of a ARM ubuntu root file system, you will need to install qemu and a recent version of debootstrap and the qemu package
 
$ sudo apt-get install qemu
$ wget http://ports.ubuntu.com/pool/main/d/debootstrap/debootstrap_1.0.12_all.deb
$ sudo dpkg -i debootstrap_1.0.12_all.deb
 
Next, you will download a helper program to build the rootfs
 
$ wget http://launchpad.net/project-rootstock/trunk/0.1/+download/rootstock-0.1.3.tar.gz
$ tar xzf rootstock-0.1.3.tar.gz
$ cd rootstock-0.1.3
 
The following example will create a tarball of ubuntu-desktop based image for your target device:
 
$ sudo ./rootstock --fqdn ubuntu --login jdoe --password letmein --imagesize 3G --seed ubuntu-desktop --dist jaunty
 
Typical images (example settings):
 
To build a xubuntu-desktop image use the following options:
 
--imagesize 2G --seed xubuntu-desktop
 
For an ubuntu-desktop image (a similar size is needed if you want a kubuntu image):
 
--imagesize 3G --seed ubuntu-desktop
 
A typical remote development comandline environment if you run an armel board headless (note that you should edit /etc/network/interfaces and set up your network device on first login for this):
 
--imagesize 3G --seed build-essential,openssh-server
 
A very light desktop (lxde):
 
--seed lxde,gdm
 
After few hours, a file named armel-rootfs-[date].tgz will be in your working directory
 
Next, mount your SD card ext3 partition (/media/rootfs) and untar the rootfs
 
$ sudo tar xzf armel-rootfs-[date].tgz -C /media/rootfs
 
Finally, umount the SD card, insert the card in your board and power up.
== Ubuntu 10.04 (Jaunty Jackalope) ==
...
== Ubuntu 9.04 (Jaunty Jackalope) ==
 
In order to get a copy of a ARM ubuntu root file system, you will need to install qemu and a recent version of debootstrap and the qemu package
 
$ sudo apt-get install qemu
$ wget http://ports.ubuntu.com/pool/main/d/debootstrap/debootstrap_1.0.12_all.deb
$ sudo dpkg -i debootstrap_1.0.12_all.deb
 
Next, you will download a helper program to build the rootfs
 
$ wget http://launchpad.net/project-rootstock/trunk/0.1/+download/rootstock-0.1.3.tar.gz
$ tar xzf rootstock-0.1.3.tar.gz
$ cd rootstock-0.1.3
 
The following example will create a tarball of ubuntu-desktop based image for your target device:
 
$ sudo ./rootstock --fqdn ubuntu --login jdoe --password letmein --imagesize 3G --seed ubuntu-desktop --dist jaunty
 
Typical images (example settings):
 
To build a xubuntu-desktop image use the following options:
 
--imagesize 2G --seed xubuntu-desktop
 
For an ubuntu-desktop image (a similar size is needed if you want a kubuntu image):
 
--imagesize 3G --seed ubuntu-desktop
 
A typical remote development comandline environment if you run an armel board headless (note that you should edit /etc/network/interfaces and set up your network device on first login for this):
 
--imagesize 3G --seed build-essential,openssh-server
 
A very light desktop (lxde):
 
--seed lxde,gdm
 
After few hours, a file named armel-rootfs-[date].tgz will be in your working directory
 
Next, mount your SD card ext3 partition (/media/rootfs) and untar the rootfs
 
$ sudo tar xzf armel-rootfs-[date].tgz -C /media/rootfs
 
Finally, umount the SD card, insert the card in your board and power up.
--- That's all folks ---
[[Category:Software distributions|Ubuntu]]
0
edits