Live USB boot within an existing virtual machine

0

I need to resize a partition on an Ubuntu 12.04 virtual machine, so I'm trying to boot up a live USB operating system inside the virtual machine, and then re-size the hard disk partition using GParted. Is it possible to do this in Virtualbox, or is there some workaround for this problem (using a live CD or something similar?)

Anderson Green

Posted 2012-11-15T00:24:48.613

Reputation: 5 214

Answers

2

You can use ISO image. Just attach it to the VM and boot from it.

pbies

Posted 2012-11-15T00:24:48.613

Reputation: 1 633

How should I attach the iso image to the VM, in this case? What steps are involved? – Anderson Green – 2012-11-15T00:57:58.637

1I added the iso image to "Controller: IDE" under the "Storage" tab, and it worked as expected. Thanks! – Anderson Green – 2012-11-15T01:38:30.910

Your welcome. As I know, there is no possibility to attach an image as a USB device in virtual machines. – pbies – 2012-11-15T03:49:45.237

Also there is possibility to attach ISO to a virtual CD-ROM drive in VM. – pbies – 2012-11-16T01:35:06.950