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. |
|
 |
04-04-2006, 06:28 PM
|
#1
|
|
Member
Registered: Mar 2006
Distribution: Slack 10.2, kernel 2.4.31 on a Dell Inspiron 1150 Laptop
Posts: 57
Rep:
|
where is kernel? still boots to 2.4.31 after make 2.6.16.1
Hello! I downloaded source for 2.6.16.1. After configure, make bzImage, make modules, make modules_install, I went into /boot, removed symlinks System.map, config, and vmlinuz; I copied the new System.map and config files into /boot with 2.6.16.1 appended to their names, and from /usr/src/linux-2.6.16.1/arch/i386/boot I copied bzImage to /boot/vmlinuz and added -2.6.16.1. Then I added symlinks for System.map-2.6.16.1 and for config-2.6.16.1 and vmlinuz-2.6.16.1. This is how I always update the kernel. I keep lilo.conf the same. It reads:
Code:
image = /boot/vmlinuz
root = /dev/hdc2
label = Linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
Here is my directory listing of /boot:
Code:
total 2620
drwxr-xr-x 3 root root 376 2006-04-04 19:03 ./
drwxr-xr-x 18 root root 488 2006-04-03 18:12 ../
drwxr-xr-x 6 root root 168 2006-04-04 19:00 Old/
lrwxrwxrwx 1 root root 37 2006-03-21 21:32 README.initrd -> /usr/doc/mkinitrd-1.0.1/README.initrd
lrwxrwxrwx 1 root root 19 2006-04-04 19:03 System.map -> System.map-2.6.16.1
-rw-r--r-- 1 root root 805960 2006-04-04 19:01 System.map-2.6.16.1
-rw-r--r-- 1 root root 512 2006-03-21 21:52 boot.1602
lrwxrwxrwx 1 root root 15 2006-04-04 19:03 config -> config-2.6.16.1
-rw-r--r-- 1 root root 41156 2006-04-04 19:01 config-2.6.16.1
-rw-r--r-- 1 root root 5032 2004-05-21 07:19 diag1.img
-rw------- 1 root root 26624 2006-04-03 18:12 map
lrwxrwxrwx 1 root root 16 2006-04-04 19:03 vmlinuz -> vmlinuz-2.6.16.1
-rw-r--r-- 1 root root 1784070 2006-04-04 19:02 vmlinuz-2.6.16.1
So lilo.conf should just read in the 2.6.16.1 kernel. I didn't make a mistake and reinstall the 2.4.31 materials because they all have different file sizes.
Code:
drwxr-xr-x 2 root root 152 2006-04-04 19:01 ./
drwxr-xr-x 6 root root 168 2006-04-04 19:00 ../
-rw-r--r-- 1 root root 609687 2006-04-03 18:16 System.map-2.4.31
-rw-r--r-- 1 root root 37120 2006-04-03 18:17 config-2.4.31
-rw-r--r-- 1 root root 1257191 2006-04-03 18:17 vmlinuz-2.4.31
How should I make the system boot to the 2.6.16.1 kernel?
|
|
|
|
04-04-2006, 06:46 PM
|
#2
|
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Did you run lilo? I know I've forgotten to. Plus, just in case, you should leave the old kernel and add to lilo.conf just in case the new one is unbootable.
Code:
prompt
timeout= 50 #Gives you 5 seconds to choose
image = /boot/vmlinuz
root = /dev/hdc2
label = Linux
read-only
image=/boot/vmlinuz-old
root= /dev/hdc2
label= Old Kernel
read-only
Change vmlinuz-old to whatever yours is.
Last edited by cwwilson721; 04-04-2006 at 06:48 PM.
|
|
|
|
04-04-2006, 07:21 PM
|
#3
|
|
Member
Registered: Mar 2006
Distribution: Slack 10.2, kernel 2.4.31 on a Dell Inspiron 1150 Laptop
Posts: 57
Original Poster
Rep:
|
Oh.
I've never had to run lilo before. I went from 2.4.something to 2.4.31 without running lilo. Or maybe I ran lilo and forgot.
Anyway, my computer booted to 2.6.16.1. But, the consoles were invisible. I had to log in blind. They didn't become visible later. Also, my Internet connection (PPPoE via Verizon fiber with DHCP enabled (my computer->hub->router) via Ethernet) got blasted. I thought I had enabled appropriate networking options in the configuration. I couldn't ping the router.
|
|
|
|
04-04-2006, 07:23 PM
|
#4
|
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
You have to run lilo EVERY TIME you change kernel/lilo.conf
|
|
|
|
04-04-2006, 07:29 PM
|
#5
|
|
Member
Registered: Mar 2006
Distribution: Slack 10.2, kernel 2.4.31 on a Dell Inspiron 1150 Laptop
Posts: 57
Original Poster
Rep:
|
Okay. But I didn't actually change lilo.conf. I changed the files in /boot that lilo.conf points to.
|
|
|
|
04-04-2006, 07:58 PM
|
#6
|
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,244
Rep:
|
Doesn't matter, you still HAVE to run lilo.
|
|
|
|
04-04-2006, 10:03 PM
|
#7
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Rep: 
|
Quote:
|
Anyway, my computer booted to 2.6.16.1. But, the consoles were invisible.
|
Did you enable the VGA mode in the kernel configuration?
Device Drivers -> Graphics support -> Console display drivers support -> VGA text console
Make sure it's enabled [Y].
|
|
|
|
04-04-2006, 10:32 PM
|
#8
|
|
Member
Registered: Mar 2006
Distribution: Slack 10.2, kernel 2.4.31 on a Dell Inspiron 1150 Laptop
Posts: 57
Original Poster
Rep:
|
Thanks for your help again. Another problem tonight is I have now lost my double-tap touchpad feature, and the e-z scroll. It was working since I compiled 2.4.31 (I think that's when it started to work but I'm not exactly sure). Now it doesn't work.
Under "Console display driver support" I have these options:
--- VGA text console[*] Video mode selection support
< > MDA text console (dual-headed) (EXPERIMENTAL)
<*> Framebuffer Console support
I have just now added the Y to the last one. When I returned to make menuconfig just now to write this post, it was blank. Only "Video mode selection support" was selected. Do you think that'll cover it?
I can't get it to format correctly but of course "[*] Video mode..." is on a separate line.
Last edited by ctos; 04-04-2006 at 10:34 PM.
|
|
|
|
04-05-2006, 06:31 AM
|
#9
|
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
|
|
|
|
| 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 11:21 AM.
|
|
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
|
|