VirtualBox

Ticket #692 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

clonevdi error on 1.5.0 => Fixed in SVN

Reported by: proktor Owned by:
Priority: major Component: other
Version: VirtualBox 1.5.0 Keywords: clonevdi
Cc: Guest type: other
Host type: other

Description

Hello, I've got following problem - when I'm trying to clone vdi using command:

VBoxManage clonevdi Windows_XP.vdi Windows_XP_clone.vdi 

I got error:

VirtualBox Command Line Management Interface Version 1.5.0
(C) 2005-2007 innotek GmbH
All rights reserved.

[!] FAILED calling hardDisk->CloneToImage(Bstr(argv[1]), vdiOut.asOutParam(), progress.asOutParam()) at line 2407!
[!] Primary RC  = 0x80004004
[!] Full error info present: false, basic error info present: false

I tried to specified full paths (in apostrophes too) in command but it also doesn't work and produces the same error.

My host system is Arch Linux, kernel 2.6.22

Change History

comment:1 Changed 6 years ago by JemUbuntu

With Ubuntu 7.10 as a host, I have the same (I believe) error :

~$ sudo vboxmanage clonevdi Xubuntu.vdi Xubuntu2.vdi
VirtualBox Command Line Management Interface Version 1.5.0_OSE
(C) 2005-2007 innotek GmbH
All rights reserved.

[!] FAILED calling virtualBox->OpenVirtualDiskImage(Bstr(argv[0]), vdi.asOutParam()) at line 2400!
[!] Primary RC  = 0x80004005
[!] Full error info present: true , basic error info present: true 
[!] Result Code = 0x80004005
[!] Text        = Could not access hard disk image '/root/.VirtualBox/VDI/Xubuntu.vdi' (VERR_FILE_NOT_FOUND)
[!] Component   = HardDisk, Interface: IHardDisk, {fd443ec1-000f-4f5b-9282-d72760a66916}
[!] Callee      = IVirtualBox, {76b25f3c-15d4-4785-a9d3-adc6a462beec}

comment:2 follow-up: ↓ 3 Changed 6 years ago by frank

To JemUbuntu: What are the permissions of the file /root/.VirtualBox/VDI/Xubuntu.vdi?

comment:3 in reply to: ↑ 2 Changed 6 years ago by JemUbuntu

Replying to frank:

To JemUbuntu: What are the permissions of the file /root/.VirtualBox/VDI/Xubuntu.vdi?

well, I have no such files under /root/.VirtualBox but 2 things :

1) under /root/.VirtualBox I have 3 files (2 .dat and VirtualBox.xml) 2) under /home/jemubuntu/.VirtualBox/VDI I have Xubuntu.vdi with the permissions -rw------- 1, owner being jemubuntu

I suppose you are refering to the last file ?

comment:4 Changed 6 years ago by frank

No, I refer to exactly the file I was asking. You started sudo VBoxManage clonevdi. sudo changes the environment variable USER to root, therefore the search path for your VDIs is /root/.VirtualBox/VDI. Why did you use

sudo VBoxManage

and not just

VBoxManage

?

comment:5 Changed 6 years ago by JemUbuntu

...well...good question... why the hell this "sudo" ???

I've just tried

VBoxManage

and it works ...

I'm very sorry, I thought I'd tried it before using the sudo, but it turns out that I just skipped it...

However, thanks a lot.

I cannot close this ticket because I'm not the originator ...

comment:6 Changed 6 years ago by lnxus

Also having the problems reported by proktor. Not using sudo here. Using 1.5.2 binaries on Arch Linux.

comment:7 Changed 6 years ago by lnxus

I hoped the "Linux host: script fixes for ArchLinux" from the 1.5.4 Changelog would have fixed it, but I'm here to report that it hasn't. Same error, still looks to be a SIGSEGV. Can run debug commands if you tell me what you need to get this fixed.

comment:8 Changed 6 years ago by frank

  • Summary changed from clonevdi error on 1.5.0 to clonevdi error on 1.5.0 => Fixed in SVN

We think we fixed the crash in the SVN.

comment:9 Changed 6 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use