where is kernel? still boots to 2.4.31 after make 2.6.16.1
SlackwareThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.