LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1533|回复: 1

Slackware 13安装virtualbox出错 最一步出错

[复制链接]
发表于 2010-3-22 21:44:27 | 显示全部楼层 |阅读模式
bash-3.1# VBoxManage createvm --name "windows" --register
Sun VirtualBox Command Line Management Interface Version 3.1.4_OSE
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.

Virtual machine 'windows' is created and registered.
UUID: cd3ce699-2342-48aa-b578-7b881ec42f63
Settings file: '/root/.VirtualBox/Machines/windows/windows.xml'

=============================================================================


bash-3.1# VBoxManage createhd --filename "windows.vdi" --size 10000 --rememberSun VirtualBox Command Line Management Interface Version 3.1.4_OSE
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Disk image created. UUID: f350b93b-1847-4466-8885-f0b321828672
bash-3.1#
============================================================================
root@daihu:~# VBoxManage modifyvm "windows" --memory "512" --hda "windows.vdi" --dvd /home/Downloads/windows.iso --acpi on --accelerate3d on --boot1 dvd --nic1 nat
Sun VirtualBox Command Line Management Interface Version 3.1.4_OSE
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.

ERROR: Could not find a storage controller named 'IDE Controller'
Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component Machine, interface IMachine, callee nsISupports
Context: "AttachDevice(Bstr("IDE Controller"), 0, 0, DeviceType_HardDisk, uuid)" at line 556 of file VBoxManageModifyVM.cpp
root@daihu:~#
================================================================================
$VBoxManage storagectl windows --name "IDE Controller" --add ide --controller PIIX4

该命令创 建了一个名叫 “IDE Controller”的IDE控制器,控制器类型为PIIX4.

=========================================================================

现在,将你的虚拟磁盘连接到虚拟机:
bash-3.1# VBoxManage storageattach windows --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium windows.vdi



===============================================================================
将一个ISO镜像连接上 去,用于安装你需要的操作系统:

root@daihu:~# VBoxManage storageattach windows  --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium /home/Downloads/windowsxpsp3cyu.iso
出错:

Sun VirtualBox Command Line Management Interface Version 3.1.4_OSE
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.

ERROR: Could not open the medium '/home/Downloads/windowsxpsp3cyu.iso'.
VD: error VERR_VD_RAW_INVALID_HEADER opening image file '/home/Downloads/windowsxpsp3cyu.iso' (VERR_VD_RAW_INVALID_HEADER)
Details: code NS_ERROR_FAILURE (0x80004005), component Medium, interface IMedium, callee nsISupports
Context: "OpenDVDImage(Bstr(pszMedium), emptyUUID, dvdMedium.asOutParam())" at line 489 of file VBoxManageStorageController.cpp
error: Invalid UUID or filename "/home/Downloads/windowsxpsp3cyu.iso"
上面就是我的出错信息有人和我一样吗?
我所有操作全是用Root做的。
请大家告诉。为了这个问题我都已经弄了两周了
发表于 2010-7-3 21:32:41 | 显示全部楼层
我刚遇到同样的情况。参阅http://forums.virtualbox.org/viewtopic.php?f=1&t=25287
我也是使nrg2iso(得到的文件是可以正常打开的).我重新下载一个archLINUX的ISO文件,试验没有问题,断定是nrg2iso的问题。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表