You will need the clonezilla.iso, the rest can be achieved within Workstation or Player.
Steps.
- Add clonezilla.iso as a CD drive to the VM and then set the VM to boot from the cd/clonezilla.iso (each VM has it's own startup bios like a real computer).
- Boot VM image and from clonezilla physically clone the VM image to a different local HD.
- Remove HD and test in a different computer.
- Remove clonezilla iso from VM image.
Like when a normal PC starts up, the Debian OS starts by loading it's Bios then loads the OS. You need to add the Clonezilla partition iso to the startup Bios so it runs before the OS starts.
To make things a little easier, add a pause to the time before the Bios starts to load.
In notepad++ open the file: SWGEmu_Debain.vmx in your VM folder (be careful here as this file contains all the config info for the VM).
Add the following line to the bottom (or edit this line if it already exists).
Code:This timer (in milliseconds), will add a 5 second pause before the VM's system bios starts to give you a chance to enter the bios setup (F2) as it starts immediatly by default.
Next.
Add the clonezilla.iso to the VM system.
In Workstation or Player, click the VM image in the left hand window and edit VM settings.
In the Hardware Tab (where all the devices are listed), select Add, and from Hardware Types, select CD/DVD Drive and click next.
Select the Use ISO Image option and click Next.
Browse to where you stored the clonezilla.iso that you downloaded earlier, the make sure the Connect at Power On box is checked and click Finish.
Check the CD device has been added and the .iso is shown and exit out of the VM settings.
Next.
Set the Boot order of the VM Image.
Start the VM image and immediatly press F2 to enter system bios.
Find boot order and change so it boots from the CD drive first. F10 to save and exit.
VM will reboot and should load into the clonezilla software from the virtual CD drive you added.
Once it starts you will be asked for setup choices, use the default selections when asked by pressing enter (3 times), then the software will start.
Use these choices to clone the VM using ALL the space on the HD.
- Device - Device
- Expert Mode
- Disk to local disk
- Accept defaults here
- Choose interactively repair
- Create Partition table proportionally - Use this if your using the full HD space. If you're using a partition on the drive amend accordingly.
- "y" to clone bootloader when asked.
Back to the top