Debootstrap Ubuntu from Gentoo
From NAS-Central Buffalo - The Linkstation Wiki
(Difference between revisions)
m (Update for Gutsy. Changed script link to a URL hosted by me, so not leeching off someone else any more) |
m (removed dependency on gentoo ebuild for debootstrap - better to go straight to the debian source) |
||
| 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 | + | 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 - | $ sudo su - | ||
# cd /usr/lib/debootstrap/scripts/ | # cd /usr/lib/debootstrap/scripts/ | ||
# wget http://insignificant.org/wp-content/2007/12/gutsy.zip | # wget http://insignificant.org/wp-content/2007/12/gutsy.zip | ||
| - | # | + | # unzip gutsy.zip |
Now start the debootstrap: | Now start the debootstrap: | ||
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.

