VB kann .vhd nicht öffnen

Allgemeine Diskussionen über den Einsatz von VirtualBox.
Post Reply
peter silie
Posts: 7
Joined: 11. Mar 2020, 17:46

VB kann .vhd nicht öffnen

Post by peter silie »

Hallo zusammen,
vermutlich bin ich nicht der erste, der dieses Problem hat, daher sorry für ein evtl. Doppelposting. Also, folgendes Problem:
Ich habe einen alten WIN XP 32-bit PC mit disk2vhd vers. 2.01 virtualisiert.
Nun kriege ich diese .vhd-Datei in VB 6.018 auf einem WIN 10 prof. nicht zum Laufen.
Hier die Fehlermeldung, die nach dem Start erscheint:

Für die virtuelle Maschine Sono konnte keine neue Sitzung eröffnet werden.

Could not open the medium 'C:\Users\praxis\VirtualBox VMs\SONO.VHD'.

VD: error VERR_FILE_NOT_FOUND opening image file 'C:\Users\praxis\VirtualBox VMs\SONO.VHD' (VERR_FILE_NOT_FOUND).

Fehlercode:E_FAIL (0x80004005)
Komponente:MediumWrap
Interface:IMedium {ad47ad09-787b-44ab-b343-a082a3f2dfb1}


In der betreffenden VM laufen bereits 2 .vdi`s (ebenfalls XP und w2k) ohne Probleme.
Freue mich über Hilfe,die mich weiterbringt.
thx
peter
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VB kann .vhd nicht öffnen

Post by scottgus1 »

It seems that the "SONO.VHD" is not in "C:\Users\praxis\VirtualBox VMs" anymore. Did you move it?
peter silie
Posts: 7
Joined: 11. Mar 2020, 17:46

Re: VB kann .vhd nicht öffnen

Post by peter silie »

scottgus1 wrote:It seems that the "SONO.VHD" is not in "C:\Users\praxis\VirtualBox VMs" anymore. Did you move it?
No, it is definitely in the directory, full control
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VB kann .vhd nicht öffnen

Post by scottgus1 »

Can you please zip and post that failing VM's .vbox file, using the forum's Upload Attachment tab?

Also, please post a command prompt "dir" command in the folder where the "SONO.VHD" is.
peter silie
Posts: 7
Joined: 11. Mar 2020, 17:46

Re: VB kann .vhd nicht öffnen

Post by peter silie »

scottgus1 wrote:Can you please zip and post that failing VM's .vbox file, using the forum's Upload Attachment tab?

Also, please post a command prompt "dir" command in the folder where the "SONO.VHD" is.
Do you mean the complete son0.vhd file? It is unzipped nearby 10 GB!
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VB kann .vhd nicht öffnen

Post by scottgus1 »

No, sorry, the .vbox file. Right-click the guest in the main Virtualbox window, and click "Show in Explorer". The guest folder should open. Zip and post the file with the .vbox extension. The file should be really tiny.
peter silie
Posts: 7
Joined: 11. Mar 2020, 17:46

Re: VB kann .vhd nicht öffnen

Post by peter silie »

scottgus1 wrote:No, sorry, the .vbox file. Right-click the guest in the main Virtualbox window, and click "Show in Explorer". The guest folder should open. Zip and post the file with the .vbox extension. The file should be really tiny.
hope the upload is correct
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VB kann .vhd nicht öffnen

Post by scottgus1 »

Try that again, please? I don't see the upload.
peter silie
Posts: 7
Joined: 11. Mar 2020, 17:46

Re: VB kann .vhd nicht öffnen

Post by peter silie »

scottgus1 wrote:Try that again, please? I don't see the upload.
here we are
Attachments
Sono-1.zip
(1.19 KiB) Downloaded 15 times
VM.zip
(1.28 KiB) Downloaded 14 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VB kann .vhd nicht öffnen

Post by scottgus1 »

OK, here apparently is the problem:
The Virtualbox guest says the "sono.vhd" is here:
The .vbox file wrote:location="C:/Users/praxis/VirtualBox VMs/SONO.VHD"
Your file is actually here:
The dir command wrote:C:\Users\praxis\VirtualBox VMs\Sono\SONO.VHD
Ignore the \ vs /, that's a Virtualbox thing, it does not interfere with a guest running.

It appears that your "sono.vhd" was sitting up one folder in "Virtualbox VMs" when the guest was running and the vhd got moved into the guest folder later.

The right place for the vhd is in the guest folder next to the .vbox file where it is now. We just need to make Virtualbox forget where it thinks the vhd is and find the place it is now:

Go to the main Virtualbox window and in the File menu open Virtual Media Manager. On the "hard disks" tab find "sono.vhd". It will probably be marked with a yellow warning triangle. Right-click it and choose Release, then click Release in the popup. Then right-click it and choose Remove, then click Remove in the popup. "Sono.vhd" will disappear from the list. Close the Virtual Media Manager. Select the guest, and open the Storage Settings. Add a new disk to the IDE controller, Choose Existing Disk, and browse to and select the Sono.vhd in the Sono folder. Your guest should now start.
gantnerer
Posts: 3
Joined: 21. Mar 2020, 13:35

Re: VB kann .vhd nicht öffnen

Post by gantnerer »

Warum wird hier nicht Deutsch gesprochen ?
Martin
Volunteer
Posts: 2561
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: VB kann .vhd nicht öffnen

Post by Martin »

Ganz einfach, weil hier mehr englischsprachige freiwillige Helfer unterwegs sind als wir paar Deutsche.
Daher antworten die anderen auch schonmal früher auf Englisch, was dann einfach per Google Translate oder https://www.deepl.com/translator übersetzt werden kann, falls der Fragende nicht genug Englisch versteht.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VB kann .vhd nicht öffnen

Post by mpack »

English is the main language on this site. Frankly it is an anomaly that a German language section exists. Why German but not Spanish, French, Italian, Chinese etc.? In the early days we insisted that posters use particular languages, but these days who cares? The poster posts in their preferred language and those that don't understand should use DeepL.
peter silie
Posts: 7
Joined: 11. Mar 2020, 17:46

Re: VB kann .vhd nicht öffnen

Post by peter silie »

scottgus1 wrote:OK, here apparently is the problem:
The Virtualbox guest says the "sono.vhd" is here:
The .vbox file wrote:location="C:/Users/praxis/VirtualBox VMs/SONO.VHD"
Your file is actually here:
The dir command wrote:C:\Users\praxis\VirtualBox VMs\Sono\SONO.VHD
Ignore the \ vs /, that's a Virtualbox thing, it does not interfere with a guest running.

It appears that your "sono.vhd" was sitting up one folder in "Virtualbox VMs" when the guest was running and the vhd got moved into the guest folder later.

The right place for the vhd is in the guest folder next to the .vbox file where it is now. We just need to make Virtualbox forget where it thinks the vhd is and find the place it is now:

Go to the main Virtualbox window and in the File menu open Virtual Media Manager. On the "hard disks" tab find "sono.vhd". It will probably be marked with a yellow warning triangle. Right-click it and choose Release, then click Release in the popup. Then right-click it and choose Remove, then click Remove in the popup. "Sono.vhd" will disappear from the list. Close the Virtual Media Manager. Select the guest, and open the Storage Settings. Add a new disk to the IDE controller, Choose Existing Disk, and browse to and select the Sono.vhd in the Sono folder. Your guest should now start.
Hi,
I'll be back after a corona break. It's still not working. In the attachment the current error message of the VM
Attachments
virtulabox.zip
(10.25 KiB) Downloaded 11 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VB kann .vhd nicht öffnen

Post by scottgus1 »

The error message in the zip says this:
Für die virtuelle Maschine Sono konnte keine neue Sitzung eröffnet werden.
Failed to open image 'E:\Sono\SONO.VHD' for writing due to wrong permissions (VERR_VD_IMAGE_READ_ONLY).
PIIX3 cannot attach drive to the Primary Master (VERR_VD_IMAGE_READ_ONLY).
Compare that with the previous diagnosis:
scottgus1 wrote:The Virtualbox guest says the "sono.vhd" is here:
The .vbox file wrote:location="C:/Users/praxis/VirtualBox VMs/SONO.VHD"

Your file is actually here:
The dir command wrote:C:\Users\praxis\VirtualBox VMs\Sono\SONO.VHD
There was a process given to move the guest disk file to "C:/Users/praxis/VirtualBox VMs/SONO.VHD" where Virtualbox expects it to be.

Instead, the file has been moved to a different drive that was not mentioned in the Virtualbox configuration file...

I don't know what else to do.
Post Reply