Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Cannot upgrade Smoothwall Kernel

Posted on 2004-09-15
13
Medium Priority
?
464 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
  • 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
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
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 1500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

927 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