Debootstrap Ubuntu from Gentoo

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 10:32, 7 December 2007 by Mflint (Talk | contribs) (Update for Gutsy. Changed script link to a URL hosted by me, so not leeching off someone else any more)

Jump to: navigation, search


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.


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
# tar -xzvf

Now start the debootstrap:

# debootstrap --arch powerpc gutsy /mnt/ubuntu

Then continue according to the Ubuntu using temporary Debian guide.