Installing Ubuntu Juanty 9.04 on a Seagate Dockstar

From Kyle's Wiki
Jump to: navigation, search

Note: You do not have to build your own rootfs, getting a jaunty install just for building it is a pain. Simply use mine, go straight to "Install the Rootfs".

Contents

Prereqs

Install Ubuntu Jaunty on a VM or something: http://releases.ubuntu.com/jaunty/

Install rootstock (a armel rootfs builder)

#We need a modern version of debootstrap first
apt-get install binutils 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

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

Build

sudo ./rootstock --fqdn ubuntu --login ubuntu --password ubuntu --seed build-essential,openssh-server --dist jaunty
 
#Now put it somewhere web accessible:
cp armel-rootfs-201008291309.tgz /var/www/

Install the Rootfs

Boot into a recovery environment:

tftp 0x2000000 openwrt-kirkwood-uImage-ramroot
bootm 0x2000000

Now mount and fetch the image:

mtd erase mtd2
mkdir /target
mount /dev/mtdblock2 /target/ -t jffs2
cd /target
#This filename and your webserver will vary
wget http://192.168.3.33/armel-rootfs-201008291309.tgz
tar xzvpf armel-rootfs-201008291309.tgz
cd ..
umount /target
reboot

Install the kernel

Personal tools
Namespaces

Variants
Actions
Efforts
Toolbox
Meta