||12-13-2012 08:28 PM
Originally Posted by Mike_M
Is there some reason you believe this is required (documentation, etc.)? All the 64-bit selections do are change some of the initial settings for a VM. You have access to all of these settings through the VirtualBox GUI for any VM you set up. There is no magic to using these VM templates. The IOAPIC and PAE/NX settings are the ones that may be enabled when using the various 64-bit Linux templates when creating a VM through the GUI. You can tweak those on your own.
Originally Posted by chrisretusn
It really does not matter what you put in Type and Version, the key is making sure you have the correct values in your settings. Type and Version simply provide defaults that "should" work with the selected Type and Version.
I was a bit sceptical about those statements and made a test run to see if they are in fact true. So I created two VMs, one with the Linux 2.6
and one with the Linux 2.6 (64 Bit)
template, both without virtual harddisks, all other settings as defaulted by the templates.
I then dumped the settings of those VMs to files and diff'ed them:
tobi ~ ☺ $ VBoxManage showvminfo 32 --details>32
tobi ~ ☺ $ VBoxManage showvminfo 64 --details>64
tobi ~ ☺ $ diff 32 64
< Name: 32
> Name: 64
< Guest OS: Linux 2.6
< UUID: 751df0f0-4a4d-4a9b-949a-d492030ade47
< Config file: /home/tobi/VIRTUAL/32/32.vbox
< Snapshot folder: /home/tobi/VIRTUAL/32/Snapshots
< Log folder: /home/tobi/VIRTUAL/32/Logs
< Hardware UUID: 751df0f0-4a4d-4a9b-949a-d492030ade47
> Guest OS: Linux 2.6 (64 bit)
> UUID: b787bd01-cbbf-427c-8658-4f7012eada1a
> Config file: /home/tobi/VIRTUAL/64/64.vbox
> Snapshot folder: /home/tobi/VIRTUAL/64/Snapshots
> Log folder: /home/tobi/VIRTUAL/64/Logs
> Hardware UUID: b787bd01-cbbf-427c-8658-4f7012eada1a
< IOAPIC: off
> IOAPIC: on
< State: powered off (since 2012-12-14T00:41:32.000000000)
> State: powered off (since 2012-12-14T00:42:03.000000000)
< NIC 1: MAC: 080027970FDC, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
> NIC 1: MAC: 08002764D766, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
As you can see the only relevant differences are the templates in use and the IOAPIC setting, otherwise only MACs and UUIDs differ, as is expected.
So I looked what happens if I try to start a 64 bit OS on those VMs. I used the Slackware 14.0 64 Bit mini-iso from AlienBob for testing.
Here is what I got:
32 bit VM, default settings -> kernel complains about 32 bit CPU
32 bit VM, IOAPIC enabled -> kernel complains about 32 bit CPU
32 bit VM, changed to 64 bit template -> OS starts
64 bit VM, default settings -> OS starts
64 bit VM, IOAPIC disabled -> OS starts
64 bit VM, changed to 32 bit template -> kernel complains about 32 bit CPU
So my conclusion to it: The templates are not mere templates that change some default settings, they also have to change some settings that are internal to Virtualbox and not accessible from the outside. So setting the correct template seems to be mandatory.