sometimes you simply want to copy a vdi file and attach it to another virtual machine.
This will fail because in a VirtualBox Installation each vdi Harddisk must have an unique UUID. This command line changes the UUID of a VDI file.
Continue reading VirtualBox: Changing the UUID of a VDI virtual disk File →
Advertisment to support michlstechblog.info
For VMware Workstation or ESX Server and other virtualisation Software it is sometimes necassary to have a virtual floppy disk file.
For example if you want to install Windows XP in a VMware virtual environment and you want to use a SCSI Disk at the virtual LSI Controller. Windows XP hasn’t any driver for this controller and therefore no harddisk ist found and the installation aborts. Solution is, creating a virtual floppy file, copy the driver to this and attach the file as virtual floppy to the virtual machine.
Note: In the vSphere GUIs you can only enlarge SCSI Disks online. For IDE Disks you have to do this at the ESXi host command line which is described here.
Best system for do this is linux, here for example debian. There are all tools which are needed, except two are missing, installed by default . Check if the dostools and unzip are not installed or get them via
apt-get install dosfstools unzip
Creating a empty floppy image with an 1,44MB FAT 12 filesystem is very easy. Name the file as you want. For VMware vSphere the extension .flp should be the better choice. Create the floppy by using the following command
mkfs.msdos -C /tmp/floppy.img 1440 -F 12
Floppy is now ready to take some files .
Continue reading Creating a virtual floppy disk image for Windows XP installation on VMware →