X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap.8.txt;h=3144ebe85f3ac15c5c2a73c57b8d36bdb8dd777c;hp=4ae89b212af64fa650b0e11200d7183d1119b712;hb=fc6d883482b5787110ef2d6b19918d4fbeb9d851;hpb=f1c990cccb615021fdb8c16922967d115cb086a8;ds=sidebyside diff --git a/grml-debootstrap.8.txt b/grml-debootstrap.8.txt index 4ae89b2..3144ebe 100644 --- a/grml-debootstrap.8.txt +++ b/grml-debootstrap.8.txt @@ -165,6 +165,18 @@ Options and environment variables *-v*, *--verbose*:: Increase verbosity. +*--vmfile*:: + Set up a Virtual Machine instead of installing to a partition or directory. + This allows deployment of a Virtual Machine. The options needs to be + combined with the --target option. + Usage example: --vmfile --target /mnt/sda1/qemu.img + +*--vmsize* <_size_>:: + Use specified size for size of Virtual Machine disk file. If not specified it + defaults to 2G (being 2GB). Syntax as supported by qemu-img (see manpage + qemu-img(1) for details. + Usage example: --vmsize 3G + *-V*, *--version*:: Show version of program and exit. @@ -193,6 +205,12 @@ any bootloader). grml-debootstrap --target /dev/sda3 --grub /dev/sda --mirror ftp://ftp.tugraz.at/mirror/debian +Install default debian release (stable/squeeze) in a Virtual Machine file with +3GB disk size (including Grub as bootmanager in MBR of the virtual disk file): + + mount /dev/sda1 /mnt/sda1 + grml-debootstrap --vmfile --vmsize 3G --target /mnt/sda1/qemu.img + Install default Debian release (stable/squeeze) 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 (ftp://ftp.debian.de/debian) one.