标签: virtualbox

QEMU和VirtualBox有什么区别?

最近,我发现有QEMU项目.我之前使用过VirtualBox,而且我了解Xen和VMWare.

QEMU和VirtualBox有什么区别?我应该坚持使用VirtualBox吗?
在哪些情况下QEMU更好?

xen virtualbox qemu virtual-machine

45
推荐指数
3
解决办法
4万
查看次数

从linux命令行写入串口

从Windows我可以使用以下命令与串口设备通信:

mode com1: baud=9600 data=8 parity=n stop=1
copy con com1
alt+18alt+2ctrl+z
Run Code Online (Sandbox Code Playgroud)

设备启动请求的操作.

当我尝试从一个独立的debian盒子或同一个windows机器的debian virtualbox实例完成相同的操作时,到目前为止我没有运气.

这是等效的linux命令(至少我是这么认为的)

stty -F /dev/ttyS0 speed 9600 cs8 -cstopb -parenb
echo '\x12\x02' > /dev/ttyS0
Run Code Online (Sandbox Code Playgroud)

什么都没发生.

有人可以指引我走向正确的方向吗?

linux virtualbox serial-port

43
推荐指数
3
解决办法
12万
查看次数

无法启动Genymotion虚拟设备 - 仅限Virtualbox主机以太网适配器无法启动

我在Windows 8 Pro上使用Genymotion v13.0成功创建虚拟设备,但是当我尝试运行它时,我收到此错误: Unable to start Genymotion Virtual Device.

截图:

在此输入图像描述

试图通过Virtualbox运行它,我收到此错误消息: Virtualbox Host Only Ethernet Adapter Failed to start

截图:

在此输入图像描述

虚拟设备以前可能运行良好,直到我遇到此问题.

有人可以告诉我如何修复它吗?

android virtualbox genymotion

43
推荐指数
7
解决办法
12万
查看次数

当我命令"brew cask install virtualbox"或"brew cask search google-chrome"时发生自制错误

我正在尝试使用brew-cask安装虚拟机,但是返回这种错误,我无法安装virtualbox.我使用MacOSX Lion 10.7.5和自制软件0.9.5,ruby 2.1.0-p0

我在下面的终端中描述了这个过程.

首先,brew tap命令成功.

    $ brew tap phinze/cask
    Cloning into '/usr/local/Library/Taps/phinze/homebrew-cask'...
    remote: Reusing existing pack: 32538, done.
    remote: Counting objects: 36, done.
    remote: Compressing objects: 100% (36/36), done.
    remote: Total 32574 (delta 16), reused 2 (delta 0)
    Receiving objects: 100% (32574/32574), 11.72 MiB | 379 KiB/s, done.
    Resolving deltas: 100% (19138/19138), done.
    Tapped 1 formula
    It looks like you tapped a private repository. To avoid entering your
    credentials each time you update, you can use …
Run Code Online (Sandbox Code Playgroud)

macos homebrew virtualbox homebrew-cask

43
推荐指数
2
解决办法
4万
查看次数

如何打包未使用vagrant up命令创建的现有VM?

我安装了一个VirtualBox,然后在其中安装了Ubuntu 12.10 Server Base OS.我已经安装了各种php包和其他包.我的朋友们建议我使用Vagrant,这样我就可以轻松地与队友分享我的设置.

因为我当前的VirtualBox VM不是使用创建的vagrant up,所以我不知道如何打包它.Vagrant 的文件谈到了包装,但首先说:

在完成本页的其余部分之前,请确保通过运行vagrant来构建虚拟环境.

在我的情况下,我最初使用vagrant up创建了我现有的VM.

如何打包现有VM?

packaging virtualbox virtual-machine vagrant

42
推荐指数
4
解决办法
4万
查看次数

Vagrant + Chef:配置错误"虚拟机上缺少Chef所需的共享文件夹".

我使用Chef(+ library chef)安装了Vagrant + Virtualbox.当我vagrant up第一次做的时候,烹饪书正确加载.但是,当我事后做好准备时(无论如何vagrant provision,vagrant reload --provision或者vagrant up --provision我收到此错误:

Shared folders that Chef requires are missing on the virtual machine.
This is usually due to configuration changing after already booting the
machine. The fix is to run a `vagrant reload` so that the proper shared
folders will be prepared and mounted on the VM.
Run Code Online (Sandbox Code Playgroud)

我到处搜索,唯一的解决办法就是这样做vagrant reload --provision,这可以达到Vagrant 1.3.1.

django virtualbox chef-infra vagrant

42
推荐指数
2
解决办法
6031
查看次数

Genymotion Android模拟器 - adb访问?

我在Windows 7 PC上为Oracle VirtualBox(http://www.genymotion.com/)下载了Genymotion Android模拟器,使用Google Apps设备创建了一个虚拟Jelly Bean.如何启用ADB访问权限?在系统设置/开发人员选项中,我已启用"USB调试",但输入"adb devices"会显示已连接设备的空列表.尝试为此VM添加USB端口并重新启动VM,但它没有帮助.

格雷格

android virtualbox emulation adb genymotion

41
推荐指数
4
解决办法
11万
查看次数

将Amazon EC2 AMI转换为Virtual或Vagrant框

我想复制正在运行的EC2实例的磁盘映像(抓住AMI)并将其导入虚拟盒或最终使用Vagrant运行.我看到打包器(http://www.packer.io/)允许你创建AMI和相应的Vagrant盒子一起工作,但是我目前运行的实例已经运行了两年以上并且很难复制.

我想这个问题在devops社区很常见,但是我的在线研究还没有找到解决方案.有没有可以让你完成这项任务的工具?

virtualbox amazon-ec2 packer ec2-ami vagrant

41
推荐指数
2
解决办法
3万
查看次数

无法在Ubuntu中安装vagrant插件

我试图安装vagrant插件vbguest,但在终端中遇到以下错误:

$ vagrant plugin install vbguest
Installing the 'vbguest' plugin. This can take a few minutes...
/usr/lib/ruby/2.3.0/rubygems/specification.rb:946:in `all=': undefined method `group_by' for nil:NilClass (NoMethodError)
    from /usr/lib/ruby/vendor_ruby/vagrant/bundler.rb:275:in `with_isolated_gem'
    from /usr/lib/ruby/vendor_ruby/vagrant/bundler.rb:231:in `internal_install'
    from /usr/lib/ruby/vendor_ruby/vagrant/bundler.rb:102:in `install'
    from /usr/lib/ruby/vendor_ruby/vagrant/plugin/manager.rb:62:in `block in install_plugin'
    from /usr/lib/ruby/vendor_ruby/vagrant/plugin/manager.rb:72:in `install_plugin'
    from /usr/share/vagrant/plugins/commands/plugin/action/install_gem.rb:37:in `call'
    from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:34:in `call'
    from /usr/lib/ruby/vendor_ruby/vagrant/action/builder.rb:116:in `call'
    from /usr/lib/ruby/vendor_ruby/vagrant/action/runner.rb:66:in `block in run'
    from /usr/lib/ruby/vendor_ruby/vagrant/util/busy.rb:19:in `busy'
    from /usr/lib/ruby/vendor_ruby/vagrant/action/runner.rb:66:in `run'
    from /usr/share/vagrant/plugins/commands/plugin/command/base.rb:14:in `action'
    from /usr/share/vagrant/plugins/commands/plugin/command/install.rb:32:in `block in execute'
    from /usr/share/vagrant/plugins/commands/plugin/command/install.rb:31:in `each'
    from /usr/share/vagrant/plugins/commands/plugin/command/install.rb:31:in `execute'
    from /usr/share/vagrant/plugins/commands/plugin/command/root.rb:56:in `execute' …
Run Code Online (Sandbox Code Playgroud)

ruby ubuntu virtualbox vagrant

41
推荐指数
4
解决办法
1万
查看次数

为仅主机网络配置的 IP 地址不在允许的范围内

当我vagrant up在 macOS 上运行时出现此错误:

为仅主机网络配置的 IP 地址不在允许的范围内。请将以前的地址更新到允许的范围内,然后再次运行该命令。

地址:192.168.10.10 范围:192.168.56.0/21

相同Vagrantfile,但现在不行了。

任何想法?

virtualbox vagrant vagrantfile

41
推荐指数
3
解决办法
3万
查看次数