Debootstrap Ubuntu from Gentoo

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 19:48, 16 January 2008 by Mflint (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Why?

The original way of installing Ubuntu is to use a temporary installation of Debian. This small guide is for people who already have a running system, such as Gentoo.

How?

First, prepare your target partition with 'fdisk' and 'mkfs.ext3'. I'll assume your target partition is mounted at /mnt/ubuntu/

Now get debootstrap:

$ mkdir temp
$ cd temp
$ wget http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.8.tar.gz
$ tar -xzvf debootstrap_1.0.8.tar.gz
$ sudo make
$ sudo make install

Now get the debootstrap script for Gutsy:

$ sudo su -
# cd /usr/lib/debootstrap/scripts/
# wget http://insignificant.org/wp-content/2007/12/gutsy.zip
# unzip gutsy.zip

Now start the debootstrap:

# debootstrap --arch powerpc gutsy /mnt/ubuntu http://archive.ubuntu.com/ubuntu/

Then continue according to the Ubuntu using temporary Debian guide.