Update documentation accordingly, also related to squeeze EOL
# Debian release that should be installed.
# Supported values: lenny, squeeze, wheezy, jessie, stretch, sid
# Debian release that should be installed.
# Supported values: lenny, squeeze, wheezy, jessie, stretch, sid
-# Default: 'jessie'
-# RELEASE='jessie'
+# Default: 'stretch'
+# RELEASE='stretch'
# Define components that should be used within sources.list.
# Default: 'main'
# Define components that should be used within sources.list.
# Default: 'main'
[ -n "$POST_SCRIPTS" ] || POST_SCRIPTS='yes'
[ -n "$PRE_SCRIPTS" ] || PRE_SCRIPTS='yes'
[ -n "$RECONFIGURE" ] || RECONFIGURE='console-data'
[ -n "$POST_SCRIPTS" ] || POST_SCRIPTS='yes'
[ -n "$PRE_SCRIPTS" ] || PRE_SCRIPTS='yes'
[ -n "$RECONFIGURE" ] || RECONFIGURE='console-data'
-[ -n "$RELEASE" ] || RELEASE='jessie'
+[ -n "$RELEASE" ] || RELEASE='stretch'
[ -n "$RM_APTCACHE" ] || RM_APTCACHE='yes'
[ -n "$SCRIPTS" ] || SCRIPTS='no' # deprecated, replaced by POST_SCRIPTS
[ -n "$SECURE" ] || SECURE='yes'
[ -n "$RM_APTCACHE" ] || RM_APTCACHE='yes'
[ -n "$SCRIPTS" ] || SCRIPTS='no' # deprecated, replaced by POST_SCRIPTS
[ -n "$SECURE" ] || SECURE='yes'
-m, --mirror <URL> Mirror which should be used for apt-get/aptitude.
-i, --iso <mnt> Mountpoint where a Debian ISO is mounted to, for use
instead of fetching packages from a mirror.
-m, --mirror <URL> Mirror which should be used for apt-get/aptitude.
-i, --iso <mnt> Mountpoint where a Debian ISO is mounted to, for use
instead of fetching packages from a mirror.
- -r, --release <name> Release of new Debian system (default: jessie).
+ -r, --release <name> Release of new Debian system (default: stretch).
-t, --target <target> Target partition (/dev/...) or directory where the
system should be installed to.
-p, --mntpoint <mnt> Mountpoint used for mounting the target system,
-t, --target <target> Target partition (/dev/...) or directory where the
system should be installed to.
-p, --mntpoint <mnt> Mountpoint used for mounting the target system,
# ask for Debian release {{{
prompt_for_release()
{
# ask for Debian release {{{
prompt_for_release()
{
- [ -n "$RELEASE" ] && DEFAULT_RELEASE="$RELEASE" || DEFAULT_RELEASE='jessie'
+ [ -n "$RELEASE" ] && DEFAULT_RELEASE="$RELEASE" || DEFAULT_RELEASE='stretch'
RELEASE="$(dialog --stdout --title "${PN}" --default-item $DEFAULT_RELEASE --menu \
"Please enter the Debian release you would like to use for installation:" \
0 50 5 \
RELEASE="$(dialog --stdout --title "${PN}" --default-item $DEFAULT_RELEASE --menu \
"Please enter the Debian release you would like to use for installation:" \
0 50 5 \
*-r*, *--release* _releasename_::
Specify release of new Debian system. Supported releases names: lenny,
*-r*, *--release* _releasename_::
Specify release of new Debian system. Supported releases names: lenny,
- squeeze, wheezy, jessie, stretch (note: requires a recent version of debootstrap)
- and sid. Corresponding with configuration variable RELEASE.
+ squeeze, wheezy, jessie, stretch and sid. Corresponding with configuration
+ variable RELEASE. Default release: stretch
grml-debootstrap --target /dev/sda1 --grub /dev/sda
grml-debootstrap --target /dev/sda1 --grub /dev/sda
-Install default Debian release (jessie) on /dev/sda1 and install bootmanager
+Install default Debian release (stretch) on /dev/sda1 and install bootmanager
Grub in MBR (master boot record) of /dev/sda and use /dev/sda1 as system partition.
grml-debootstrap --target /dev/sda6 --grub /dev/sda --release sid
Grub in MBR (master boot record) of /dev/sda and use /dev/sda1 as system partition.
grml-debootstrap --target /dev/sda6 --grub /dev/sda --release sid
mount /dev/sda1 /data/chroot
grml-debootstrap --target /data/chroot
mount /dev/sda1 /data/chroot
grml-debootstrap --target /data/chroot
-Install default Debian release (jessie) in directory /data/chroot (without
+Install default Debian release (stretch) in directory /data/chroot (without
any bootloader).
grml-debootstrap --target /dev/sda3 --grub /dev/sda --mirror ftp://ftp.tugraz.at/mirror/debian
any bootloader).
grml-debootstrap --target /dev/sda3 --grub /dev/sda --mirror ftp://ftp.tugraz.at/mirror/debian
-Install default Debian release (jessie) on /dev/sda3 and install bootmanager
+Install default Debian release (stretch) on /dev/sda3 and install bootmanager
Grub in MBR (master boot record) of /dev/sda and use /dev/sda3 as system partition.
Use specified mirror instead of the default (http://httpredir.debian.org/debian) one.
mount /dev/sda1 /mnt/sda1
grml-debootstrap --vmfile --vmsize 3G --target /mnt/sda1/qemu.img
Grub in MBR (master boot record) of /dev/sda and use /dev/sda3 as system partition.
Use specified mirror instead of the default (http://httpredir.debian.org/debian) one.
mount /dev/sda1 /mnt/sda1
grml-debootstrap --vmfile --vmsize 3G --target /mnt/sda1/qemu.img
-Install default debian release (jessie) in a Virtual Machine file with
+Install default debian release (stretch) in a Virtual Machine file with
3GB disk size (including Grub as bootmanager in MBR of the virtual disk file):
mount -o loop /mnt/sda6/debian-CD-1.iso /mnt/iso
3GB disk size (including Grub as bootmanager in MBR of the virtual disk file):
mount -o loop /mnt/sda6/debian-CD-1.iso /mnt/iso
-Specify release of new Debian system. Defaults to Debian jessie. Supported
+Specify release of new Debian system. Defaults to Debian stretch. Supported
releases: lenny, squeeze, wheezy, jessie, stretch and sid. Usage example: release=sid
mirror=...
releases: lenny, squeeze, wheezy, jessie, stretch and sid. Usage example: release=sid
mirror=...
include::releasetable.txt[]
[NOTE]
include::releasetable.txt[]
[NOTE]
================================================================================
================================================================================
-[1] Please notice that lenny is an unsupported release within Debian nowadays.
-grml-debootstrap can handle the release but you really should not use lenny
-anymore unless you really know what you are doing. Choose Debian 8.0 (jessie) or
-something newer instead.
+[1] Please notice that lenny and squeeze are unsupported releases within Debian nowadays.
+grml-debootstrap can handle the releases but you really should not use them
+anymore unless you really know what you are doing. Choose the current Debian
+stable version instead.
-Notice that you need to specify a mirror providing the lenny release, the
+Notice that you need to specify a mirror providing the lenny/squeeze releases, the
default (http://httpredir.debian.org/debian) doesn't provide it any longer nowadays.
Set the mirror to e.g. http://archive.debian.org/debian/ if you don't have
default (http://httpredir.debian.org/debian) doesn't provide it any longer nowadays.
Set the mirror to e.g. http://archive.debian.org/debian/ if you don't have
+your own lenny/squeeze mirror.
You also need to specify a filesystem that's supported by lenny, e.g.
'--filesystem ext3' since grml-debootstrap's current default (ext4) isn't
You also need to specify a filesystem that's supported by lenny, e.g.
'--filesystem ext3' since grml-debootstrap's current default (ext4) isn't
-Current status (as of 2015-06-06):
+Current status (as of 2017-01-26):
+----------------+-------------+
| Release / Tool | debootstrap |
+----------------+-------------+
| lenny | works [1] |
+----------------+-------------+
+----------------+-------------+
| Release / Tool | debootstrap |
+----------------+-------------+
| lenny | works [1] |
+----------------+-------------+
+ | squeeze | works [1] |
+----------------+-------------+
| wheezy | works |
+----------------+-------------+
+----------------+-------------+
| wheezy | works |
+----------------+-------------+
|======================
|Release |Status
|lenny |works[1]
|======================
|Release |Status
|lenny |works[1]
|wheezy |works
|jessie |works
|stretch |works
|wheezy |works
|jessie |works
|stretch |works