[Solved] Reusing a VDI File
-
- Posts: 12
- Joined: 31. Jul 2018, 16:06
[Solved] Reusing a VDI File
Hi all
Today I faced an issue, solved already, and I had to reinstall my virtualbox, therefore I guessed I had lost the VM I was setting. Fortunatelly I didn't lost this one as I thought.
However, the new virtualbox instalation is in a different path. So I copied this VM file (the entire folder, actually) to the new path and tried to make the manager to recognize it - didn't work. Is there a chance to that VM file be reused/recognized?
Regards,
Renato
Today I faced an issue, solved already, and I had to reinstall my virtualbox, therefore I guessed I had lost the VM I was setting. Fortunatelly I didn't lost this one as I thought.
However, the new virtualbox instalation is in a different path. So I copied this VM file (the entire folder, actually) to the new path and tried to make the manager to recognize it - didn't work. Is there a chance to that VM file be reused/recognized?
Regards,
Renato
Last edited by socratis on 1. Aug 2018, 19:11, edited 1 time in total.
Reason: Marked as [Solved].
Reason: Marked as [Solved].
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Reusing a VDI File
See the Moving a VM FAQ for related information on the move and the registration.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Posts: 12
- Joined: 31. Jul 2018, 16:06
Re: Reusing a VDI File
Hi Scoratis
I have read this article before posting my issue. However, it is not working at all. Please see the attached log file.
Regards
Renato
I have read this article before posting my issue. However, it is not working at all. Please see the attached log file.
The way I see, there wouldn't be any problem having the same iso serving different VM and, as far I can understand this, that's what it seems to be happening.Falha ao abrir a mαquina virtual localizada em C:/Users/Renato/VirtualBox VMs/CBook_Dev_LAPM/CBook_Dev_LAPM.vbox.
Cannot register the DVD image 'C:\Users\Renato\Downloads\LAMP\Linux Ubuntu\ubuntu-18.04-live-server-amd64.iso' {679b28ee-d6d7-4943-8c4e-e2c868c04359} because a CD/DVD image 'C:\Users\Renato\Downloads\LAMP\Linux Ubuntu\ubuntu-18.04-live-server-amd64.iso' with UUID {5e21b975-bab5-41fa-b0cc-a70474dc812f} already exists.
Cσdigo de Resultado: E_INVALIDARG (0x80070057)
Componente: VirtualBoxWrap
Interface: IVirtualBox {9570b9d5-f1a1-448a-10c5-e12f5285adad}
Regards
Renato
Last edited by socratis on 31. Jul 2018, 22:36, edited 1 time in total.
Reason: Replaced attachment with actual text.
Reason: Replaced attachment with actual text.
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Reusing a VDI File
Please do not add attachments for 5-10 lines of text. I replaced the attachment with the actual text.
As the error says, you got to release the DVD from the VM. You already have another DVD with the same name, but different UUID. Just remove the ISO from the VM.
As the error says, you got to release the DVD from the VM. You already have another DVD with the same name, but different UUID. Just remove the ISO from the VM.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Posts: 12
- Joined: 31. Jul 2018, 16:06
Re: Reusing a VDI File
Hi Socratis
There is no other VM using this DVD now, which was used only in the beginning of the installation. However, the error presists.
Regards,
Renato
There is no other VM using this DVD now, which was used only in the beginning of the installation. However, the error presists.
Regards,
Renato
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Reusing a VDI File
Right-click on the VM, Show in Explorer. ZIP that .vbox file and attach it here.
And I'm not talking about other VMs, I'm talking about this VM.
And I'm not talking about other VMs, I'm talking about this VM.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Posts: 12
- Joined: 31. Jul 2018, 16:06
Re: Reusing a VDI File
Hey Socratis, so very sorry for this misunderstanding. I am a very fresh user here, really don't know very well how to handle the product...
Anyway,please find attached the .zip file you requested.
Best regards,
Renato
Anyway,please find attached the .zip file you requested.
Best regards,
Renato
- Attachments
-
- CBook_Dev_LAPM.zip
- (1.94 KiB) Downloaded 21 times
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Reusing a VDI File
Use the following text and save it as "CBook_Dev_LAPM.vbox", replacing your existing one (make a backup for good measure):
If you want to see what I did, open the .vbox that you already have, locate lines 14-16 and delete them:
Personally, I think that this is the wrong VirtualBox behavior. That section describes previously used DVDs so that's on the "Recently used" list. I consider it completely, 100% optional. It should NOT be something that prevents the loading of a VM. If there's a conflict just ignore the damn thing and move on. I'll try and have a chat with the devs and see why this is happening. It's definitely a new behavior.
Code: Select all
<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->
<VirtualBox xmlns="http://www.virtualbox.org/" version="1.16-windows">
<Machine uuid="{1fc6ff8e-b898-45f6-a303-f2e35bc6ea54}" name="CBook_Dev_LAPM" OSType="Ubuntu_64" snapshotFolder="Snapshots" lastStateChange="2018-07-30T11:53:34Z">
<MediaRegistry>
<HardDisks>
<HardDisk uuid="{d3c167eb-96cf-47d7-9399-ea37d29710b6}" location="CBook_Dev_LAPM.vdi" format="VDI" type="Normal"/>
</HardDisks>
</MediaRegistry>
<ExtraData>
<ExtraDataItem name="GUI/LastCloseAction" value="PowerOff"/>
<ExtraDataItem name="GUI/LastGuestSizeHint" value="800,600"/>
<ExtraDataItem name="GUI/LastNormalWindowPosition" value="757,130,930,745"/>
<ExtraDataItem name="GUI/LastScaleWindowPosition" value="758,38,1071,1003"/>
<ExtraDataItem name="GUI/Scale" value="true"/>
</ExtraData>
<Hardware>
<CPU>
<PAE enabled="false"/>
<LongMode enabled="true"/>
<X2APIC enabled="true"/>
<HardwareVirtExLargePages enabled="true"/>
</CPU>
<Memory RAMSize="4096"/>
<HID Pointing="USBTablet"/>
<Display VRAMSize="16"/>
<VideoCapture fps="25" options="ac_enabled=false"/>
<BIOS>
<IOAPIC enabled="true"/>
</BIOS>
<USB>
<Controllers>
<Controller name="OHCI" type="OHCI"/>
</Controllers>
</USB>
<Network>
<Adapter slot="0" enabled="true" MACAddress="08002760C35D" type="82540EM">
<DisabledModes>
<BridgedInterface name="Dell Wireless 1707 802.11b/g/n (2.4GHZ)"/>
<InternalNetwork name="intnet"/>
<NATNetwork name="NatNetwork"/>
</DisabledModes>
<NAT>
<Forwarding name="HTTP" proto="1" hostport="8080" guestport="80"/>
<Forwarding name="MySQL" proto="1" hostport="9306" guestport="3306"/>
<Forwarding name="SSH" proto="1" hostport="2221" guestport="22"/>
</NAT>
</Adapter>
</Network>
<AudioAdapter codec="AD1980" driver="DirectSound" enabled="true" enabledIn="false"/>
<RTC localOrUTC="UTC"/>
<SharedFolders>
<SharedFolder name="LAMP" hostPath="C:\Users\Renato\Downloads\LAMP" writable="true" autoMount="true"/>
</SharedFolders>
<GuestProperties>
<GuestProperty name="/VirtualBox/GuestAdd/HostVerLastChecked" value="5.2.10" timestamp="1532919218575237700" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Revision" value="121806" timestamp="1532919176055249900" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/Version" value="5.2.10" timestamp="1532919176001553800" flags=""/>
<GuestProperty name="/VirtualBox/GuestAdd/VersionExt" value="5.2.10_Ubuntu" timestamp="1532919176001553801" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/MAC" value="08002760C35D" timestamp="1532919176281759200" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/Name" value="enp0s3" timestamp="1532919176345224100" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/Status" value="Up" timestamp="1532919176344247500" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Broadcast" value="10.0.2.255" timestamp="1532919176279807200" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/IP" value="10.0.2.15" timestamp="1532919176278849500" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Netmask" value="255.255.255.0" timestamp="1532919176280785800" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/Net/Count" value="1" timestamp="1532961848451378100" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/OS/Product" value="Linux" timestamp="1532919175717438200" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/OS/Release" value="4.15.0-29-generic" timestamp="1532919175998624700" flags=""/>
<GuestProperty name="/VirtualBox/GuestInfo/OS/Version" value="#31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018" timestamp="1532919175999600500" flags=""/>
<GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="pt_BR" timestamp="1532961851858732800" flags="RDONLYGUEST"/>
</GuestProperties>
</Hardware>
<StorageControllers>
<StorageController name="IDE" type="PIIX4" PortCount="2" useHostIOCache="true" Bootable="true">
<AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0"/>
</StorageController>
<StorageController name="SATA" type="AHCI" PortCount="1" useHostIOCache="false" Bootable="true" IDE0MasterEmulationPort="0" IDE0SlaveEmulationPort="1" IDE1MasterEmulationPort="2" IDE1SlaveEmulationPort="3">
<AttachedDevice type="HardDisk" hotpluggable="false" port="0" device="0">
<Image uuid="{d3c167eb-96cf-47d7-9399-ea37d29710b6}"/>
</AttachedDevice>
</StorageController>
</StorageControllers>
</Machine>
</VirtualBox>
Code: Select all
<DVDImages>
<Image uuid="{679b28ee-d6d7-4943-8c4e-e2c868c04359}" location="C:/Users/Renato/Downloads/LAMP/Linux Ubuntu/ubuntu-18.04-live-server-amd64.iso"/>
</DVDImages>
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Posts: 12
- Joined: 31. Jul 2018, 16:06
Re: Reusing a VDI File
Man, you guys are really empowered by a herd of unicorns!!!
It is functioning fine now. It has saved me a lot of rework.
Regards
Renato
It is functioning fine now. It has saved me a lot of rework.
Regards
Renato
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Reusing a VDI File
Hey Renato, glad I could help
Marking as [Solved].
PS. You could/should go to your Virtual Media Manager » Optical Disks and remove all entries. This is simply the "Recently Used List". If any Optical Disk *is* actually mounted/used, 1) it's going to show at the bottom (Information » Attached to) and 2) it won't let you Remove it.
I'll probably file a bug report over this...
Marking as [Solved].
PS. You could/should go to your Virtual Media Manager » Optical Disks and remove all entries. This is simply the "Recently Used List". If any Optical Disk *is* actually mounted/used, 1) it's going to show at the bottom (Information » Attached to) and 2) it won't let you Remove it.
I'll probably file a bug report over this...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: [Solved] Reusing a VDI File
Ticket #17908: Optional entries in the <MediaRegistry> section may prevent VM registration.socratis wrote:I'll probably file a bug report over this...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.