LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2003, 10:04 AM   #1
arcanthus
LQ Newbie
 
Registered: Apr 2003
Distribution: SuSe 8.0
Posts: 6

Rep: Reputation: 0
New kernel 2.5.68 SuSe 8.0


I tried to update the kernel. The process appeared to go smooth, all commands worked. Upon reboot it was still using the previous kernel 2.4.18.

Does anyone have a good set of instructions? I did something wrong but don't know what.

I created the new symbolic link to point to /usr/src/linux-2.5.68, and it works.

Thank you for any help.
 
Old 04-26-2003, 11:27 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,862

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Boot loader?

Did you change your bootloader (lilo or grub) to boot the new kernel?
 
Old 04-26-2003, 11:35 AM   #3
arcanthus
LQ Newbie
 
Registered: Apr 2003
Distribution: SuSe 8.0
Posts: 6

Original Poster
Rep: Reputation: 0
The instructions I had stated to to type 'lilo'. I did.

Do you have instructions to do this different? Is there something else I need to do?

Thanks.
 
Old 04-26-2003, 12:01 PM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
That reruns lilo so it updates it's copy of the boot files in the MBR.
If you replaced your current kernel, then /boot/vmlinuz and other places should be linked to the new kernel, but if you made a second lot of kernel files to be safe, you'll need to edit your lilo.conf to point to the new ones.
Check where that link should go.
 
Old 04-26-2003, 12:01 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,862

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
If you are running lilo whithout editing /etc/lilo.config then you are not making any changes to lilo.

You want to set lilo up so that when you boot lilo pauses and gives you a chance to select which kernel to run. You do this by editing /etc/lilo.conf.

You probably need to make two additions to /etc/lilo/conf. In the header section you need to add prompt and timeout commands so that lilo will pause and give you a choice of kernels.

Then you need to add a second image section describing your new kernel and where it is located.

When you have /etc/lilo.conf set up the way that you want then you enter the lilo command for the changes to take effect.

If you mess up /etc/lilo.conf you can make your computer unbootable. So you should either have a rescue CD available (the SuSE 8.0 distro has a rescue mode) or you can try out your new lilo first by creating the new version on a booot floppy. Creating a boot floppy is a little more complicated than changing lilo on the boot hard disk.

Your SuSE manuals have a good description of how to work with lilo.
 
Old 04-26-2003, 03:34 PM   #6
arcanthus
LQ Newbie
 
Registered: Apr 2003
Distribution: SuSe 8.0
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for your help, but I just don't get it. The lilo.conf looked fine, it had the failsafe pointing to the old kernel.

I renamed initrd and and vmlinuz. I made changes to the lilo.conf (which I thought was going to make the system unbootable), and it still booted to the 2.4.18 version.

I suppose I'll try again after I learn more.
 
Old 04-26-2003, 03:37 PM   #7
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Did you run lilo after changing lilo.conf? Else it wont be updated.
 
Old 04-26-2003, 04:24 PM   #8
arcanthus
LQ Newbie
 
Registered: Apr 2003
Distribution: SuSe 8.0
Posts: 6

Original Poster
Rep: Reputation: 0
Yes, I did, received an error that vmlinux was too large.

http://www.mil.ufl.edu/~number9/doc/linux_kernel.pdf

are the instructions I used.

When I ran lilo (first time) it gave a report of:

Addded linux
Added failsafe
Added windows
Added memtest86
 
Old 04-26-2003, 06:14 PM   #9
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,862

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Post lilo.conf

Why don't you post your lilo.conf. Then we can debug by committee.
 
Old 04-27-2003, 10:05 AM   #10
arcanthus
LQ Newbie
 
Registered: Apr 2003
Distribution: SuSe 8.0
Posts: 6

Original Poster
Rep: Reputation: 0
# Modified by YaST2. Last modification on Fri Apr 25 01:00:13 2003


boot = /dev/hda
change-rules
reset
read-only
menu-scheme = Wg:kw:Wg:Wg
lba32
prompt
timeout = 80
message = /boot/message
vga = 791

image = /boot/vmlinuz
label = linux
root = /dev/hda3
vga = 788
initrd = /boot/initrd
append = " acpismp=force hdd=ide-scsi"

image = /boot/vmlinuz.suse
label = failsafe
root = /dev/hda3
vga = 788
initrd = /boot/initrd.suse
append = "ide=nodma apm=off acpi=off acpismp=force hdd=ide-scsi"
optional

other = /dev/hdb1
label = windows

image = /boot/memtest.bin
label = memtest86
 
Old 04-27-2003, 11:55 AM   #11
arcanthus
LQ Newbie
 
Registered: Apr 2003
Distribution: SuSe 8.0
Posts: 6

Original Poster
Rep: Reputation: 0
I figured it out (kind of). The 'make install' created a file in /usr/src/linux/i386/arch/boot (or something like this), that I needed to copy to /boot and rename to'vmlinuz'

I rebooted and no longer have the GUI, but that's OK, I can keep working fro here.

Thanks again for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
suse-9.3 kernel in 9.2? greythorne SUSE / openSUSE 4 05-11-2005 08:47 AM
SUSE Kernel 2.6.11 lacerto SUSE / openSUSE 4 03-18-2005 07:27 AM
Kernel (from Suse or from kernel.org) fredgt SUSE / openSUSE 4 11-17-2004 03:20 AM
SUSE Security Announcement - Linux Kernel (SuSE-SA:2004:009) ima Linux - Security 0 04-19-2004 08:35 AM
2.6 kernel for Suse 9.0? Twiggy794 Linux - Distributions 0 01-12-2004 02:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:07 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration