Trouble using system drive from previous computer.
Posted: 22. Apr 2022, 02:59
VirtualBox 6.1.32 r149290 (Qt5.6.2)
On new Ryzen 5 5600G 64-bit cpu, with 2TB SSD system drive; 32GB Ram. Windows 11 Home Edition.
My old Dell Optiplex running Win7 64-bit, with 2x 1TB SATA drives, motherboard died.
Built new computer and put 2x 1TB Sata drives from old computer inside. I can see and successfully access these two old drives and their files on the new computer using File Explorer inside Windows 11.
I have used VirtualBox for years. One VHD from a very old XP machine that I paid the PC shop to convert to a VHD. Has worked wonderfully for 10+ years, and is still working on the new computer.
Now, I want to be able to boot that old Win7 64-bit machine using VirtualBox. I have been at this for a week.
I have tried several things:
- Using Disk2Vhd utility from SysInternals
- Using Windows Disk Management utility to create VHD
- Using VBoxManage internalcommands createrawvmdk
These all successfully create a VHD/VMDK/etc files. And then I can successfully create the new machine in the VirtualBox GUI. But when I try to start the machine, I encounter a myriad of issues. From READONLY to INT18: BOOT FAILURE, and more. I have literally lost track over the past week. But these are the latest incarnations.
Working through each of these errors from the multitude of hits in Google on each error gets me nowhere or only leads to new problems.
Question
Where I truly want to start is here. It seems to me that this would be a common usage for VirtualBox. Old bootable OS on disk drive without a home. I want to boot it in a Virtual Machine using VirtualBox.
I can't seem to find any documentation on RECOMMENDED PRACTICE OF GOING FROM BOOTABLE HARD DRIVE TO VIRTUAL MACHINE THAT CAN BE USED BY VIRTUALBOX.
What is the recommended practice for doing this? Just a pointer, if it exists, is all I need. It seems to me that this info would be where everyone with an existing bootable OS drive would start. But I can't find it.
This is confusing to me. I have tried everything I have come across with a week's worth of hours mentioned in the list above (e.g. Disk2VHD, Windows Disk Mgt, and VBoxManage).
My preference would be to build a VHD from the previously bootable system drive and put it on my new SSD drive, instead of booting from the hard disk itself.
Then, I will try that method and seek further help if that gets me nowhere.
Let's start here.
vminfo from VHD created via internalcommands createrawvmdk
>> vboxmanage showvminfo "JTC2013" --details
Name: JTC2013-HD
Groups: /
Guest OS: Windows 7 (64-bit)
UUID: 1aeee947-4f04-4a5c-a441-074a2121361a
Config file: C:\VHDs\JTC2013-HD\JTC2013-HD.vbox
Snapshot folder: C:\VHDs\JTC2013-HD\Snapshots
Log folder: C:\VHDs\JTC2013-HD\Logs
Hardware UUID: 1aeee947-4f04-4a5c-a441-074a2121361a
Memory size: 8192MB
Page Fusion: disabled
VRAM size: 128MB
CPU exec cap: 100%
HPET: disabled
CPUProfile: host
Chipset: piix3
Firmware: BIOS
Number of CPUs: 1
PAE: disabled
Long Mode: enabled
Triple Fault Reset: disabled
APIC: enabled
X2APIC: disabled
Nested VT-x/AMD-V: disabled
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode: message and menu
Boot Device 1: HardDisk
Boot Device 2: Not Assigned
Boot Device 3: Not Assigned
Boot Device 4: Not Assigned
ACPI: enabled
IOAPIC: enabled
BIOS APIC mode: APIC
Time offset: 0ms
RTC: local time
Hardware Virtualization: enabled
Nested Paging: enabled
Large Pages: enabled
VT-x VPID: enabled
VT-x Unrestricted Exec.: enabled
Paravirt. Provider: Default
Effective Paravirt. Prov.: HyperV
State: powered off (since 2022-04-22T00:41:58.970000000)
Graphics Controller: VBoxSVGA
Monitor count: 1
3D Acceleration: disabled
2D Video Acceleration: disabled
Teleporter Enabled: disabled
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: disabled
Allow Tracing to Access VM: disabled
Tracing Configuration:
Autostart Enabled: disabled
Autostart Delay: 0
Default Frontend:
VM process priority: default
Storage Controller Name (0): SATA
Storage Controller Type (0): IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 30
Storage Controller Port Count (0): 2
Storage Controller Bootable (0): on
SATA (0, 0): C:\VHDs\JTC2013-HD.vmdk (UUID: 77517b4f-d84c-45ec-bf75-92a1ac0eac63)
SATA (1, 0): Empty
NIC 1: MAC: 0800274AAD56, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings: MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1: disabled
UART 2: disabled
UART 3: disabled
UART 4: disabled
LPT 1: disabled
LPT 2: disabled
Audio: enabled (Driver: DSOUND, Controller: HDA, Codec: STAC9221)
Audio playback: enabled
Audio capture: disabled
Clipboard Mode: disabled
Drag and drop Mode: disabled
VRDE: disabled
OHCI USB: enabled
EHCI USB: disabled
xHCI USB: disabled
USB Device Filters:
<none>
Bandwidth groups: <none>
Shared folders:<none>
Capturing: active
Capture audio: not active
Capture screens:
Capture file: C:\VHDs\JTC2013-HD\JTC2013-HD.webm
Capture dimensions: 1024x768
Capture rate: 512kbps
Capture FPS: 25kbps
Capture options: vc_enabled=true,ac_enabled=false,ac_profile=med
Guest:
Configured memory balloon size: 0MB
On new Ryzen 5 5600G 64-bit cpu, with 2TB SSD system drive; 32GB Ram. Windows 11 Home Edition.
My old Dell Optiplex running Win7 64-bit, with 2x 1TB SATA drives, motherboard died.
Built new computer and put 2x 1TB Sata drives from old computer inside. I can see and successfully access these two old drives and their files on the new computer using File Explorer inside Windows 11.
I have used VirtualBox for years. One VHD from a very old XP machine that I paid the PC shop to convert to a VHD. Has worked wonderfully for 10+ years, and is still working on the new computer.
Now, I want to be able to boot that old Win7 64-bit machine using VirtualBox. I have been at this for a week.
I have tried several things:
- Using Disk2Vhd utility from SysInternals
- Using Windows Disk Management utility to create VHD
- Using VBoxManage internalcommands createrawvmdk
These all successfully create a VHD/VMDK/etc files. And then I can successfully create the new machine in the VirtualBox GUI. But when I try to start the machine, I encounter a myriad of issues. From READONLY to INT18: BOOT FAILURE, and more. I have literally lost track over the past week. But these are the latest incarnations.
Working through each of these errors from the multitude of hits in Google on each error gets me nowhere or only leads to new problems.
Question
Where I truly want to start is here. It seems to me that this would be a common usage for VirtualBox. Old bootable OS on disk drive without a home. I want to boot it in a Virtual Machine using VirtualBox.
I can't seem to find any documentation on RECOMMENDED PRACTICE OF GOING FROM BOOTABLE HARD DRIVE TO VIRTUAL MACHINE THAT CAN BE USED BY VIRTUALBOX.
What is the recommended practice for doing this? Just a pointer, if it exists, is all I need. It seems to me that this info would be where everyone with an existing bootable OS drive would start. But I can't find it.
This is confusing to me. I have tried everything I have come across with a week's worth of hours mentioned in the list above (e.g. Disk2VHD, Windows Disk Mgt, and VBoxManage).
My preference would be to build a VHD from the previously bootable system drive and put it on my new SSD drive, instead of booting from the hard disk itself.
Then, I will try that method and seek further help if that gets me nowhere.
Let's start here.
vminfo from VHD created via internalcommands createrawvmdk
>> vboxmanage showvminfo "JTC2013" --details
Name: JTC2013-HD
Groups: /
Guest OS: Windows 7 (64-bit)
UUID: 1aeee947-4f04-4a5c-a441-074a2121361a
Config file: C:\VHDs\JTC2013-HD\JTC2013-HD.vbox
Snapshot folder: C:\VHDs\JTC2013-HD\Snapshots
Log folder: C:\VHDs\JTC2013-HD\Logs
Hardware UUID: 1aeee947-4f04-4a5c-a441-074a2121361a
Memory size: 8192MB
Page Fusion: disabled
VRAM size: 128MB
CPU exec cap: 100%
HPET: disabled
CPUProfile: host
Chipset: piix3
Firmware: BIOS
Number of CPUs: 1
PAE: disabled
Long Mode: enabled
Triple Fault Reset: disabled
APIC: enabled
X2APIC: disabled
Nested VT-x/AMD-V: disabled
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode: message and menu
Boot Device 1: HardDisk
Boot Device 2: Not Assigned
Boot Device 3: Not Assigned
Boot Device 4: Not Assigned
ACPI: enabled
IOAPIC: enabled
BIOS APIC mode: APIC
Time offset: 0ms
RTC: local time
Hardware Virtualization: enabled
Nested Paging: enabled
Large Pages: enabled
VT-x VPID: enabled
VT-x Unrestricted Exec.: enabled
Paravirt. Provider: Default
Effective Paravirt. Prov.: HyperV
State: powered off (since 2022-04-22T00:41:58.970000000)
Graphics Controller: VBoxSVGA
Monitor count: 1
3D Acceleration: disabled
2D Video Acceleration: disabled
Teleporter Enabled: disabled
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: disabled
Allow Tracing to Access VM: disabled
Tracing Configuration:
Autostart Enabled: disabled
Autostart Delay: 0
Default Frontend:
VM process priority: default
Storage Controller Name (0): SATA
Storage Controller Type (0): IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 30
Storage Controller Port Count (0): 2
Storage Controller Bootable (0): on
SATA (0, 0): C:\VHDs\JTC2013-HD.vmdk (UUID: 77517b4f-d84c-45ec-bf75-92a1ac0eac63)
SATA (1, 0): Empty
NIC 1: MAC: 0800274AAD56, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings: MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1: disabled
UART 2: disabled
UART 3: disabled
UART 4: disabled
LPT 1: disabled
LPT 2: disabled
Audio: enabled (Driver: DSOUND, Controller: HDA, Codec: STAC9221)
Audio playback: enabled
Audio capture: disabled
Clipboard Mode: disabled
Drag and drop Mode: disabled
VRDE: disabled
OHCI USB: enabled
EHCI USB: disabled
xHCI USB: disabled
USB Device Filters:
<none>
Bandwidth groups: <none>
Shared folders:<none>
Capturing: active
Capture audio: not active
Capture screens:
Capture file: C:\VHDs\JTC2013-HD\JTC2013-HD.webm
Capture dimensions: 1024x768
Capture rate: 512kbps
Capture FPS: 25kbps
Capture options: vc_enabled=true,ac_enabled=false,ac_profile=med
Guest:
Configured memory balloon size: 0MB