bxtcreate

Langue: en

Version: 110631 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)

NAME

bxtcreate - Create a partitioned bochs-hd-image

SYNOPSIS

bxtcreate [ options ] image-file

DESCRIPTION

bxtcreate creates a (partitioned) bochs-hd-image. Heads and sectors-per-track can be given as options, the number of cylinders is calculated automatically. If neither heads, nor sectors-per-track are given, they default to 16 and 63 respectively. Thus, images created with bxtcreate are compatible with images created with bximage from the Bochs-distribution.

OPTIONS

-V
Show the version-number of the Bochs-Tools
-h
Show options and parameters
-q
Don't output informative messages (default)
-v
Output informative messages
-s
Simulate commands, but don't execute them
-o
Overwrite existing image-file
-H heads
Number of heads. Defaults to 16
-S spt
Number of sectors-per-track. Defaults to 63
-1 size
create partition 1 with given size. The size is interpreted as bytes, if it has no suffix. The following suffixes are honoured (syntax equal to dd(1)): b (512 bytes), k (1024 bytes), kd (1000 bytes), m (1024k), md (1000kd), g (1024m), gd (1000g).
-2 size
create partition 2 with given size. The size argument is interpreted as in option -1.
-3 size
create partition 3 with given size. The size argument is interpreted as in option -1.
-4 size
create partition 4 with given size. The size argument is interpreted as in option -1.
-t size
create an image with given total size. The size argument is interpreted as in option -1. If none of the -1,...,-4 options are supplied, bxtcreate creates an image without any partitions. Otherwise, the size of the last partition is reduced if necessary (or some space is left).

Example

To create a hd-image with two partitions (the first with 128 MB, the second with 64 MB) use the command:
  # bxtcreate -1 128m -2 64m woody.img

To create a 128 MB hd-image without any partitions, use the command:
  # bxtcreate -t 128m hda.img This image is identical to an image created with bximage.

LICENSE

This program is distributed under the terms of the GNU General Public License as published by the Free Software Foundation.

AVAILABILITY

The latest version of this program can be found at:         http://www.bablokb.de/bochs-tools/

SEE ALSO

bxt-synopsis(1), bochs(1), bximage(1)

AUTHOR

Bochs-Tools were written and are maintained by Bernhard Bablok (mail@bablokb.de)

BUGS

The maximum image size is 2 GB.

Arguments aren't checked for plausibility. E.g. you cannot create partition number 2 without creating partition number 1.

Please report all bugs to the author. Provide a detailed description of the bug, the version of the program you are running and the operating system you are using.