ParMan Posted January 26, 2011 Share Posted January 26, 2011 (edited) i need to convert Metasploitable for Virtualbox and i found this great tutorial. took maybe 20 minutes and worked great. Source is at the bottom of the page enjoy. Converting Metasploitable for Virtualbox So this is not a typical Back Track post, but one on converting the Metasploitable VMware image to one that will work with Virtualbox. There are other ways of converting .vmdk files to .vdi ones but none of them seemed to work for me. This was all done on an Ubuntu machine. You could do the same on others though. If you don't have or know about metasploitable check the above link. So grab a copy here and then extract the zip archive. Go to a shell and then grab qemu, this is another virtualization product but we don't care about it, once we are done you can remove it. amael@ubuntudork:~$ sudo aptitude install qemu Once this is done run the following commands. NOTE: This may take some time to complete. amael@ubuntudork:/tmp/Metasploitable$ qemu-img convert /tmp/Metasploitable/metasploitable.vmdk metasploitable.bin This will convert the .vmdk to a binary then we will convert the .bin to a Virtualbox .vdi file. amael@ubuntudork:/tmp/Metasploitable$ VBoxManage convertdd metasploitable.bin metasploitable.vdi Sun VirtualBox Command Line Management Interface Version 3.0.14 (C) 2005-2010 Sun Microsystems, Inc. All rights reserved. Converting from raw image file="Metasploitable.bin" to file="Metasploitable.vdi"... Creating dynamic image with size 8589934592 bytes (8192MB)... Once this is finished you are now ready to use Metasploitable in Virtualbox. So go ahead and set up a new machine. You can find many guides on doing this on the net. But basically you just need to point Virtualbox to the newly created Metasploitable.vdi file. Source: http://archangelamael.blogspot.com/2010/07/converting-metasploitable-for.html Edited January 26, 2011 by ParMan Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.