How to make a virtual machine from tib. Install an additional HDD in VirualBox. We create disk partitions using Acronis Disk Director Suite. Data recovery on a VM
In this article we will look at how to connect an additional hard drive to our virtual machine. We’ll also work a little with partitions in the Acronis Disk Director Suite disk management program.
Here, in principle, is one of the uses of a virtual machine, namely training in creating partitions hard drives without fear of data loss and harm to the main system. If we mess something up, the data on the physical disk will remain unharmed. Therefore, working with VirtualBox is very useful for learning and testing purposes :).
Well, let's get started.
To connect an additional virtual disk, we need to first create it. To do this, launch the virtual machine manager. In the list we see ours virtual machine with WinXP SP3 OS installed.
Click " Tune" In the window that appears, go to the section “ Carriers».
Against " Controller: IDE» Click on the plus sign with the image of several disks. In the window that appears, click “ Create a new disk»
After this, the disk creation window, already familiar from previous articles, will open.
Click the button " Hide details» to open all settings. Strange translation of the button :)
Let's call our disk “ WinXP SP3_hdd2” and save it to drive C (You can save it to another location).
Set the disk size to fixed and allocate 10GB for example. You can specify more. Type VDI. Click " Create"and wait for completion.
After successful creation, our disk will appear in the storage media branch of our machine.
Now it would seem that's it. The disk has been created. After downloading our virtual machine “WinXP SP3”, new equipment is installed in the list of device manager, in the branch " disk devices", another device appears.
But why didn’t another disk appear in Explorer? The thing is that the new virtual disk does not have the format i.e. The disk is not marked and the system simply does not understand it. Previously, the same thing happened with most physical disks. When purchasing a new drive and installing it in system unit, the disk was not visible. Then manufacturers began to make markup, usually FAT32. What to do in this case? There are several ways:
- Using DOS and the fdisk command - the method is old and not convenient.
- By using boot disk– as a rule, bootable CDs contain programs for working with the HDD. The BIOS gives priority to booting from CD, etc. Suitable if the system is “clean”, i.e. You just purchased a disk or a complete computer on which the OS is not even installed yet, so you can partition the disk for yourself into the required number of partitions and their sizes.
- There is a third way - download one of the programs for working with disks (for example, Acronis Disk Director Suite), install and use it to partition and format the disk.
In our case, we will choose method 3.
So, we install the Acronis Disk Director Suite program (we install the program on a virtual machine!).
So, let's start creating sections and setting the format.
For example, we will create two disk partitions and merge one of them with drive C.
Let's get started!
Select our Disk 2. Then click in the menu Disk ->Create partitions
In the window that appears, enter the disk label "MyDisk1" (default will be " Local disk"). In paragraph " Create as» select the main section. In paragraph " Partition size"we indicate 5GB, and " unallocated space after" will be calculated automatically. NTFS file system.
Click " OK"and we see that MyDisk1 appears, I have the letter G.
Let's do the same with the remaining part. Let's call it “MyDisk2”, but leave the size at default, i.e. all the rest. As a result we get the following:
But we didn’t finish there because... If we close the program now, the sections will not appear, we just planned what we want to do, so to speak.
Now we need to apply it. To do this, click on the button with the image of a checkered flag.
We will be shown a window with pending disk operations. Click " Get started"and wait.
If successful, we will receive a message. Now in " My computer"We now have two disks labeled “MyDisk1” and “MyDisk2”.
Connecting images to Acronis True Image Home 2011 as virtual media allows you to treat them like physical disks. This allows you to view images, copy selected files to your hard drive, and also edit a tib file.
To view a backup in Windows Explorer, simply click on the corresponding tib file. You can also click on the file right click mouse and context menu select the "Browse" command. In viewing mode, selected files can only be copied to the hard drive. When copying files from a previewed backup, the copied files lose the Compressed and Encrypted attributes.
To edit the corresponding tib file, you must be connected as virtual media. You can work with a virtual disk as with a real disk, that is, open, save, copy, move, create, delete files or folders. If necessary, you can attach a read-only image.
To launch the Mount Wizard, in the main program window, select Tools and Utilities > Mount Image.
Select backup copy to connect and click "Next". If the archive is located in the "Acronis Secure Zone", select "Zone".
If the backup contains incremental archives, you can select one of the sequential incremental versions based on the date and time of creation.
Keep in mind that to connect the incremental version you must have everything previous versions backup and the initial full backup. If at least one of the sequential versions is missing, the connection will not be possible.
To connect a differential version of a backup, it is also necessary to have an initial full backup.
If the backup is password protected, you will be prompted to enter the password. No further operations will be possible until the correct password is entered.
If the image contains several partitions, then by default all of them will be selected for connection, and drive letters will be automatically assigned.
If you click the "Proceed" button, the image mounting operation will begin. The connected image will be available for viewing, but will not be available for editing. To make the connected image available for editing, click "Options".
Check the "Connect in read/write mode" checkbox. Click "Get Started." The local disk will appear in the My Computer folder.
You can work with files and folders as if they were located on a real disk.
To unmount a virtual disk, right-click the disk and select Unmount.
File backups, disk and partition images have the extension .tib by default, but only images can be mounted.
The image mounting operation is only available for file systems FAT and NTFS.
If the mounted image is modified, an incremental backup will be created and the changes will be saved.
Hello friends! In the last article, we took a laptop with a UEFI BIOS and set it to simple desktop computer with Windows 8.1. Ten launched perfectly and works on a virtual machine. Today I propose to perform the reverse operation - transfer Windows 8.1 desktop computer to a virtual one VirtualBox machine installed on a laptop with Windows 10.
The other day, one of my friends asked me to transfer Windows 8.1 from a desktop computer to a VirtualBox virtual machine installed on a laptop with Windows 10, I agreed, but when I turned on the desktop computer, I saw that Windows 8.1 was practically killed malware. I had to abandon the idea and offer my friend another option.
When six months ago I installed Windows 8.1 with all the programs on his computer for my friend, immediately after installation I made a backup copy of the operating system in Acronis True Image 2014 and this copy was on his portable hard drive USB drive. I suggested converting the "tib" backup copy of the Acronis program into a file virtual disk“VHD” and run it on a virtual machine installed on a laptop with Windows 10, in this case the virtual machine would run a brand new Windows 8.1 without viruses. Let's get down to business.
- Note: If you do not use the program Acronis, then you will have to convert the drive (C:) with Win 8.1 installed into VHD virtual disk file. For these purposes, you can use the Disk2vhd v2.01 program. Read more detailed information at the end of the article.
We launch Acronis True Image 2014 in Windows 8.1.
In the main program window select:
Tools and Utilities-->Convert Acronis Backup.
" Review".
We find in Explorer a backup copy of Windows 8.1 in .tib format, in my case it is located on the drive (H:) and is called Windows 8.1.tib
Select the backup with the left mouse and click “OK”
" Review "
Select the location to save the future VHD file.
I will select the drive (I:) of the portable hard drive USB.
In the final window we look to see if everything is correct.
File Windows 8.1.tib on drive (H:) will be converted to a file Windows 8.1.vhd and the latter will be saved on disk (I:).
"Get started."
The process of converting .tib format to VHD format!
Conversion completed successfully.
" OK" .
The VHD file has been created and is located on the New Volume (I:).
Connecting a portable one hard drive USB with VHD file to a laptop with Windows 10. Install the VirtualBox 5.0.4 virtual machine on the laptop and configure it
If you don't have VirtualBox installed on your laptop yet, install it.
Official website of the virtual machine
https://www.virtualbox.org/wiki/Downloads
click on VirtualBox 5.0.4 for Windows hosts x86/amd64, download and install the program.
We create a virtual machine.
In the main VirtualBox window, click “New”.
We give Name virtual machine "Windows 8.1"
choose
Type: "Microsoft Windows".
Version: "Windows 8.1 (64-bit)".
and click “Next”
"Next"
Check the box “Use an existing virtual hard disk” and click on the Explorer button on the right.
In the explorer that opens, find the VHD virtual disk file on the portable USB hard drive, select it with the left mouse and click “Open”.
"Create"
The Windows 8.1 virtual machine has been created, it remains to make some settings.
Click “Configure”
System Tab
Changing the loading order:
1. Hard drive.
2. Optical drive.
" OK" .
That's all the settings.
We launch our virtual machine “Windows 8.1”.
Note: If you get an error when starting a virtual machine, then read the information at the end of the article.
The devices are being prepared.
Windows 8.1 starts on the VHD disk,
So, we managed to install Windows 8.1 in a virtual machine! The virtual machine is installed in the operating room Windows system 10 laptops with UEFI BIOS.
Part 2 of the articleFriends, many of the readers do not use the Acronis True Image program, which means the VHD virtual disk file will have to be created in the Disk2vhd v2.01 program, and you will also have to configure the virtual machine a little differently, but that’s all.
The other day I decided to update Windows because it started to slow down - almost 2 years since installation. But I didn’t want to part with it at all - I got used to it, and after thinking about it I was able to drag it into VirtualBox by clicking and reading manuals on the forums. The worst thing is BSOD - I overcame it and now I’m writing a walkthrough of the quest.
Disclamer: The task seems trivial, but I didn’t find a ready-made solution and spent almost a day developing my own algorithm for getting through the pitfalls. By the way, the VirtualBox developers write that if you are lucky it will work out, migration is not officially supported.
I'm lucky...
You will need: MergeIDE, Acronis True Image, Acronis LiveCD(USB)
- I’m making a snapshot of the old system: I’m loading Acronis True Image - create an image disk- not a partition (my system was on an SSD and therefore weighed only 50Gb).
- I installed a fresh Windows x64 with drivers on the SSD. My VirtualBox did not want to create x64 systems, so I went into the BIOS and enabled Intel Virtualization Tech.
- I deployed the image to another SATA-HDD, connected it instead of the SSD, and booted into the old Windows. (It would have been faster to patch it on the SSD before installing fresh Windows - but I didn’t think about it then).
- Now the most important thing is to patch the registry so that VirtualBox doesn’t choke:
I run MergeIDE with Administrator rights.
I launch regedit and patch:
The first step is to delete the registry key HKLM\SYSTEM\MountedDevices;
Open the HKLM\SYSTEM\CurrentControlSet\services branch and set the Start parameter to 0x00000000 (0) in the following sections of this branch: amdide, amdsata, amdxata, atapi, intelide, msahci, pciide;
If this does not help (it helped me), you also need to reset these partitions: adp94xx, adpahci, adpu320, aic78xx, amdsbs, arc, arcsas, elxstor, HpSAMD, iaStorV, iirsp, LSI_FC, LSI_SAS, LSI_SAS2, LSI_SCSI, megasas, MegaSR, nfrd960, nvraid, nvstor, ql2300, ql40xx, SiSRaid2, SiSRaid4, vhdmp, vsmraid, aliide, cmdide, nvraid, viaide. - That's it, I close regedit and reboot again into Acronis LiveCD, along the way you can crash pagefile.sys, hiberfil.sys and other slag. Making a second impression of the disk.tib
- I put the SSD with the new Windows in place, boot up, download the trial Acronis True Image and convert TIB -> VHD (for some reason this function was not available in the LiveCD).
- I download and install VirtualBox itself, and I don’t forget the Extension Pack either.
- I'm creating a new one Windows machine 7 x64, I specify the received .VHD as the media, Necessarily I check the box “System - Enable I/O APIC”, set other parameters - CPU, RAM, LAN, etc.
- I launch it and rejoice, remembering the BSOD as a nightmare. The speed is snail's pace, but everything is in place. Don't forget to install the missing drivers.
- The icing on the cake: Devices - Mount the guest OS Add-ons disk image - install. This will allow you to use Drug"n"drop, buffer and other goodies.
Sources of information:
virtualbox.org/wiki
forum.ru-board.com
Here’s more on this topic, but it’s from 2007 and therefore of little relevance.
If you're interested, the hardware is: MSI X79A-GD45, Intel i7-3820 soc-2011, Intel SSDSC2CW120A3, RAM 4*4Gb Corsair
Tags: VirtualBox, windows 7 virtualization