How do you create and partition a raw disk image?
I need to create a raw disk image for use in a virtual machine, but I need to create the partitions before creating the file system or installing the operating system. Can anyone describe a process to do this? Answer First create a blank raw disk image (25GB in this case): # dd if=/dev/zero of=disk.img … Read more