Installing
How to install ubuntu gutsy (or any other version) into /ubuntu (or any other directory) with debootstrap:
apt-get install debootstrap, or run: http://proj.ri.mu/debootstrap.sh
- Bootstrap!
Ubuntu
debootstrap --arch i386 lucid /ubuntu http://ubuntu.mirror.iweb.ca/
Debian
debootstrap --arch i386 squeeze /debian http://debian.mirrors.easynews.com/linux/debian
- chroot /ubuntu
Type locale to see what your locale is, then run locale-gen en_US en_US.UTF-8 to generate it.
create an account for yourself (or install the user-setup package):
adduser <username>
- add yourself to the admin (and audio) group(s):
usermod -G admin -a <username>
usermod -G audio -a <username>
- setup /etc/fstab
- mount /proc
Now you can install the big bundles of packages.
- Server packages:
- ubuntu-minimal ubuntu-standard binutils linux-generic build-essential user-setup
- Alternate kernels:
- linux-rt linux-386
- Desktop packages:
- ubuntu-desktop ubuntu-{artwork,docs,keyring,sounds} linux-sound-base
- Server packages:
Also note:
- For some reason, using the 386 kernel, this package didn't install by default (it's needed for audio drivers and other stuff):
- linux-ubuntu-modules-2.6.22-14-386
Apt-Get Performance Fix
Useful packages
- python-setuptools (for easy_install)
- equivs (for making fake packages to satisfy dependencies)
Fixes
postgresql
This is needed in lucid to fix the encoding:
- pg_dropcluster --stop 8.4 main
- pg_createcluster --start -e UTF-8 8.4 main
