{"id":532,"date":"2009-09-10T22:01:35","date_gmt":"2009-09-10T10:01:35","guid":{"rendered":"http:\/\/p-s.co.nz\/wordpress\/?p=532"},"modified":"2009-09-10T22:09:00","modified_gmt":"2009-09-10T10:09:00","slug":"64-bit-jaunty-as-guest-on-32-bit-jaunty-host-using-virtualbox","status":"publish","type":"post","link":"http:\/\/p-s.co.nz\/wordpress\/64-bit-jaunty-as-guest-on-32-bit-jaunty-host-using-virtualbox\/","title":{"rendered":"64-bit Jaunty guest on 32-bit Jaunty host with VirtualBox"},"content":{"rendered":"<p>If your processor supports 64-bit you can run a 64-bit OS on top of your 32-bit OS using VirtualBox.  Which can be very useful e.g. for testing an application you are developing in different environments.<\/p>\n<p>Your CPU must support 64-bit.  To test (thanks<a href=\" http:\/\/www.cyberciti.biz\/faq\/linux-how-to-find-if-processor-is-64-bit-or-not\/\"> http:\/\/www.cyberciti.biz\/faq\/linux-how-to-find-if-processor-is-64-bit-or-not\/<\/a>):<\/p>\n<p><code>grep flags \/proc\/cpuinfo<\/code><\/p>\n<p>and look for lm (long mode) .<\/p>\n<p>Your BIOS must support 64-bit.  I believe it will usually be set correctly if using something like a Core 2 Duo CPU but that needs confirmation.<\/p>\n<p>Install a 64bit version of Linux.  NB the correct Ubuntu package will say AMD64 even if it is for an Intel CPU because of some licensing deal.  E.g. &#8220;Alternate install CD for 64-bit PC (AMD64) computers (standard download)&#8221; is still the correct option even if using an Intel Core 2 Duo CPU.  <\/p>\n<p>Apparently, &#8220;A 64 bit host CPU is not enough to run 64 bit guests (in contrast to VMWare). It must also have virtualization extensions. &#8221; (<a href=\"https:\/\/help.ubuntu.com\/community\/VirtualBox\/Installation\">https:\/\/help.ubuntu.com\/community\/VirtualBox\/Installation<\/a>).  See <a href=\"http:\/\/en.wikipedia.org\/wiki\/X86_virtualization\">http:\/\/en.wikipedia.org\/wiki\/X86_virtualization<\/a> for a list of supported CPUs.<\/p>\n<p>To confirm your OS is 64-bit<br \/>\n<code><br \/>\nuname -a<\/code><\/p>\n<p>Finally, here is relevant information from the VirtualBox User Manual:<\/p>\n<blockquote><p>Starting with Version 2.1, you can even run 64-bit guests on a 32-bit host operating<br \/>\nsystem, so long as you have sufficient hardware.<br \/>\n  In particular, 64-bit guests are supported under the following conditions:<br \/>\n   1. You need a 64-bit processor with hardware virtualization support (see chapter 1.2, Software vs. hardware virtualization (VT-x and AMD-V), page 11).<br \/>\n   2. You must enable hardware virtualization for the particular VM for which you want 64-bit support; software virtualization is not supported for 64-bit VMs.<br \/>\n   3. If you want to use 64-bit guest support on a 32-bit host operating system, you must also select a 64-bit operating system for the particular VM. Since supporting 64 bits on 32-bit hosts incurs additional overhead, VirtualBox only enables this support upon explicit request.<\/p><\/blockquote>\n<p>and<\/p>\n<blockquote><p> VirtualBox\u2019s 64-bit guest support (added with version 2.0) and multiprocessing (SMP, added with version 3.0) both require hardware virtualization to be enabled. (This is not much of a limitation since the vast majority of today\u2019s 64-bit and multicore CPUs ship with hardware virtualization anyway; the exceptions to this rule are e.g. older Intel Celeron and AMD Opteron CPUs.)<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>If your processor supports 64-bit you can run a 64-bit OS on top of your 32-bit OS using VirtualBox. Which can be very useful e.g. for testing an application you are developing in different environments. Your CPU must support 64-bit. &hellip; <a href=\"http:\/\/p-s.co.nz\/wordpress\/64-bit-jaunty-as-guest-on-32-bit-jaunty-host-using-virtualbox\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-532","post","type-post","status-publish","format-standard","hentry","category-ubuntu"],"_links":{"self":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/posts\/532"}],"collection":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/comments?post=532"}],"version-history":[{"count":10,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/posts\/532\/revisions"}],"predecessor-version":[{"id":538,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/posts\/532\/revisions\/538"}],"wp:attachment":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/media?parent=532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/categories?post=532"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/tags?post=532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}