使用 virtualbox 从 USB 启动 ubuntu [英] booting ubuntu from usb using virtualbox

查看:24
本文介绍了使用 virtualbox 从 USB 启动 ubuntu的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 USB 上安装 ubuntu,问题是,一旦完成,我不想双启动,我想保留我的 Windows,但使用 virtualbox 启动 ubuntu 并使用 USB 作为 ubuntu 的硬盘,但如何?

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?

安装iso时Virtualbox不会将USB识别为硬盘

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

推荐答案

在 Virtualbox 中,您必须制作虚拟硬盘.在 USB 驱动器上制作一个并告诉 Virtualbox 安装到您刚刚创建的虚拟硬盘驱动器.

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.

回答一些进一步的问题:

To answer some further questions:

在新的虚拟磁盘对话框中,位置字段旁边是一个按钮.单击该按钮.为了将虚拟磁盘连接到闪存驱动器,文件选择窗口中的保存在"旁边是一个下拉框,单击箭头,您可以从那里访问您的闪存驱动器.我建议将映像设置为动态分配,因为闪存驱动器的大小不是可用磁盘空间.命名映像,然后选择该映像以在 VirtualBox 中安装 Ubuntu.VirtualBox 永远不会直接安装到驱动器,但会始终安装到虚拟磁盘.Windows 仍然可以读取您的 USB 驱动器,但那里会有一个以 .vdi 结尾的文件,即您的虚拟磁盘驱动器.

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.

这篇关于使用 virtualbox 从 USB 启动 ubuntu的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆