LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-04-2006, 06:28 PM   #1
ctos
Member
 
Registered: Mar 2006
Distribution: Slack 10.2, kernel 2.4.31 on a Dell Inspiron 1150 Laptop
Posts: 57

Rep: Reputation: 15
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?
 
Old 04-04-2006, 06:46 PM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
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.
 
Old 04-04-2006, 07:21 PM   #3
ctos
Member
 
Registered: Mar 2006
Distribution: Slack 10.2, kernel 2.4.31 on a Dell Inspiron 1150 Laptop
Posts: 57

Original Poster
Rep: Reputation: 15
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.
 
Old 04-04-2006, 07:23 PM   #4
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
You have to run lilo EVERY TIME you change kernel/lilo.conf
 
Old 04-04-2006, 07:29 PM   #5
ctos
Member
 
Registered: Mar 2006
Distribution: Slack 10.2, kernel 2.4.31 on a Dell Inspiron 1150 Laptop
Posts: 57

Original Poster
Rep: Reputation: 15
Okay. But I didn't actually change lilo.conf. I changed the files in /boot that lilo.conf points to.
 
Old 04-04-2006, 07:58 PM   #6
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Doesn't matter, you still HAVE to run lilo.
 
Old 04-04-2006, 10:03 PM   #7
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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].
 
Old 04-04-2006, 10:32 PM   #8
ctos
Member
 
Registered: Mar 2006
Distribution: Slack 10.2, kernel 2.4.31 on a Dell Inspiron 1150 Laptop
Posts: 57

Original Poster
Rep: Reputation: 15
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.
 
Old 04-05-2006, 06:31 AM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Take a look here to know what you've to enable: http://www.linuxquestions.org/questi...461#post660461
 
  


Reply



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
how can i make duel boots kennycc Linux - Software 14 03-16-2005 01:12 AM
Linux boots very slowly with 2.6 kernel Mikessu Linux - General 6 09-20-2004 07:46 PM
What is the first thing the kernel does after it boots ? xconspirisist Linux - General 3 05-20-2004 09:38 AM
New kernel doesnt boots.. unmada Linux - General 1 06-23-2002 03:04 PM
Make a ROUTE persistent accross boots of the system thecrab Linux - Networking 2 05-30-2002 02:51 PM

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

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