Ubuntu – How to get past “Loading Initial Ramdisk” hang after going from x86_64 to i686 cpu

cpu-architectureUbuntuvirtual machine

Long story short, I have a Ubuntu 12.04 64-Bit Server setup as a virtual machine with VirtualBox (4.1.18). I migrated the guest machine from an AMD chipset (a gaming machine) to an Intel Xeon (server hardware with dual processor support) thinking that there wouldn't be any issues. Once I got the guest machine setup on the server, I started the guest machine only to find that it hangs at "Loading Initial Ramdisk".

I mounted the Ubuntu 12.04 64-Bit setup ISO to see if I could get in to see any logs, but get "Kernel requires x86-64 CPU, but only detects i686 CPU" when trying to boot off the ISO. Keep in mind that host OS on both source and destination machines are also Ubuntu 12.04 Server 64-Bit. This lead me to look into how the guest OS sees the CPU information within the virtual machine. I found that the CPU information looks exactly the same on the host as it does on the guest on the source machine.

Source CPU Info:

Processor - AMD Phenom™ II X4
Model - 925
OPN Tray - HDX925WFK4DGI
OPN PIB - HDX925WFGIBOX
Operating Mode 32 Bit - Yes
Operating Mode 64 Bit - Yes
Revision - C2
Base Speed (MHz) - 2800
Boost Speed (MHz)
Voltages - 0.850-1.425V 
Wattage - 95 W
AMD Virtualization Technology - Yes
L1 Cache Size (KB) - 128
L1 Cache Count - 4
L2 Cache Size (KB) - 512
L2 Cache Count - 4
L3 Cache Size (KB) - 6144
CMOS - 45nm SOI
Socket - AM3
AMD Business Class - No
Black Edition - No

Destination CPU Info:

3 Ghz Xeon - SL7ZF
Number of Cores - 1
Clock Speed - 3 GHz
L2 Cache - 2 MB
FSB Speed - 800 MHz
FSB Parity - Yes 
Instruction Set - 64-bit
Embedded Options Available - No
Lithography - 90 nm
Max TDP - 110 W
VID Voltage Range - 1.2875V-1.3875V
Physical Address Extensions - 32-bit
ECC Memory Supported - No
Processing Die Size - 135 mm2
Number of Processing Die Transistors - 169 million
Sockets Supported - PPGA604
Intel® Hyper-Threading Technology - No
Intel® Virtualization Technology (VT-x) - No
Intel® Trusted Execution Technology - No
Intel® 64 - Yes 
Idle States - Yes 

I found a similar question, but wasn't sure if this is applies to my situation. The destination cpu show to support 64-Bit instructions. On the other hand, I've also read that Intel's 64-Bit is not true 64-Bit.

Am I stuck rebuilding my guest VM from scratch?

Best Answer

I was stuck on "Loading initial RAM Disk" too. Actually in my case guest system was Debian 64-bit. And the problem was solved when I specified exactly the type of the OS in the General > Basic > Version.enter image description here

Related Question