Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-16-2007, 01:53 AM   #1
Registered: Jul 2003
Location: US
Distribution: Slackware 11.0, Debian 4.0 "etch"
Posts: 71

Rep: Reputation: 15
Follow a post-install guide and got lost (kernel 2.6.19)

I'm following this post-Slackware install guide, "How to Properly Set Up Slackware Linux" section "Building a New Kernel".

I used Links to download the 2.6.19 kernel from and I downloaded the latest kernel patch from the "Beyond Sources". I put both in my home directory.

I put that patch into my uncompressed kernel and typed "patch -p1 < patch-2.6.19-beyond2"

When that was done, I grabbed a Slackware kernel configuration file from a mirror (2.6.18 was all I found), renamed it and put it into the uncompressed kernel directory. At this point I move the uncompressed kernel from my home directory to /usr/src.

I ran "make oldconfig". After, I ran "make menuconfig". I tweaked it according to the guild. I didn't touch what I didn't understand.

Then I ran "make" and let the computer do its thing for a few hours. When it was finished I ran:

su -c 'make modules_install ' cp arch/i386/boot/bzImage /boot/vmlinux.custom ' ln -sf /boot/vmlinux.custom /boot/vmlinux ; /sbin/lilo'
Okay, the first time I ran this I typed "op arch/i386..." instead of "cp" so I ran the same thing again but with "cp". Also, I didn't type "vmlinuz" but rather "vmlinux". (Yes, I know, how silly of me.)

I edited my lilo.conf and changed "/boot/vmlinuz" to "/boot/vmlinux.custom". When I boot up I am still using the kernel.

I know I screwed up somewhere. Where? Any help would be appreciated.

Last edited by ComputerMan; 01-16-2007 at 01:54 AM.
Old 01-16-2007, 02:54 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,454

Rep: Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469
Did you remember to run
after editing your /etc/lilo.conf?
Old 01-16-2007, 11:51 AM   #3
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
seems like you are also needing to:

# cp /boot/
# ln -s /boot/ /boot/
i have not followed the guide you speak of, but this one:

has always worked for me.

I might also suggest you leave your old kernel linked in the lilo.conf by creating a new entry for the kernel that you are compiling. that way if you screw something up, you have a rescue kernel to get back into Slack from (speaking from personal experience here
Old 01-17-2007, 02:39 AM   #4
Registered: Jul 2003
Location: US
Distribution: Slackware 11.0, Debian 4.0 "etch"
Posts: 71

Original Poster
Rep: Reputation: 15
Well I screwed up badly so I decided to just re-install and start fresh. This time I'm going go by that guide bioe007 and see how it goes.

I'm sure I'll run into issues so y'all will see me again. In the meantime, I'll be studying.

Old 01-17-2007, 08:14 PM   #5
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 6,883

Rep: Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427
I revised the guide when I read this, but in the the version you followed you would simply have copied your new kernel over your old kernel, rerun lilo, and reboot. That's it. I was going for the simplest method possible. That was the idea, anyway; I noticed that I had some extraneous steps (which didn't hurt) in there for some reason, which I see you followed to the letter.

bioe007's advice to create a new entry in lilo.conf for the new kernel is good too. If you decide to do that, put a prompt at the beginning of lilo.conf and you'll get all your kernel choices on a boot-up menu.

Last edited by dugan; 01-17-2007 at 09:10 PM.


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
RHAS 4.0 2.6 kernel - How to implement LVM2 post-install skondolf Linux - Newbie 1 03-04-2006 04:32 PM
Lan driver "hard to follow guide" Anoth Fedora 5 03-24-2005 05:33 PM
post kernel upgrade lost tap click geomatt Linux - Hardware 4 09-30-2004 02:06 PM
2.6.5 module -post kernel install questions kkiedrowski Slackware 1 05-05-2004 03:03 PM
Im using lynx to post, lost in the void of my new install, no screens found? Optyx Linux - Newbie 3 03-04-2004 01:22 PM

All times are GMT -5. The time now is 04:46 PM.

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