From 452a3caccfb796ddb220dab36de174dc278fd68d Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 8 Jul 2009 02:43:00 +0200 Subject: [PATCH 1/1] Minor doc improvements --- cmdlineopts.clp | 2 +- grml-debootstrap.8.txt | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cmdlineopts.clp b/cmdlineopts.clp index cc5c9ee..ea04eeb 100644 --- a/cmdlineopts.clp +++ b/cmdlineopts.clp @@ -30,7 +30,7 @@ while :; do --iso|-i) # Mountpoint where a Debian ISO is mounted to shift; _opt_iso="$1" ;; - --release|-r) # Release of new Debian system (default: stable) + --release|-r) # Release of new Debian system shift; _opt_release="$1" ;; --target|-t) # Target partition (/dev/...) or directory diff --git a/grml-debootstrap.8.txt b/grml-debootstrap.8.txt index ccbd323..82b2e5c 100644 --- a/grml-debootstrap.8.txt +++ b/grml-debootstrap.8.txt @@ -102,6 +102,8 @@ Options and environment variables Specify mountpoint that should be used for mounting the target system. Corresponding with configuration variable MNTPOINT. + Note: this option has no effect if option -t is given and represents a + directory. *--packages* <_file_>:: @@ -116,7 +118,7 @@ Options and environment variables *-r*, *--release* <_releasename_>:: - Specify release of new Debian system. Supported releases: etch, lenny, + Specify release of new Debian system. Supported releases names: etch, lenny, squeeze (note: requires current version of debootstrap) and sid. Corresponding with configuration variable RELEASE. @@ -131,7 +133,7 @@ Options and environment variables Target partition (/dev/...) or directory (anything else without /dev at the beginning). To install grub using *--grub* and *--groot*, make sure to use a _device_ instead of a directory as _target_ (installation of - grub as bootloader when using directories isn't supported yet). + grub as bootloader when using directories is NOT supported). *-v*, *--verbose*:: Increase verbosity. @@ -156,6 +158,7 @@ Grub in MBR (master boot record) of /dev/sda and use /dev/sda1 as system partiti Install Debian unstable/sid on /dev/sda6, install bootmanager Grub in MBR (master boot record) of /dev/sda and use /dev/sda6 as system partition. + mount /dev/sda1 /data/chroot grml-debootstrap --target /data/chroot Install default Debian release (stable/lenny) in directory /data/chroot (without -- 2.1.4