Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Virtual Image on my Windows Machine. I want to transfer it to my Headless Debian Server. I've installed VirtualBox on the Debian machine.

On the windows machine ive exported the file as a ova file...on the debian machine ive done: tar -xf MyVM.ova & VBoxManage import -n MyVM32.ovf

But this doesnt list the VM when i run the command: VBoxManage list vms

Any ideas how to achieve this?

# root@sdebian:~/.VirtualBox# VBoxManage import -n MyVM32.ovf
Oracle VM VirtualBox Command Line Management Interface Version 3.2.10_OSE (C)
2005-2010 Oracle Corporation All rights reserved.

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /root/.VirtualBox/MyVM32.ovf... OK.
Disks:  vmdisk1 21474836480     -1     
http://www.vmware.com/specifications/vmdk.html#sparse  
MyVM32-disk1.vmdk     -1      -1 
Virtual system 0:  
0: Suggested OS type: "Ubuntu"
     (change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
1: Suggested VM name "MyVM32"
     (change with "--vsys 0 --vmname <name>")
2: Product (ignored): MyVM  
3: Number of CPUs: 1
     (change with "--vsys 0 --cpus <n>")
4: Guest memory: 1024 MB
     (change with "--vsys 0 --memory <MB>")
5: Sound card (appliance expects "ensoniq1371", can change on import)
     (disable with "--vsys 0 --unit 5 --ignore")
6: Network adapter: orig Bridged, config 5, extra type=Bridged
7: CD-ROM
     (disable with "--vsys 0 --unit 7 --ignore")
8: IDE controller, type PIIX4
     (disable with "--vsys 0 --unit 8 --ignore")
9: IDE controller, type PIIX4
     (disable with "--vsys 0 --unit 9 --ignore")
10: SATA controller, type AHCI
     (disable with "--vsys 0 --unit 10 --ignore")
11: Hard disk image: source image=MyVM32-disk1.vmdk, 
      target path=/root/.VirtualBox/HardDisks/MyVM32-disk1.vmdk,
      controller=10;channel=0
     (change controller with "--vsys 0 --unit 11 --controller <id>";
     disable with "--vsys 0 --unit 11 --ignore")
# VBoxManage list vms
Oracle VM VirtualBox Command Line Management Interface Version 3.2.10_OSE (C) 2005-2010
Oracle Corporation All rights reserved.

"MyVM" {fe5d1aad-2b74-4d07-ac0b-a606ea92c377}
share|improve this question
1  
did you check VirtualBox's log files? Could you share the relevant parts to provide more insight? Did you get any message upon running that VBoxManage command? –  fuero Feb 5 '13 at 16:02
    
Added the output of VBoxManage command. Which is the logs file? –  xbanux Feb 5 '13 at 16:13
    
find /root/.VirtualBox -iname *.log –  fuero Feb 5 '13 at 16:21
    
Tried the command, didnt find any log files –  xbanux Feb 5 '13 at 16:27
    
You'll find VBoxSVC.log in /var/log then presumably. There should be others (VBox.log) that live in the VM home's Logs subdirectory. –  fuero Feb 5 '13 at 16:30

1 Answer 1

Looks like you used the dry run option (-n, same as --dry-run)? Try importing it without '-n' switch.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.