LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-31-2013, 11:20 AM   #1
barry_lamb
LQ Newbie
 
Registered: Mar 2013
Posts: 10

Rep: Reputation: Disabled
Running 64bit Slackware on 32 VirtualBox host?


Hi, I'm thinking buying a 64 bit machine and thought about trying out 64 bit Slackware on VirtualBox, do you have to have a 64 bit host to run 64 bit guest on VirtualBox? The system I'm trying this on is 32 bit.

My error was ... this kernel requires a x86-64 CPU, but only detected an i686 CPU.

Thanks.

Last edited by barry_lamb; 03-31-2013 at 11:22 AM.
 
Old 03-31-2013, 11:50 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,873

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
The answer is yes, you can run a 64 bit guest on a 32 bit host. However, there are a few things you need to look into to make it work.

See this link -->http://download.virtualbox.org/virtu...UserManual.pdf

Go to page 44, paragraph 3.1.2 and read through the info.

There is more overhead in v-box running a 64 bit guest on the 32 bit host. Is there some reason you want to run Slack 64 bit, rather than Slack 32 bit?

If you do a full install of either, the packages are very similar. You will not see much difference in performance ( speed ) between the two. There is some though.

If you have the disk space, you could install both, as virtual systems.
 
Old 03-31-2013, 11:56 AM   #3
barry_lamb
LQ Newbie
 
Registered: Mar 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks camorri, I'll give that a read, the reason why I'm trying this is because I've never used 64bit Slackware and wanted to try it Virtualized first. Didn't know if there was any difference generally.
 
Old 03-31-2013, 02:53 PM   #4
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,200

Rep: Reputation: 863Reputation: 863Reputation: 863Reputation: 863Reputation: 863Reputation: 863Reputation: 863
You can only do that if your CPU is 64 bit, which yours is not if I read your first post correctly.

From http://www.virtualbox.org/manual/ch03.html

Quote:
64-bit guests

VirtualBox supports 64-bit guest operating systems, even on 32-bit host operating systems,[11] provided that the following conditions are met:

* You need a 64-bit processor with hardware virtualization support (see the section called “Hardware vs. software virtualization”).

* 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.

* 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.
So the host OS can be 32 bit, but the underlying hardware must still be 64 bit.

Hope this helps!
 
Old 03-31-2013, 06:16 PM   #5
barry_lamb
LQ Newbie
 
Registered: Mar 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Yes my host machine is 32bit, does this apply to other Virtualization software?
 
Old 03-31-2013, 07:03 PM   #6
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,200

Rep: Reputation: 863Reputation: 863Reputation: 863Reputation: 863Reputation: 863Reputation: 863Reputation: 863
Quote:
Originally Posted by barry_lamb View Post
Yes my host machine is 32bit, does this apply to other Virtualization software?
I cannot answer that as I have not used any other virtualization systems. But my guess would be yes as doing so would be more like emulation than virtualization - a different beast altogether! But perhaps someone else can answer that.

As for your main object, trying out Slackware 14-64, running Slackware 14 (32 bit) will give you effectively the same experience I think, unless you have specific 64 bit configs in mind. I am a latecomer to 64 bits and only recently acquired my first 64 bit machine. I installed Slackware 64 on it initially and was very happy, but decided to reinstall as 32 bit Slackware and am just as happy performance wise.
 
Old 03-31-2013, 07:18 PM   #7
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,582

Rep: Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806
I can't say I've properly compared 32 bit and 64 bit Slackware but as far as I can tell the only difference it makes in day-to-day use (ignoring any speed or memory addressing changes you'd not see in a VM anyhow) is that it will take up more disk space if you want to run any program not compiled for 64 bit use since you'll then need multilib installed. This is easily done, and the instructions are great, and it applies to all 64 bit distros.
Other than that the 32 bit and 64 bit experiences ought to be that same, since it's the same packages. Unless Pat et al have included something different in the two architectures?
 
Old 03-31-2013, 07:35 PM   #8
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,873

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
From your first post, it looked like you have 64 bit hardware, and a 32 bit host OS. Yes, you can run a 64 bit guest on that configuration.

If your hardware is not 64 bit, then you can only run 32 bit software, both host and guest.
 
Old 04-01-2013, 12:35 PM   #9
barry_lamb
LQ Newbie
 
Registered: Mar 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks for all your replies... @camorri, yes my machine is 32bit, I just wanted to experience 64bit Slackware before I actually bought a 64bit machine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware 64bit virtualbox guest zenlunatic Slackware 32 12-01-2013 01:55 PM
How to connect an ossec agent installed on Virtualbox to host machine running on Cent sriramdas Linux - Virtualization and Cloud 0 01-17-2013 08:44 AM
Access server running on localhost on host system through virtualbox guest OS Jean-Luc Besson Linux - Virtualization and Cloud 3 05-15-2012 04:19 PM
Networking Problem with Slackware on VirtualBox 4.1 on Ubuntu 11.04 as host insomniacs Linux - Virtualization and Cloud 1 04-11-2012 09:48 PM
How secure is windows XP running as a virtualBox guest on a Slackware 12.2 host garyg007 Slackware 6 03-30-2009 12:15 PM


All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration