grml-debootstrap 0.7 

http://grml.supersized.org/archives/246-grml-debootstrap-0.7.html

Monday, April 16. 2007

I just uploaded a new version of grml-debootstrap to the grml-testing pool providing many new features. One nifty feature is setting variables via commandline. This allows you to install Debian with just one command and 2 keystrokes(!) (one 'y' for starting execution of grml-debootstrap and another one for setting the password of user root, this can be automated as well of course with —password <password> if you want to). I just installed a plain Debian system via running:

# grml-debootstrap --target /dev/hda2 --grub hd0 --groot hd0,1

But that's not all. You can install a plain Debian system full automatic(!) via bootoption debian2hd. I just did a full automatic installation with grml-debootstrap 0.7 and grml-autoconfig 0.6.39 running on grml-small via booting with:

debian2hd target=/dev/hda1 grub=hd0 groot=hd0,0 mirror=ftp://ftp.tugraz.at/mirror/debian password=foobar

Not a single keystroke behind the commandline on the bootprompt. Rocking! :-)

documented on: 2007.08.03

grml-debootstrap 

http://grml.org/grml-debootstrap/

Usage 

# grml-debootstrap --target /dev/hda2 --grub hd0 --groot hd0,1

Info 

wrapper around debootstrap for installing plain Debian via grml

Description 

grml-debootstrap is a wrapper suite around debootstrap (and cdebootstrap if you want) for installing a plain Debian system via grml very fast and easy.

All you have to do is adjust a few variables in configuration file /etc/debootstrap/config (or specify some variables via commandline) and invoke grml-debootstrap without any further options then.

A plain and base Debian system will be installed on the given device (or directory) then. Customization of this process is possible as well.

Help 

Usage examples 

grml-debootstrap --target /dev/hda1 --grub hd0 --groot hd0,0

Install default Debian release (stable/etch) on /dev/hda1 and install bootmanager Grub in MBR (master boot record) of /dev/hda and use /dev/hda1 as system partition.

grml-debootstrap --target /dev/hda6 --grub hd0 --groot hd0,5 --release sid

Install Debian unstable/sid on /dev/hda6, install bootmanager Grub in MBR (master boot record) of /dev/hda and use /dev/hda6 as system partition.

grml-debootstrap --target /data/chroot

Install default Debian release (stable/etch) in directory /data/chroot (without any bootloader).

grml-debootstrap --target /dev/sda3 --grub hd0 --groot hd0,2 --mirror ftp://ftp.tugraz.at/mirror/debian

Install default Debian release (stable/etch) on /dev/sda3 and install bootmanager Grub in MBR (master boot record) of /dev/sda and use /dev/sda3 as system partition. Use specifed mirror instead of the default (ftp://ftp.debian.de/debian) one.

Automatic installation:

debian2hd target=/dev/hda1 grub=hd0 groot=hd0,0 mirror=ftp://ftp.tugraz.at/mirror/debian password=foobar

Automatic installation within booting process is done in grml-autoconfig via setting environment variable AUTOINSTALL and creation of /usr/bin/grml-debootstrap_noninteractive with the available and relevant bootoptions for grml-debootstrap.

Check details at http://grml.org/grml-debootstrap/

Last updated 16-Apr-2007

documented on: 2007.08.03