Hi folks, Host - Fedora 12 64bit VirtualBox-3.1-3.1.4_57640_fedora12-1.x86_64 I'm following; http://www.howtoforge.org/vboxheadl...irtualbox-2-on-a-headless-debian-lenny-server and stuck on running; $ VBoxManage modifyvm "Debian Lenny Server" -hda "Debian_Lenny_Server.vdi" Code: Sun VirtualBox Command Line Management Interface Version 3.1.4 © 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 This is a SATA HD $ sudo fdisk -l Code: Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0003a4bf Device Boot Start End Blocks Id System /dev/sda1 * 1 26 204800 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 26 121601 976555201 8e Linux LVM Disk /dev/sdb: 40.0 GB, 40027029504 bytes 255 heads, 63 sectors/track, 4866 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0883bef2 Device Boot Start End Blocks Id System /dev/sdb1 * 1 4867 39086080 7 HPFS/NTFS Disk /dev/dm-0: 989.7 GB, 989704749056 bytes 255 heads, 63 sectors/track, 120324 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-0 doesn't contain a valid partition table Disk /dev/dm-1: 10.3 GB, 10284433408 bytes 255 heads, 63 sectors/track, 1250 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-1 doesn't contain a valid partition table Whether replace --hda with --sdb ? Please advice. TIA B.R. satimis
The commands for VirtualBox 3.1 have changed a lot - take a look at this tutorial: http://www.howtoforge.com/vboxheadl...albox-3.1.x-on-a-headless-debian-lenny-server
Hi falko, Thanks for your advice and link. I sorted out the problem already with following steps; $ VBoxManage storagectl "Debian Lenny Server" --name "IDE Controller" --add ide $ VBoxManage modifyvm "Debian Lenny Server" --hda "Debian_Lenny_Server.vdi" $ VBoxManage registerimage dvd /home/satimis/Downloads/debian-504-amd64-netinst.iso Attach this ISO to the virtual machine, so it can boot from it: $ VBoxManage storageattach "Debian Lenny Server" --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium $ VBoxHeadless --startvm "Debian Lenny Server" Code: Select all Expand viewCollapse view Sun VirtualBox Headless Interface 3.1.4 (C) 2008-2010 Sun Microsystems, Inc. All rights reserved. Listening on port 3389. $ sudo yum install rdesktop $ rdesktop -a 16 -N 192.168.0.200:3389 Install -> Code: This kernel require an x86-64 CPU, but only detected an i1589 CPU. Unable to boot - please use a kernel appropriated for your CPU Still I can't install Debian. I think it is because KVM is running. Although its VMs have not been started yet. Therefore I remove KVM; # yum remove kvm qemu libvirt python-virtinst retaining "bridge-utils" reboot Terminal-1 ========== $ VBoxHeadless --startvm "Debian Lenny Server" Code: Select all Expand viewCollapse view Sun VirtualBox Headless Interface 3.1.4 (C) 2008-2010 Sun Microsystems, Inc. All rights reserved. Listening on port 3389 Terminal-2 ========== $ rdesktop -a 16 -N 192.168.0.200:3389 Code: Select all Expand viewCollapse view Autoselected keyboard map en-us WARNING: Remote desktop changed from 800x600 to 640x480. Still fail to install Debian, crash during installation with following warnings:- Terminal-1 ========== Code: Select all Expand viewCollapse view !!Assertion Failed!! Expression: ReqType == ATA_AIO_RESET_ASSERTED || ReqType == ATA_AIO_RESET_CLEARED || ReqType == ATA_AIO_ABORT || pCtl->uAsyncIOState == ReqType Location : /home/vbox/vbox-3.1.4/src/VBox/Devices/Storage/DevATA.cpp(4574) int ataAsyncIOLoop(RTTHREADINT*, void*) I/O state inconsistent: state=0 request=1 Trace/breakpoint trap Terminal-2 ========== Code: Select all Expand viewCollapse view $ rdesktop -a 16 -N 192.168.0.200:3389 WARNING: Remote desktop changed from 640x480 to 720x400. WARNING: Remote desktop changed from 720x400 to 800x600. ERROR: Connection closed I'm stuck here. Any advice? TIA B.R. satimis