Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-12-2012, 08:13 AM
|
#1
|
|
LQ Newbie
Registered: Dec 2011
Location: Portsmouth, UK
Distribution: Linux Mint Debian
Posts: 5
Rep: 
|
Slackware 14 generic SMP kernel doesn't boot in Virtualbox
Total Slack noob here, so bear with me
Ok, so I'm trying to install Slackware 14 (32 bit) into Virtualbox (Windows 7 x64 host, latest VB version), been through the setup, stripped out a load of stuff related to X as I want this to be console only. The plan is to use this as a bridge between my dual boot Linux, as I store media on my /home ext4 partition, and was going to use this Slack VB to run a Samba share of my /home partition to allow Windows to access those files. Yes, I know there are other ways to do that, but I want to do it this way
Anyway, just finished the setup, rebooted, and I get a kernel panic saying it can't mount root FS (it's formatted to ext4, a single partition for the whole install). I've got a screenshot showing the actual message, but I can't post it up here (and can't use pastebin from work).
This is my first foray into Slack, and I've no idea which way to go at the moment. The kernel is the generic SMP one that comes with the install disc (didn't bother installing the huge one, as I thought I'd probably end up re-compiliing this one anyway) I've never really had to deal with kernel panics before
Is this a known bug with this kernel? What do I do now?
|
|
|
|
10-12-2012, 08:16 AM
|
#2
|
|
Member
Registered: Dec 2008
Posts: 747
Rep: 
|
Quote:
Originally Posted by chemicalfan
... (didn't bother installing the huge one, ...
|
See what happens if you do bother installing the huge one.
|
|
|
|
10-12-2012, 08:24 AM
|
#3
|
|
LQ Newbie
Registered: Dec 2011
Location: Portsmouth, UK
Distribution: Linux Mint Debian
Posts: 5
Original Poster
Rep: 
|
Yep, that's the next plan regarding my installation, but if I'm not the only one with the problem (i.e. it's recreatable by others), it should be noted that the generic kernel doesn't work with Virtualbox. Of course, this could be a setup/config issue, but I don't really have the knowledge to determine that (hence my post!  )
|
|
|
|
10-12-2012, 08:26 AM
|
#4
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,226
|
Did you create the initrd? If so, did you specify the ext4 module to be used in the initrd?
|
|
|
1 members found this post helpful.
|
10-12-2012, 08:32 AM
|
#5
|
|
LQ Newbie
Registered: Dec 2011
Location: Portsmouth, UK
Distribution: Linux Mint Debian
Posts: 5
Original Poster
Rep: 
|
Doh, I'd assumed that would have been part of the installation of the boot loader or kernel package? From your comment, I'm guessing it may not.....
Is ext4 a module in that kernel then?
|
|
|
|
10-12-2012, 09:06 AM
|
#6
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,226
|
Quote:
Originally Posted by chemicalfan
Doh, I'd assumed that would have been part of the installation of the boot loader or kernel package? From your comment, I'm guessing it may not.....
|
No, as stated in the installation documentation, in fact it is not. You have to make that yourself. Have a look at the documentation in the SlackDocs: http://docs.slackware.com/slackware:...generic_kernel
|
|
|
1 members found this post helpful.
|
10-12-2012, 09:32 AM
|
#7
|
|
LQ Newbie
Registered: Dec 2011
Location: Portsmouth, UK
Distribution: Linux Mint Debian
Posts: 5
Original Poster
Rep: 
|
Damn it, I read the installation guide but not the beginners guide! Sorry to waste your time, seems like I wasted my own time too by making assumptions and not RTFM 
|
|
|
|
10-12-2012, 10:27 PM
|
#8
|
|
LQ Newbie
Registered: Jan 2007
Distribution: Slackware
Posts: 18
Rep:
|
On the root of the install media there should be a README.initrd, I suggest you read that some as the generic kernel requires an initrd. With that I didn't have to consult any external documentation. It includes full directions and examples.
What I personally do is install the huge kernel, from install, then add a generic kernel configuration to lilo, taking care not to remove the original one until I'm sure the generic one boots properly. (Of course, make sure you run lilo again once the change is made.)
|
|
|
|
10-13-2012, 02:35 PM
|
#9
|
|
Member
Registered: Mar 2005
Location: Burnaby, BC, Canada
Distribution: Slackware 14 32bit, Debian, Arch
Posts: 187
Rep:
|
Quote:
Originally Posted by chemicalfan
Yep, that's the next plan regarding my installation, but if I'm not the only one with the problem (i.e. it's recreatable by others), it should be noted that the generic kernel doesn't work with Virtualbox. Of course, this could be a setup/config issue, but I don't really have the knowledge to determine that (hence my post!  )
|
Yeah, it's "broken by design".
Including the couple modules for the ~4 most used file systems so that 99% of desktop systems can boot without initrd would be too drastic and radical.
So basically no new Slackware user ever manages to install successfully without spending couple days troubleshooting.
|
|
|
1 members found this post helpful.
|
10-13-2012, 05:26 PM
|
#10
|
|
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.0
Posts: 2,192
|
Quote:
Originally Posted by Slackovado
Yeah, it's "broken by design".
Including the couple modules for the ~4 most used file systems so that 99% of desktop systems can boot without initrd would be too drastic and radical.
So basically no new Slackware user ever manages to install successfully without spending couple days troubleshooting.
|
If you include the filesystems modules, then you must also include the hard drive controller modules and maybe the USB modules...where does it end? If you include everything needed by any hardware, aren't you just using the huge kernel anyway?
|
|
|
|
10-14-2012, 04:11 AM
|
#11
|
|
Member
Registered: Mar 2005
Location: Burnaby, BC, Canada
Distribution: Slackware 14 32bit, Debian, Arch
Posts: 187
Rep:
|
Quote:
Originally Posted by T3slider
If you include the filesystems modules, then you must also include the hard drive controller modules and maybe the USB modules...where does it end? If you include everything needed by any hardware, aren't you just using the huge kernel anyway?
|
I said 99%.
Yes, the common controllers' modules should be included and probably are anyway. Vast majority of desktop computers use Intel controllers and USB chips. The rest %1 can do initrd.
|
|
|
|
10-14-2012, 04:40 AM
|
#12
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,226
|
Contrary to common belief the huge kernel does not have everything and the kitchen sink compiled in. Try something like
Code:
vimdiff /boot/config-generic-smp-3.2.29-smp /boot/config-huge-smp-3.2.29-smp
and you will see that the main differences are that the huge kernel has support for the most harddisk controllers and filesystems compiled into the kernel. The only other difference worth noticing is support for Speakup, so that visually impaired people have the chance to install and run Slackware.
So the kernel you demand, with modules for harddisk controllers and filesystems compiled into the kernel, already exists and is in fact used as default kernel, you just are not aware of it. 
|
|
|
|
10-15-2012, 02:57 AM
|
#13
|
|
LQ Newbie
Registered: Dec 2011
Location: Portsmouth, UK
Distribution: Linux Mint Debian
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by T3slider
If you include the filesystems modules, then you must also include the hard drive controller modules and maybe the USB modules...where does it end? If you include everything needed by any hardware, aren't you just using the huge kernel anyway?
|
Not exactly, there's a TON of stuff in the kernel you won't need (for example, I only need ext4, not the others)
Quote:
Originally Posted by Slackovado
Yeah, it's "broken by design".
Including the couple modules for the ~4 most used file systems so that 99% of desktop systems can boot without initrd would be too drastic and radical.
So basically no new Slackware user ever manages to install successfully without spending couple days troubleshooting.
|
That's a bit elitist, isn't it?
Just an update - got it all working eventually, by booting with the install CD and pointing the boot parameter at the installed root, then using slackpkg to install the other kernel. Quick lilo update and I'm good to go!
Thanks all for posting
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:21 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|