LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-16-2007, 02:53 AM   #1
ComputerMan
Member
 
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 kernel.org 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:

Code:
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 2.4.33.3 kernel.

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

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

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Did you remember to run
Code:
/sbin/lilo
after editing your /etc/lilo.conf?
 
Old 01-16-2007, 12:51 PM   #3
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

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

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

www.digitalhermit.com/

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, 03:39 AM   #4
ComputerMan
Member
 
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.

Thanks
 
Old 01-17-2007, 09:14 PM   #5
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,984

Rep: Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555
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 10:10 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
RHAS 4.0 2.6 kernel - How to implement LVM2 post-install skondolf Linux - Newbie 1 03-04-2006 05:32 PM
Lan driver "hard to follow guide" Anoth Fedora 5 03-24-2005 06:33 PM
post kernel upgrade lost tap click geomatt Linux - Hardware 4 09-30-2004 03:06 PM
2.6.5 module -post kernel install questions kkiedrowski Slackware 1 05-05-2004 04: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 02:22 PM


All times are GMT -5. The time now is 12:37 AM.

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