booting ubuntu from usb using virtualbox [closed]

偶尔善良 提交于 2019-12-11 16:31:32

问题


I'm trying to install ubuntu on an usb, the problem is, I don't want to dual boot once done, I want to keep my windows but boot ubuntu using virtualbox and use the usb as my harddrive for ubuntu, but how?

Virtualbox will not recognize the usb as a harddrive when installing the iso


回答1:


In Virtualbox you have to make virtual hard disks. Make one on the USB drive and tell Virtualbox to install to the virtual hard drive you have just created.

EDIT: To answer some further questions:

In the new Virtual Disk dialog, next to the location field is a button. Click on that button. In order to get to the virtual disk onto the flash drive, next to Save In in the file select window is a drop down box, click on the arrow and you can get to your flash drive from there. I recommend setting the image to dynamically allocate, since the size of your flash drive isn't the available disk space. Name the image, then select that image to install Ubuntu to in VirtualBox. VirtualBox will never install directly to a drive, but will always install to a virtual disk. Windows will still be able to read your USB drive, but there will be a file on there ending in .vdi, that is your virtual disk drive.




回答2:


Follow the answer from xxzeenoxx @

http://ubuntuforums.org/showthread.php?p=2202027




回答3:


If you're still interested, here is a guide I wrote about booting VirtualBox from USB, and I tested it specifically on Ubuntu, so I guess this is what you are (were) looking for.



来源:https://stackoverflow.com/questions/1044241/booting-ubuntu-from-usb-using-virtualbox

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!