Destination Devices

Describes the devices that OCK images can be written to.

OCK Image Builder can generate a bootable OCK image in Qcow2 format, or as a raw disk image, or directly to a physical disk. The utility mounts Qcow2 images on a Network Block Device (NBD). Raw disk images are mounted either to a physical disk, or a loopback device, depending on the options specified.

So that OCK Image Builder can mount Qcow2 images to an NBD, you must first load the nbd kernel module, using the following syntax, where max_partitions is the maximum number of partitions that the resulting Qcow2 image requires. The default is 8, which is enough for most images:

sudo modprobe nbd max_part=max_partitions