1 Requirements
To perform this procedure you will need:- VMware Workstation, VMware Server or VMware Player.
- CloneZilla ISO image.
- Unpartitioned HDD with enough space to hold your VM image.
2 Preliminary Notes
This tutorial assumes basic knowledge of the cloning process and requires no previous experience on the use of Clonezilla. Make sure your OS is not using in any way the target HDD that will hold your final copy of the VM, otherwise VMware will complain about your disk been in use and CloneZilla will not perform a successful copy of the VM.3 VMware Configuration
First thing is to make sure your virtual CD/DVD is using your CloneZilla ISO image to boot. Next add your physical HDD as part of your existing VM by clicking the Add button.Select Hard Drive and click Next.
Select Use physical disk (for advanced users) then click Next.
Make sure you select the correct drive that you want to use for your physical disk and select the option Use entire disk.
Finally give a name to your configuration file then click Finish.
Make sure your final VMware hardware list include this two elements otherwise, start all over.
4 CloneZilla Cloning Process
Start your VMware and boot from your virtual ISO into CloneZilla image. Use the Live option with default settings.
Select your preferred language and continue.
You will be presented with a series of questions answer yes to all this prompts.
5 Troubleshooting Physical Machine
More likely your first encounter with your cloned OS will be a filesystem corruption, with the following error: Unexpected Inconsistency. To fix this problem enter your root password and run fsck -y to start the filesystem repair process. The -y answers yes to the questions the fsck command will probably output.Go into /etc/udev/rules.d and delete the file 70-persistent-net.rules then reboot. Deleting the file forces the detection process to run again at boot with no baggage left over from the cloning process.
The other way to fix this problem is by edit: /etc/sysconfig/network-scripts/ifcfg-eth0 and add the MAC address of your new NIC.
Open eth0 using vi, type:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
Edit the following line:
HWADDR=<MAC address of the network interface>
This is my sample config file:# Micro-Star INT'L CO Gigabit Ethernet Controller DEVICE=eth0 BOOTPROTO=static DHCPCLASS= HWADDR=00:19:B1:2A:BA:B8 IPADDR=10.10.11.50 NETMASK=255.255.255.192 ONBOOT=yes
Save and close the file then reboot the server:
reboot
The system is now ready to be used.
ValitVtemp-a_1999 Robert Cruz https://wakelet.com/wake/8FL5AeL5p8KMCRsY9PYSh
ReplyDeleteopcesvina