Solved

Cannot upgrade Smoothwall Kernel

Posted on 2004-09-15
13
456 Views
Last Modified: 2012-06-27
Hi all, I'm using smoothwall express 2. I install the fixes as told to, but my kernel doesnt upgrade like it should...
If you know of any reasons why a kernel might not upgrade properly in a linux environment please please air your suggestions here...!

Here's a quick link to a few more details about my problem
http://community.smoothwall.org/forum/viewtopic.php?t=9124
0
Comment
Question by:OliWarner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 5
13 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 12071568
According to what you posted on that forum you say that the system is booting 2.4.22, but your lilo.conf doesn't show that kernel as a boot choice. After the updates did you run 'lilo' to install the new boot configuration? Might you have a boot floppy in the drive? Either of those possibilities would explain why it is booting the 2.4.22 kernel when the lilo config doesn't offer that kernel as a choice.
0
 
LVL 16

Author Comment

by:OliWarner
ID: 12071616
the updates install a new boot image in the boot dir and modify the lilo.conf accordingly, apart from even after all the installing and rebooting (this is all i apparently need to do according to the instructions) it still thinks (according to the uname -r command) i'm on 2.4.22
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12071625
Does your lilo.conf show a boot stanza for the 2.4.22 kernel? If it doesn't and you are running that kernel then the MBR hasn't been updated by running lilo after the change to lilo.conf. Well, either that or it is booting from a boot floppy.
0
Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

 
LVL 16

Author Comment

by:OliWarner
ID: 12071640
No other boot drive.

The lilo i posted on that forum is exactly how my lilo.conf is... that's all of it...


"If it doesn't and you are running that kernel then the MBR hasn't been updated by running lilo after the change to lilo.conf."
What do I need to do, chief?
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12072033
Execute 'lilo', then reboot.
0
 
LVL 16

Author Comment

by:OliWarner
ID: 12074003
[root@smoothwall root]# lilo
Warning: Int 0x13 function 8 and function 0x48 return different
head/sector geometries for BIOS drive 0x81
    fn 08: 1023 cylinders, 64 heads, 63 sectors
    fn 48: 4092 cylinders, 16 heads, 63 sectors
Added old
Added SmoothWall *

I'm glad you know what you're talking about =)
Just time to see if its actually worked...
0
 
LVL 16

Author Comment

by:OliWarner
ID: 12074089
doh...

[root@smoothwall root]# uname -a
Linux smoothwall 2.4.22 #4 Mon Sep 1 17:13:58 BST 2003 i686 athlon i386 GNU/Linux
0
 
LVL 16

Author Comment

by:OliWarner
ID: 12074104
For the record, my /etc/lilo.conf

boot=/dev/harddisk
map=/boot/map
install=/boot/boot-bmp.b
prompt
timeout=100
lba32
default=SmoothWall
read-only
root=/dev/harddisk4
bitmap=/boot/image.bmp
bmp-colors=13,,12;14,,12
bmp-table=100p,348p,1,3,
bmp-timer=74,29,;,,
append="no-scroll panic=30"
image=/boot/vmlinuz-2.4.26
        label=old
image=/boot/vmlinuz-2.4.27
        label=SmoothWall
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12074623
You have checked to make sure that you don't have a boot floppy in the drive, right?

What does 'fdisk -l /dev/hda' show? And what does 'df' show?
0
 
LVL 16

Author Comment

by:OliWarner
ID: 12074791
0
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
ID: 12075645
I see that you stumbled on the source of the problem. If you'd said "I've checked and there's no floppy in the drive" my next question would have been "Is there more than one disk drive in the machine".

What was happening here was that the machine was booting from an MBR other than the one lilo was updating.
0
 
LVL 16

Author Comment

by:OliWarner
ID: 12075775
Yeah, i dont know how or why the MBR gor written to that drive tho... its very odd...
0
 
LVL 16

Author Comment

by:OliWarner
ID: 12075795
All the same, you've helped out and you did kind of help find the source of all the pain... thanks
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question