Ticket #12452 (closed defect: wontfix)

Opened 16 months ago

Last modified 16 months ago

The linux-64bit vm created by VBoxManage lost longmode on option

Reported by: feverwind Owned by:
Priority: critical Component: VM control
Version: VirtualBox 4.3.4 Keywords: VBoxManage
Cc: Frank Guest type: Linux
Host type: Windows


Sorry to frank, on ticket 12443, I give a wrong create bat.

Now I think I found the bug, if I use the VBoxManage to create linux2.6-64bit vm, it lost longmode option, and if I use Virtualbox GUI create a same configure linux2.6-64bit vm, it have the longmode option.

So I think I found the bug, use VBoxManage to specify ostype Linux26_64,it doesn't add longmode option automatically.

Below is my create bat:


VBoxManage createvm --groups /test --name test-device1 --register

VBoxManage modifyvm test-device1 --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\_mytest\project\test\device1.txt" --uart2 0x2F8 3 --uartmode2 server
.\pipe\test-device1 --memory 768 --cpus 1 --ostype Linux26_64 --vram 6 --nictype1 82545EM --nicpromisc1 allow-all --macaddress1 00e0010c0100 --nic1 intnet --intnet1 device1 --nic2 null --nicpromisc2 allow-all --macaddress2 00e001010001 --nictype2 Am79C970A --nic3 null --nicpromisc3 allow-all --macaddress3 00e001020003 --nictype3 82540EM --nic4 null --nicpromisc4 allow-all --macaddress4 00e001030003 --nictype4 82540EM --nic5 null --nicpromisc5 allow-all --macaddress5 00e001040003 --nictype5 82540EM --nic6 null --nicpromisc6 allow-all --macaddress6 00e001050038 --nictype6 82540EM --nic7 null --nicpromisc7 allow-all --macaddress7 00e001060026 --nictype7 82540EM --nic8 null --nicpromisc8 allow-all --macaddress8 00e00107001f --nictype8 82540EM ...... popd


guicreate.txt Download (4.7 KB) - added by feverwind 16 months ago.
GUI create vm info
mybatcreate.txt Download (4.7 KB) - added by feverwind 16 months ago.
my bat create vm info

Change History

Changed 16 months ago by feverwind

GUI create vm info

Changed 16 months ago by feverwind

my bat create vm info

comment:1 Changed 16 months ago by feverwind

I found that longmode is a new parameter.

comment:2 Changed 16 months ago by frank

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

I think you have the wrong expectations. The OS type of a VM is a hint for VBox how to choose certain defaults while the VM is created. If you change the OS type later (when the VM does already exist), only the OS type is changed and the corresponding icon. The reason for this restriction is to prevent side effects by changing the OS type. Consider that a user created a VM, changed a lot of settings manually (as you do) and then changes the OS type. This would again change a number of VM settings which is not obvious to the user.

Therefore you have to use --longmode on to allow 64-bit guests when the VM is already created. Or use the --ostype option when you create the VM, i.e.

VBoxManage createvm --groups /test --name test-device1 --register --ostype Linux26_64

I don't see the --ostype parameter when you create a VM nor I see the --longmode option when you modify the VM settings of your VM.

comment:3 Changed 16 months ago by feverwind

I got it, thanks a alot

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use