Debootstrap Ubuntu from Gentoo

From NAS-Central Buffalo - The Linkstation Wiki

(Difference between revisions)
Jump to: navigation, search
m
m (Update for Gutsy. Changed script link to a URL hosted by me, so not leeching off someone else any more)
Line 12: Line 12:
  $ sudo su -
  $ sudo su -
  # cd /usr/lib/debootstrap/scripts/
  # cd /usr/lib/debootstrap/scripts/
-
  # wget http://food.fishcracker.net/~stock/debootstrap-feisty.tar.gz
+
  # wget http://insignificant.org/wp-content/2007/12/gutsy.zip
-
  # tar -xzvf debootstrap-feisty.tar.gz
+
  # tar -xzvf gutsy.zip
Now start the debootstrap:
Now start the debootstrap:
-
  # debootstrap --arch powerpc feisty /mnt/ubuntu http://archive.ubuntu.com/ubuntu/
+
  # debootstrap --arch powerpc gutsy /mnt/ubuntu http://archive.ubuntu.com/ubuntu/
Then continue according to the [[Ubuntu_installation_guide|Ubuntu using temporary Debian guide]].
Then continue according to the [[Ubuntu_installation_guide|Ubuntu using temporary Debian guide]].

Revision as of 10:32, 7 December 2007

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 emerge debootstrap:

$ sudo emerge -av debootstrap

By default, debootstrap only has package information for Debian, not for Ubuntu. We'll need to get the Ubuntu equivalent:

$ sudo su -
# cd /usr/lib/debootstrap/scripts/
# wget http://insignificant.org/wp-content/2007/12/gutsy.zip
# tar -xzvf 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.

Personal tools