3

I'm trying to install a 64 bit version of Linux in Virtual Box so I can do some development work. I tried the 64 bit version of Ubuntu 12.10, but it was causing the computer to restart randomly. I don't know if this is particular to Ubuntu or just a hazard of virtualizing a 64-bit OS in a 32-bit host. Anyone had better experience?

My computer is an Intel Core i5 running 32-bit Windows 7 and Virtual Box 4.2.6.

UPDATE: I have tried the 64 bit version of Fedora 18 and Mageia 2. Both seems to run stably. There appears to be something in the 3.5 kernel used by Ubuntu that was causing the hard resets. Mageia appears to be a quality distro so I think I'm going to ditch Ubuntu. Never liked Unity anyway.

4
  • Have a look at my answer here.
    – terdon
    Commented Feb 3, 2013 at 5:15
  • None... VB's guests run on the target CPU.
    – vonbrand
    Commented Feb 3, 2013 at 5:38
  • 1
    @vonbrand And an i5 is 64-bit, so in fact any 64-bit distro should work. Commented Feb 3, 2013 at 5:49
  • There are known issues with running 64-bit on a 32-bit host. I did, in fact, saw a bug report describing exactly the syndrome I'm encountering. It's supposed to have been fixed a few release back though.
    – cleong
    Commented Feb 3, 2013 at 6:09

2 Answers 2

2

http://www.virtualbox.org/manual/ch03.html#intro-64bitguests

Yes, you should definitely be able to run a 64-bit guest, as every i5 has VT-x support (off the top of my head). This article does mention some advice, though, namely that hardware virtualization, I/O APIC and the Intel virtual network should be enabled. Did you make sure to choose Ubuntu (64-bit) when you set up the VM? If so, VirtualBox should set everything up correctly.

3
  • Yeah, I did all that and actually managed to install Ubuntu. Problem is, it'd randomly restart the computer. Not a good environment in which to program.
    – cleong
    Commented Feb 3, 2013 at 5:09
  • That's gonna be tough to troubleshoot, but I'll throw out some guesses. Is your computer heating up significantly? Did you allocate too much of your RAM? (How much RAM do you have?) Do you have display acceleration on? Is your computer full of tiny demons? Commented Feb 3, 2013 at 5:12
  • It's definitely not the computer. I use the 32-bit version of Ubuntu in Virtual Box on a daily basis with no problem at all.
    – cleong
    Commented Feb 3, 2013 at 5:28
0

You will need a 32 bit linux distrubution to work on a 32 bit Windnows host. A 64 bit virtual machine, however, can run on a 32 bit host, but sometimes there are problems, although not all the time.

Also, a friendly Google shows that this question has been asked on ServerFault before. According to that answer you will need the ability to use hardware virtualization., which is enabled in the BIOS. This should work with VirtualBox too (I think, same concept), but you can do this with VMware as well. If you decide to use VMware, there is a link to a hardware compatibility checker in this question on StackOverflow.

5
  • 1
    Why's that? Not saying you're wrong, but can we have an explanation? Commented Feb 3, 2013 at 5:38
  • I have no idea if that's worth a downvote, an upvote, or what. Eh, whatever, I'll just leave it Commented Feb 3, 2013 at 5:57
  • That's actually incorrect: stackoverflow.com/questions/56124/…
    – cpast
    Commented Feb 3, 2013 at 6:37
  • @cpast Stole my link :D No hard feelings, though. Commented Feb 3, 2013 at 6:46
  • At least he has enough sense to stop posting while intoxicated...
    – martineau
    Commented Feb 3, 2013 at 10:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .