Skip to content

Instantly share code, notes, and snippets.

@kfl62
Created October 9, 2010 13:02
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kfl62/618167 to your computer and use it in GitHub Desktop.
Save kfl62/618167 to your computer and use it in GitHub Desktop.
I found a way to install the ubuntu-netbook-remix-i386.img file into VirtualBox. Here are the steps.
1. Run the command to create a bootable VDI image (without quotes):
“VBoxManage convertfromraw ubuntu-netbook-remix-i386.img ubuntu-netbook-remix-i386-live.vdi”
2. Run the command to create a new empty VDI image where to install the image with 8GB space:
“VBoxManage createhd -filename ubuntu-netbook-remix-i386.vdi -size 8000″
Note: you can use -register option at the end of this command or register this VDI file from the VirtualBox later.
3. Create a new VM using the ubuntu-netbook-remix-i386-live.vdi (use the existing vdi option)
4. Attach the ubuntu-netbook-remix-i386.vdi as a Primary Slave
5. Start the VM (boot)
6. Install
note: Install will automatically install into the Primary Slave drive.
7. Shutdown the VM
8. Remove the ubuntu-netbook-remix-i386-live.vdi from the VM setting, and make the ubuntu-netbook-remix-i386.vdi as the Primary Master.
9. Restart the VM
10. Enjoy!
Let me know how it goes.
@mkrkru
Copy link

mkrkru commented Aug 24, 2018

Thank you! It really works.

@mtth23
Copy link

mtth23 commented Oct 6, 2018

Hi kfl62, I'm confronted to this task : create a VM with a .img file on VirtualBox, I try your advices but for me it's not done ! Can you help me ?

@UInt2048
Copy link

@mtth23, try these steps but replace ubuntu-netbook-remix-i386.img with the name of your IMG, and ubuntu-netbook-remix-i386-live.vdi with the name of the VDI hard disk you would like to create.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment