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 12-11-2013, 10:50 PM   #31
yars
Member
 
Registered: Apr 2012
Location: Russia
Distribution: Slackware64-current
Posts: 272

Rep: Reputation: 45

/dev/sdb is a hard drive? If it is a usb drive, possibly you need to add append= line in lilo.conf the rootdelay= parameter?

Last edited by yars; 12-11-2013 at 10:51 PM.
 
Old 12-12-2013, 02:22 AM   #32
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by enorbet View Post
... OTOH, the last I read from Eric on AlienBoB's blog irrc, he does not use an initrd. ...
Well this is interesting indeed. I wonder if Eric is using the stock Slackware huge kernel, or perhaps more likely, he is using his own custom kernel with the file systems compiled into his custom kernel.
I think it is much easier to use an initrd than to compile my own custom kernel just to avoid using an initrd. Although I have managed to compile my own kernels a few times, I am not at all skilled in kernel compilation. The stock Slackware generic kernel with an initrd has always worked well for me.
 
Old 12-14-2013, 10:32 AM   #33
enorbet
LQ Guru
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 5,058

Rep: Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687
Greetz
Compiling a kernel is like anything else new and perceived as complex, a bit scary. There really is no need however. As long as you keep your working kernel and only add to your bootloader, you can always go back to safe ground.

The docs on how to do this are extremely good, imho, for one big reason - ultra practical and uncaring of image. What I mean is this - There are real "leets" and poser leets and while posers worry about how they appear to others, real leets don't often even realize they are in anyones eyes because all that matters is the job at hand and how best to do it.

You can find one edition here for 2.6 and 3.x kernels Bob's Kernel Building

I am specifically referring to choosing "make xconfig" over "make menuconfig". I love CLI as much as many or I wouldn't be working in Linux, let alone Slack, but some jobs suit CLI and others are best handled by a graphic solution. Where "menuconfig" is menu driven, showing you a single page at a time, Xconfig sports a Graphic divided into 3 sections - Kernel Section, Subsections and Items, and Help Messages.

For any who have not tried it here is a screenie XCONFIG

So everytime you select a header you also see what's in it, just as you would Directories and Files in a File Manager. The Help section can be a time saver and a life saver since besides merely giving details about the item (you may have no idea whether you have MTRR and need support or not) it often says "Unless you know you have one of these old devices, it is safe to say 'No' here" or "If you're not sure you can safely say 'Yes' here and it adds little or nothing to kernel size, or choose 'Module'". It's very helpful and makes it far easier for anyone who wishes to learn to compile a kernel safely.

If you follow all the steps, using the

Code:
 zcat /proc/config.gz > /usr/src/linux/.config
as stated in the docs, insures that you begin with the config of the very kernel upon which you are presently running and "make oldconfig" insures that you only have to deal with changes that have been added to your new kernel. Already you have made kernel building nearly trivial. Then, when you run "make xconfig" you can

1) visually see that all is as expected
2) remove any obvious bloat for junk you don't need, which can improve speed some
3) also as indicated in this doc, you can specify your exact CPU, and if your machine is modern and stable, low latency, tickless kernels and greatly improve the "snapiness" of your system.

For those not having the time to visit the doc page, and to remain On Topic, this is AlienBob's comment about initrd

Quote:
Build the ext3 and ext4 (needs the jbd driver as well) and reiser/xfs/jfs fileystem drivers into the kernel instead of compiling them as modules - that way I do not need to create an additional ”initrd“
(see under “Filesystems” in the configurator).
If you remember how stressful it used to be to edit partitions with DOS Fdisk, and how when Partition Magic came along it almost made it fun, this is similar to what "make xconfig" accomplishes in kernel customizing. It is very good experience and well worth the hour or two you might invest if you really take your time about it (unless you're still rocking a Celeron 300A :P ).

Last edited by enorbet; 12-14-2013 at 10:36 AM. Reason: forgot link
 
Old 12-17-2013, 12:01 PM   #34
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157
Slackware 14.1 : cannot install with RAID1

(Post deleted. Sorry. Accidentally hit Reply instead of New Post.)

Last edited by kikinovak; 12-17-2013 at 12:13 PM.
 
  


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
kernel panic due to /initrd deleted linux_ecil Linux - Kernel 1 07-10-2006 09:30 AM
bootsplash causes kernel panic after modifying initrd bewareofthesnowman Linux - Software 2 02-28-2006 07:33 PM
cramfs, kernel-panic...initrd, bootsplash... Outabux Debian 3 10-26-2004 07:42 PM
initrd & kernel panic asjapulk Linux - General 2 01-13-2004 02:35 AM
initrd kernel panic gavares Linux - General 0 08-25-2003 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:06 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
Open Source Consulting | Domain Registration