Difference between revisions of "Debootstrap Ubuntu from Gentoo"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m
m (removed dependency on gentoo ebuild for debootstrap - better to go straight to the debian source)
 
(One intermediate revision by one user not shown)
Line 6: Line 6:
 
First, prepare your target partition with 'fdisk' and 'mkfs.ext3'. I'll assume your target partition is mounted at /mnt/ubuntu/
 
First, prepare your target partition with 'fdisk' and 'mkfs.ext3'. I'll assume your target partition is mounted at /mnt/ubuntu/
  
Now emerge debootstrap:
+
Now get debootstrap:
  $ sudo emerge -av 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
  
By default, debootstrap only has package information for Debian, not for Ubuntu. We'll need to get the Ubuntu equivalent:
+
Now get the debootstrap script for Gutsy:
 
  $ 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
+
  # unzip 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]].

Latest revision as of 19:48, 16 January 2008

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.