The diskegrator is a utility for integrating directory disk images and a bootloader into a bootable image. It was originally intended to build virtual machines, but the target disk images can reside on hard disks, disk partitions, block device targets, or files via loopback.