LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 08-05-2012, 01:49 AM   #1
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware 13.37 and 13.1
Posts: 395

Rep: Reputation: 63
current on virtualbox


I created a DVD iso (using mirror_slackware_current from alien bob) and booted up a 1GB virtual machine in virtual box OSE 4.1.14 and it halted almost immediately due to lack of PAE. I turned that on for the VM (via the GUI) and tried again. Now starting it failed later in the boot and with a message about directly accessing the hardware. I tried a few more times, without changing anything, and then it booted up fine and now the installer is trundling along just fine.

Anyone else encountered similar?

UPDATE: Installed fine, but same problem when booting off the (virtual) hard disk. Error message is:
"atkbd serio0: Spurious ACK on isa0060/serio0. Some program might be trying access [sic] hardware directly."

UPDATE2: Fiddling with virtual hardware settings didn't get me anywhere.

Last edited by mcnalu; 08-06-2012 at 12:59 PM. Reason: typo
 
Old 08-05-2012, 08:05 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,082

Rep: Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799
Did you install the extension pack (in VirtualBox before you install a virtual machine)? Did you try installing the guest additions?
 
Old 08-05-2012, 09:08 AM   #3
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware 13.37 and 13.1
Posts: 395

Original Poster
Rep: Reputation: 63
Yes, I have the extension pack.

Don't I need to have the OS booted up before I can install the guest additions?
 
Old 08-05-2012, 04:44 PM   #4
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,082

Rep: Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799
Quote:
Originally Posted by mcnalu View Post
Don't I need to have the OS booted up before I can install the guest additions?
Yes, you install guest additions after boot, the extension pack before install/boot..

Seems like 1G is a little on the tight side -- maybe at least 5G to give it some elbow room?

If the ISO you used brings you up to a prompt (so you can add partitions with, say, cfdisk) did you add a swap partition and (at least) a root partition?

Did you allocate enough RAM to the virtual machine? On my boxes I give the virtual machine at least 4096 so they'll run (2G ought to be enough, 1G might be a little tight) out of 8G system RAM.

Slackware will pretty much install and work properly in VirtualBox without too much twiddling as long as you give it disk space, at least swap and root partitions and a fair-sized RAM allocation.
 
Old 08-06-2012, 02:08 AM   #5
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 523

Rep: Reputation: 140Reputation: 140
From personal experience, 1GB RAM per guest is plenty to run Slackware in VirtualboX or qemu as long as the host has >2GB RAM. Just be sure you use the generic kernelafter installation to free up a bit of ram inside the guest VM.

Last edited by kingbeowulf; 08-06-2012 at 02:15 AM. Reason: for clarity and precision
 
Old 08-06-2012, 12:56 PM   #6
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware 13.37 and 13.1
Posts: 395

Original Poster
Rep: Reputation: 63
Thanks for the replies. Apologies if I wasn't clear on one point - I am having a tough time booting from the install DVD or CD iso and from the virtual HD I managed to install to, so any post-boot solutions aren't going to help me.

@troyane I routinely run slackware 13.37 with only 512MB memory with no problem at all and KDE worked quite happily on my 1GB eee pc with slackware 13.x so I doubt it's memory related. My host has 3GB.

I'm running slackware-current on my desktop machine using qemu-kvm now so I'll give up on virtual box for the moment on my laptop - perhaps it is something odd about that laptop and/or that version of virtual box that's causing my troubles.
 
Old 08-07-2012, 03:49 AM   #7
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 363

Rep: Reputation: 94
I had a chat with upstream and it sounds like the suspect is the kernel we are using in -current these days. So something you could try (I know this is rather tricky) is to change the kernel and see if it helps. Hint: you can also include a custom kernel on the install disk which should make things a bit easier.
Other than that I will have a look at 4.2beta1 asap and put links here to the SlackBuilds once I have them done. There's a slight possibility that it's fixed there already.
 
Old 08-07-2012, 05:08 AM   #8
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware 13.37 and 13.1
Posts: 395

Original Poster
Rep: Reputation: 63
OK, thanks for investigating it. I was using the most up to date set of packages for -current on each attempt, but that made no difference. I'll give it another look again today.

I know how to switch to a custom kernel etc and will try that as soon as I can, though I'll be in a place with little internet for a few days (yes, such places still exist!).
 
Old 08-07-2012, 10:41 AM   #9
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 486

Rep: Reputation: Disabled
I am guessing you are referring to the packages from SlackBuilds.org. As a suggestion.

You might try removing that OSE 4.1.14 install and use the VirtualBox installation program. VirtualBox is currently at version 4.1.18. You can get it here: https://www.virtualbox.org/wiki/Linux_Downloads

I have been using the VirtualBox provided installer in Slackware for several years. I find it simpler to use than the Slackbuilds.org packages. I am running both Slackware64-current and Slackware-current as guest (installed with iso's created with AlienBOB's mirror-slackware-current.sh script) in VirtualBox with Slackware64-current as the host. Slackware-current works just fine with the default virtual machines settings (Enable PAE/NX not checked), exceptions; I have Memory set to 1024MB and NIC set to Bridged.

Aside from that. The default 8GB hard drive size for Linux is a tad small for Slackware these days. Especially if you added a swap partition. Give it 16GB, it's dynamic anyway so it will only take what Slackware needs (about 7.1GB with the recommended install)
Attached Images
File Type: png snapshot30.png (92.7 KB, 12 views)
File Type: jpg snapshot31.jpg (65.3 KB, 10 views)

Last edited by chrisretusn; 08-07-2012 at 10:45 AM.
 
Old 08-07-2012, 05:28 PM   #10
DasFox
LQ Newbie
 
Registered: Mar 2012
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by chrisretusn View Post
I am guessing you are referring to the packages from SlackBuilds.org. As a suggestion.

You might try removing that OSE 4.1.14 install and use the VirtualBox installation program. VirtualBox is currently at version 4.1.18. You can get it here: https://www.virtualbox.org/wiki/Linux_Downloads

I have been using the VirtualBox provided installer in Slackware for several years. I find it simpler to use than the Slackbuilds.org packages. I am running both Slackware64-current and Slackware-current as guest (installed with iso's created with AlienBOB's mirror-slackware-current.sh script) in VirtualBox with Slackware64-current as the host. Slackware-current works just fine with the default virtual machines settings (Enable PAE/NX not checked), exceptions; I have Memory set to 1024MB and NIC set to Bridged.

Aside from that. The default 8GB hard drive size for Linux is a tad small for Slackware these days. Especially if you added a swap partition. Give it 16GB, it's dynamic anyway so it will only take what Slackware needs (about 7.1GB with the recommended install)

I have the same problem, Slackware guest will run on an AMD CPU, but if I try to run it on my new box that has a i3 core it will not work and I get that same kernel issue.

Also I can't even boot the Slackware CD/DVD...

Where is this VirtualBox provided installer in Slackware you are talking about?

I'm not running current I run 13.37, so what can I do to fix this problem?

I've tried this on the last 3 versions of VirtualBox with no success...


THANKS

Last edited by DasFox; 08-07-2012 at 05:29 PM.
 
Old 08-08-2012, 08:23 AM   #11
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,082

Rep: Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799
The VirtualBox installer is at https://www.virtualbox.org/wiki/Downloads. You want the Binary, VirtualBox 4.1.18 for Linux Hosts -- click that link, the select either the 32-bit or 64-bit from "All Distributions."

The download file (for 64-bit) is VirtualBox-4.1.18-78361-Linux_amd64.run, it's 78734802 bytes. You'll also need Oracle_VM_VirtualBox_Extension_Pack-4.1.18-78361.vbox-extpack (it's one level up from the directory where you download the binary file).

If you've compiled and installed the package from SBo, remove it then, as root, execute the ".run" file to install VirtualBox (don't worry, there's an uninstall.sh placed in /opt/VirtualBox so you can remove the binary if you need to).

After VirtualBox installs, install the Extension Pack.

Like chrisretusn, I've been running VirtualBox for some years, always the binary, it works just fine.

Hope this helps some.
 
Old 08-08-2012, 09:17 PM   #12
DasFox
LQ Newbie
 
Registered: Mar 2012
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by tronayne View Post
The VirtualBox installer is at https://www.virtualbox.org/wiki/Downloads. You want the Binary, VirtualBox 4.1.18 for Linux Hosts -- click that link, the select either the 32-bit or 64-bit from "All Distributions."

The download file (for 64-bit) is VirtualBox-4.1.18-78361-Linux_amd64.run, it's 78734802 bytes. You'll also need Oracle_VM_VirtualBox_Extension_Pack-4.1.18-78361.vbox-extpack (it's one level up from the directory where you download the binary file).

If you've compiled and installed the package from SBo, remove it then, as root, execute the ".run" file to install VirtualBox (don't worry, there's an uninstall.sh placed in /opt/VirtualBox so you can remove the binary if you need to).

After VirtualBox installs, install the Extension Pack.

Like chrisretusn, I've been running VirtualBox for some years, always the binary, it works just fine.

Hope this helps some.

Well if I'm not mistaken the binary is suppose to be the official version that is better supported...


THANKS
 
Old 08-08-2012, 11:25 PM   #13
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64
Posts: 134

Rep: Reputation: 20
Same problem here, occurs in both 4.1.18 and 4.2 beta.
 
Old 08-08-2012, 11:34 PM   #14
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, FreeBSD 10.0
Posts: 3,479
Blog Entries: 15

Rep: Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014
Check your VirtualBox settings to ensure that you have option "Enable PAE/NX" enabled.
 
Old 08-10-2012, 12:04 AM   #15
DasFox
LQ Newbie
 
Registered: Mar 2012
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
Check your VirtualBox settings to ensure that you have option "Enable PAE/NX" enabled.
It's enabled by default, last time I checked, I'm going to compile the OSE and get back...

From what I read today after 4.x OSE and Binary are pretty much the same?

https://www.virtualbox.org/wiki/Editions

THANKS
 
  


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
Slackware64-current crawling when VirtualBox is running gtludwig Slackware 10 03-08-2012 05:53 PM
[SOLVED] error compiling virtualbox 3.2.10 on current Barx Slackware 4 12-13-2010 05:46 AM
[SOLVED] Video Problems in VirtualBox on Slackware64-current TSquaredF Slackware 8 10-20-2009 11:44 PM
New current kernel 2.6.29.1 on VirtualBox bgeddy Slackware 5 04-15-2009 07:27 PM
Can't Compile VirtualBox 1.6.6 In Slackware Current Woodsman Slackware 8 12-18-2008 02:36 PM


All times are GMT -5. The time now is 01:17 AM.

Main Menu
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