Turn a physical Linux or Windows in a virtual machine for free

2:45 PM
Turn a physical Linux or Windows in a virtual machine for free -

We will focus on the creation of this masterpiece in a Windows environment, but do not worry the same principles can be used on any operating system able to run Virtual Box

List of software and hardware needed :.

Software:

-Virtual Box and Extension pack

-Windows 7 or higher PC or most any Linux Distro

-Redo backup and restore ISO

installer -YUMI

Hardware:

[car

mini-USB Flash

- USB hard drive

the overall benefits of this procedure is three times. A savings, the cost of feed, climate and space required will be immediately visible. Two, manageability and scalability greatly increases due to work with virtual disks and virtual networks that can scale up or down with the finer-grained control. Three, redundancy and fast disaster recovery that is provided by cloud services. Especially when it linked into your existing network infrastructure to transition seamlessly when disaster strikes.

While this process can be completed in several ways by different software, this is the way that is familiar to me and all the tools you need are free.

Sounds daunting? No problem, but where do we start first?

Well, we need to get a picture of the physical machine on removable media (USB hard drive). I recommend a USB hard drive vs just a USB flash drive because of the picture will take space. There will also need a minimum of 2 GB USB flash drive size to use as a boot support for Redo Backup and Recovery.

Connect the USB hard drive to the USB port and open the folder structure. Create a folder in a location that you can remember I.E D: "computer name". This is the place where you install the files from our initial physical copy image. After this is complete, remove the USB hard drive by right-clicking the "Safely Remove Hardware" icon in the taskbar and click Remove "whatever your USB hard drive is called" Disconnect the USB hard drive.

Next, we need to create a bootable USB to load Redo Backup and Recovery on. Download a small program called "YUMI". YUMI will create a bootable USB flash drive to Redo Backup and Recovery on it. grab a copy of Redo Backup and Recovery, save both the files on your desktop or location of choice.

Now, run YUMI and select the USB flash drive from the list (remember to select the USB drive and not your USB HDD to be removed anyway!). Choose "Redo Backup and Recovery" from the list of software that you can create an installer for. Click the "Browse" button to locate the Redo Backup and Recovery.iso to include the installation. Finally, click on "create" to start the backup bootable Redo and USB bootable recovery creation process. When this is done, YUMI ask you if you want to add other distro, just say "no." Remove the USB from the computer using the icon "Safely Remove Hardware" in the taskbar and click Remove "whatever your USB flash drive is called" and disconnect the USB flash drive. Please keep Redo Backup and Recovery.iso we will need later.

Make sure that the physical computer that you want to virtualize is in a state switched off, if not please turn off the computer. just insert the USB flash drive into the computer. Turn on the computer and press the correct key to access the boot menu or to make sure that the USB drive is set to start before the internal hard drive computer. Choose the USB voice to boot from, YUMI should now load. Choose the "Tools" and "Redo Backup and Recovery". Press Enter on the Reset menu to start the mini recovery O / S. When Redo Backup and Recovery is loaded, insert the USB hard drive and give about 20 seconds

Open Redo Backup and Recovery Software :.

1. Choose "Backup"

2. Choose your disk for backup (disk of the physical computer)

3. Select partitions for backup (usually would all partitions and MBR)

4. in the "destination drive" select "directly connected to my computer" and click Browse.

5. Locate the folder of files that we have done previously I.E D :. "Computer Name", click OK

6. Choose a name for the disk image. I usually choose the date, click Next. The backup process will take anywhere from 1 hour to 3 hours depending on the hard disk capacity and speed of the computer.

Congratulations, at this point, you have made a full backup of the physical machine. Click "Close" on the backup and restore program Restore and select the Power button in the lower right of the screen. Select "Shutdown" and let the computer shutdown. Remove both USB HDD and USB flash drive and boot any computer with Windows 7 or higher installed on it.

Now, lets turn this physical machine to a virtual machine!

Open Virtual Box and choose "New." Give your virtual machine a name and choose the type of virtual machine will as well as the version. Choose the memory size, usually a lot of 2 GB = 2,048 MB if I'm going to run it on a machine that has 4 GB of physical RAM installed. Create a new hard disk, click VHD as the type of hard drive files, click Next. Choose "dynamically allocated" for archiving, click Next. Give your VHD hard drive a name, I usually call it by what is running on it, hence the name is what you have called the computer. Make VHD big enough hard drive to store the operating system, I usually choose 0GB to be on the safe side. Also in this case it depends on how the data was of great physical machine. It is now back to the virtual screen manager Box with the new VMs. Make sure your extension Virtual Box has been installed. Get the extension for the version of the software and install it in this way:

In Virtual Box, click File -> Preferences -> Extensions -> Add Package -> Locate the extension file and select it. It will be installed automatically.

Prepare the conversion! Use only Option A or Option B:

Option A: If you can get USB support work in Virtual Box:

Make sure you have installed the Extension Pack and USB access configured correctly, if you have some problems, please refer to the Virtual Box document here:

https://www.virtualbox.org/manual/ch03.html#idp55342960

In Virtual Box, click the VM name and choose "Settings" at the top, choose "storage." Click the CD / DVD empty icon and then the CD / DVD icon on the right under "Attributes" and select the ISO Redo Backup and Restore and click "OK". At this point you have the Redo Backup and Recovery.iso at hand and a blank virtual hard disk to install a. All you have to do now is insert the USB hard drive and jump over option B, because it is not necessary to run the

Option B :. If you can not get USB support for working in virtual Box. No problem, its what happened to me, because I found a way around it.

In Virtual Box, click on your name VM and select "Settings" at the top, choose "storage", choose "Add Hard Disk" next to the controller: SATA controller or IDE what you have. Choose "Create a new album," choose VHD and make new 0GB dynamically allocated and the name "Installer". Under "Storage Tree" click on the blank CD icon / DVD, and then the CD / DVD icon on the right under "Attributes" and select the ISO Redo Backup and Restore and click "OK". At this point you have the Redo Backup and Recovery.iso at hand and a blank virtual hard disk that is named computer and another named Installer black VHD. Now close the virtual section and right click on "Computer" and select "Manage." Left-click on "Disk Management" and then click on "Disk Management" again and select "Attach VHD". Browse to the location of your install virtual hard disk that you created in Virtual Box, usually in the "Documents" folder and click ok. Now you can copy the physical image of the computer backup we made earlier by D: "computer name" for VHD installation. After the contents have been copied, right click on the new computer management and click "Detach VHD". Open Virtual Box and proceed to the next step.

Converts this thing!

Once you have either USB or support the VHD and Redo Backup installation setup and mounted ISO recovery. Press the "Start" button on the name VM Virtual Box. You will be welcomed family of backup and recovery Restore the Start menu, press enter to proceed. Start the backup and recovery program does not start automatically. Choose "Restore". Simply put, you can choose where the backup image is "the unity of origin" (USB hard drive or VHD installation if applicable) and where to install the image (VHD vacuum from the computer name). After choosing to install in a vacuum VHD, confirm the request overite all data and let the recovery process begins. After this is finished, click Close, and the backup and recovery arrest, as you did before. The VM must stop working. Click on "Settings" from the Virtual Box Manager and remove the backup and restore ISO and VHD installation, if applicable. Leave your virtual hard disk with the computer name or whatever you called and click "OK" to return to Virtual Box Manager. Click "Start", you should now be looking at a completely virtualized version of the physical computer!

Celebrate the many uses of this small VHD power!

You can carry this virtual hard disk and include it anyway Virtual Box VM VMware or even if you are so inclined. You can run on your premises local or distribute it in the cloud. An instance of this cloud would not even need to run VM Virtual Box on cloud calculation example, or running natively in your space cloud computing, if the hosting provider supports it

and tricks troubleshooting:.

Q : When you try to run my Linux-based virtual machine, I get "no syncing: VFS: Unable to mount root fs on unknown-block (0,0 ) "?

R: This is because in the process of backup and restore all entries to hda ##, ## hdb, and so on have been converted to sda ## extC. First, copy the VHD precious so do not lose your work if something goes wrong. Then all you have to do is mount the ISO backup and restore, start again your VM and open a terminal session. Mount the root partition and edit entries in GRUB or LILO for the correct boot device. For example: in GRUB, the items are included in menu.Ist and fstab. In Lilo they are included in /etc/lilo.config and then / sbin / lilo -v to write the changes

. Q: When you try to run my Windows-based virtual machine I get a boot failure

to :? obtain a copy or a Windows disc and mount it inside Virtual Box sure that is set to start before. Choose the "Repair" option. Choose "Start Up repair" and make it work. If this does not do the trick, go back to option "Repair" and click "Command Prompt". Try these commands one at a time, switch off and remove the Windows disk each time to see if the problem has been corrected:

Bootrec.exe / fixmbr. Then reboot to see if it solved. If any results, try:

Bootrec.exe / fixboot. Then reboot to see if it solved. If any results, try:

Bootrec.exe / RebuildBcd. Then reboot to see if it solved. If any results, try:

You may have to remove the BCD folder by running these commands one line at a time without the quotes:

"bcdedit / export C: BCD_Backup

C: <---- Only if the installation of Windows is installed on C:

Boot CD

attrib -s -h -r BCD

ren c: bootbcd bcd.old

bootrec / RebuildBcd "

Previous
Next Post »
0 Komentar