VirtualBox

Opened 17 years ago

Closed 17 years ago

#692 closed defect (fixed)

clonevdi error on 1.5.0 => Fixed in SVN

Reported by: Proktor Owned by:
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 (9)

comment:1 by JemUbuntu, 17 years ago

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 by Frank Mehnert, 17 years ago

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

in reply to:  2 comment:3 by JemUbuntu, 17 years ago

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 by Frank Mehnert, 17 years ago

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 by JemUbuntu, 17 years ago

...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 by lnxus, 17 years ago

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

comment:7 by lnxus, 17 years ago

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 by Frank Mehnert, 17 years ago

Summary: clonevdi error on 1.5.0clonevdi error on 1.5.0 => Fixed in SVN

We think we fixed the crash in the SVN.

comment:9 by Frank Mehnert, 17 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette