I seem to be doing this a lot at the moment. So I’ve collected a few notes together as reminder of the process.

Collection of HOWTOs:

Debootstrap invocations:

* debootstrap –arch amd64 breezy /amd64/
* debootstrap –arch amd64 sarge /pure64/

Few things that should be done in the chroot:

* sudo chroot /chroot/ /bin/bash
* mount -t proc proc /proc
* check etc/fstab etc/resolv.conf etc/network/interface etc/hostname etc/apt/source.list
* dpkg-reconfigure -plow console-data
* dpkg-reconfigure -plow locales
* dpkg-reconfigure -plow passwd
* maybe run apt-setup
* ln -sf /usr/share/zoneinfo/NZ /etc/localtime

Some other notes:

* base-config might or might not cover some of the above and might or might not work.
* bootstraping ubuntu from debian requires two stage process. Basically bootstrap a stage one ubuntu chroot, then create the final ubuntu install from with the chroot.

Comments are closed.