debootstrap

From Noah.org
Jump to navigationJump to search


This shows how to easily create an entire root filesystem for a Debian or Ubuntu system. You can use this to build rootfilesystems for other architectures.

Install the `debootstrap` command:

aptitude install debootstrap

Look at your apt sources.list file to see what your Ubuntu release name is and which URL to specify for a mirror. Here we assume that lucid is our Ubuntu release name and http://us.archive.ubuntu.com/ubuntu/ is the mirror URL.

cat /etc/apt/sources.list
debootstrap lucid /media/adhoc/rootfs http://us.archive.ubuntu.com/ubuntu/