VirtualBox

Ticket #12443 (closed defect: worksforme)

Opened 7 years ago

Last modified 7 years ago

The linux-64bit vm created by VBoxManage boot failed

Reported by: feverwind Owned by:
Component: VM control Version: VirtualBox 4.3.4
Keywords: VBoxManage Cc:
Guest type: other Host type: other

Description

I use VBoxManage create a linux2.6-64bit vm,the vm boot failed. But I use Virtualbox GUI create a same configure linux2.6-64bit vm,it works fine. There be some bug in VBoxManage.

Attachments

VBox_vboxmanager.log Download (57.6 KB) - added by feverwind 7 years ago.
The vm start by Vboxmanage's boot log
VBox_gui.log Download (100.4 KB) - added by feverwind 7 years ago.
The vm create by Vbox GUI boot log

Change History

Changed 7 years ago by feverwind

The vm start by Vboxmanage's boot log

Changed 7 years ago by feverwind

The vm create by Vbox GUI boot log

comment:1 Changed 7 years ago by feverwind

My host os type is win7, my guses os is a version base on linux2.6.

comment:2 Changed 7 years ago by frank

How did you create the VM with VBoxManage? Please provide the exact VBoxManage commands.

comment:3 Changed 7 years ago by feverwind

$ pushd %VBOX_INSTALL_PATH%

$ VBoxManage createvm --groups /test --name test-device2 --register

$ VBoxManage modifyvm test-device2 --boot1 disk --boot2 none --boot3 none \

--boot4 none --ioapic on --rtcuseutc on --pae off --acpi off \ --cpuexecutioncap 80 --nestedpaging off --uart1 0x3F8 4 \ --uartmode1 file "C:\Users\jason\project\test\device2.txt" \ --uart2 0x2F8 3 --uartmode2 server
.\pipe\test-device2 \ --memory 512 --cpus 1 --ostype Linux26 --vram 6 --nictype1 82545EM \ --nicpromisc1 allow-all --macaddress1 00e0020b0100 --nic1 intnet \ --intnet1 device2 --nic2 null --nicpromisc2 allow-all \ --macaddress2 00e002010001 --nictype2 Am79C970A --nic3 null \ --nicpromisc3 allow-all --macaddress3 00e002020103 --nictype3 82540EM \ --nic4 null --nicpromisc4 allow-all --macaddress4 00e002030003 \ --nictype4 82540EM --nic5 null --nicpromisc5 allow-all \ --macaddress5 00e002040003 --nictype5 82540EM --nic6 null \ --nicpromisc6 allow-all --macaddress6 00e002050038 \ --nictype6 82540EM --nic7 null --nicpromisc7 allow-all \ --macaddress7 00e002060026 --nictype7 82540EM --nic8 null \ --nicpromisc8 allow-all --macaddress8 00e00207001f --nictype8 82540EM \ --nic3 generic --nicgenericdrv3 UDPTunnel --nicproperty3 dest=127.0.0.1 \ --nicproperty3 dport=36052 --nicproperty3 sport=36202

$ VBoxManage storagectl test-device2 --name IDE --add ide --controller PIIX4

$ VBoxManage modifyhd "e:\hns\resource\boot.vdi" --type multiattach

$ VBoxManage storageattach test-device2 --storagectl IDE --port 0 --device 0 \

--type hdd --medium "e:\vbox\resource\boot.vdi"

$ VBoxManage modifyhd "e:\hns\version\box_cen32.vmdk" --type multiattach

$ VBoxManage storageattach test-device2 --storagectl IDE --port 0 --device 1 \

--type hdd --medium "e:\vbox\version\my_linux.vmdk"

$ popd

Last edited 7 years ago by frank (previous) (diff)

comment:4 Changed 7 years ago by feverwind

above is my create bat, wish it helpful

comment:5 Changed 7 years ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme

The reason for your problem with VBoxManage is that you don't use a 64-bit OS type. "Linux26" is a 32-bit OS type. Use "Linux26_64" instead. Or use "Linux26" but add "--longmode on" to as parameter.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use