diff options
author | Joey Hess <joey@kitenet.net> | 2011-04-08 16:06:49 (GMT) |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-04-08 16:06:49 (GMT) |
commit | 92cf330c441260fa28f6277dc63823f6416e2115 (patch) | |
tree | 0f262aaec792dae02732e9137c68ddd44f237200 /debootstrap.8 | |
parent | 7755fa7625fb620afea9100d06656d7714c142bc (diff) | |
download | debootstrap-92cf330c441260fa28f6277dc63823f6416e2115.zip debootstrap-92cf330c441260fa28f6277dc63823f6416e2115.tar.gz debootstrap-92cf330c441260fa28f6277dc63823f6416e2115.tar.bz2 |
man page cleanup
Diffstat (limited to 'debootstrap.8')
-rw-r--r-- | debootstrap.8 | 34 |
1 files changed, 14 insertions, 20 deletions
diff --git a/debootstrap.8 b/debootstrap.8 index 1c02818..1d82916 100644 --- a/debootstrap.8 +++ b/debootstrap.8 @@ -25,7 +25,8 @@ by running can be an http:// URL, a file:/// URL, or an ssh:/// URL. .PP The -.I SUITE may be a release code name (eg, sid, wheeze, squeeze, lenny) +.I SUITE +may be a release code name (eg, sid, wheezy, squeeze, lenny) or a symbolic name (eg, unstable, testing, stable, oldstable) .PP Notice that file:/ URLs are translated to file:/// (correct scheme as @@ -86,7 +87,7 @@ Debian installation in .IP "\fB\-\-keyring=KEYRING\fP" Override the default keyring for the distribution being bootstrapped, and use -.IR KEYRING . +.IR KEYRING to check signatures of retrieved Release files. .IP .IP "\fB\-\-no-check-gpg\fP" @@ -157,28 +158,21 @@ Read the private key from file .PP To setup a \fIwheezy\fR system: .PP -# debootstrap wheezy ./wheezy-chroot http://ftp.us.debian.org/debian + debootstrap wheezy ./wheezy-chroot http://ftp.us.debian.org/debian .PP -# debootstrap wheezy ./wheezy-chroot file:///PATH_TO_LOCAL_MIRROR/debian + debootstrap wheezy ./wheezy-chroot file:///LOCAL_MIRROR/debian .PP -Full process to create a complete Debian installation of \fIsid\fR (unstable): +Full process to create a complete Debian installation of \fIsid\fR (unstable) +in a chroot: .PP - main # cd / ; mkdir /sid-root - main # debootstrap sid /sid-root http://ftp.us.debian.org/debian/ + main # debootstrap sid sid-root http://ftp.us.debian.org/debian/ [ ... watch it download the whole system ] - main # echo "proc /sid-root/proc proc defaults 0 0" >> /etc/fstab - main # mount proc /sid-root/proc -t proc - main # echo "sysfs /sid-root/sys sysfs defaults 0 0" >> /etc/fstab - main # mount sysfs /sid-root/sys -t sysfs - main # cp /etc/hosts /sid-root/etc/hosts - main # chroot /sid-root /bin/bash - chroot # dselect - [ you may use aptitude, install mc and vim ... ] - main # echo "8:23:respawn:/usr/sbin/chroot /sid-root " \\ - "/sbin/getty 38400 tty8" >> /etc/inittab - [ define a login tty that will use this system ] - main # init q - [ reload init ] + main # echo "proc sid-root/proc proc defaults 0 0" >> /etc/fstab + main # mount proc sid-root/proc -t proc + main # echo "sysfs sid-root/sys sysfs defaults 0 0" >> /etc/fstab + main # mount sysfs sid-root/sys -t sysfs + main # cp /etc/hosts sid-root/etc/hosts + main # chroot sid-root /bin/bash .SH AUTHOR .B debootstrap was written by Anthony Towns <ajt@debian.org>. |