LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-13-2002, 04:12 AM   #16
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47

Well - basically what you do is:
go to http://www.kernel.org and get yourself a shiny new kernel
Then you unpack the thing into /usr/src/
Then you do:
cd /usr/src/linux-version-of-the-kernel
make clean
make menuconfig
make dep && make clean bzImage modules modules_install
mv /boot/bzImage /boot/bzImage.orig
cp /usr/src/linux-x.x.x/arch/i386/boot/bzImage /boot

Couple of things:
you can use make config,make menuconfig or make xconfig
Thats a matter of your personal taste - does the same thing with a different interface.
When you 'mv /boot/bzImage' it might be something like bzImage-2.2.20 or whatever you got in there.
Up to the point where you move the bzImage you can still change your mind after that you better get it to work.
What you need in the kernel depends on your hardware - a look in the boot messages is helpful to figure that out.

After that you need to change lilo.conf to make your new kernel bootable.First of all change the original section where it says 'image = /boot/xxx' to /boot/bzImage.orig
Then make a new section like the one you alredy got in there.Just change:
image=/boot/bzImage - that's your new kernel and -
label = this won't work - or anything you like

Then run 'lilo' or /sbin/lilo and reboot if this didn't give you any error messages.
You should be able to boot into 'this won't work' with your new kernel or into,I think it's 'debian' with your original kernel after that.
But you might want to do some additional research on the subject.
 
Old 12-17-2002, 07:04 AM   #17
freeindy
Member
 
Registered: Nov 2002
Posts: 207

Original Poster
Rep: Reputation: 32
Hi crashmeister.

Sorry for the delayed response but I've been quite busy with my work.

So I followed your instrucutions and tried updrading my kernel to 2.4.20. Then I moved th bzImage as you said and changed my lilo like this:
--------------------------------
default=Debian

image=/boot/vmlinuz-2.2.20
label=Debian
read-only
append="hdc=ide-scsi"
# restricted
# alias=1

image=/boot/bzImage-2.4.20
label="Debian 2.4.20"
read-only
append="hdc=ide-sci"
---------------------------------
my bzImage-2.4.20 is the newer version. I ran lilo without any problem. But during the reboot when I choose "Debian 2.4.20" it seems like it's loading my old kernel anyway...??? I checked my kernelversion and it says : "2.2".

I found this very strange. It there some logic in there anywhere.
I did add some SCSI support during 'make xconfig' and still the lsmod doesn't show any sign of SCSI:
------------------
Module Size Used by
lockd 42420 0 (autoclean) (unused)
sunrpc 57816 0 (autoclean) [lockd]
sb 32456 0
uart401 5872 0 [sb]
sound 56384 0 [sb uart401]
soundlow 384 0 [sound]
soundcore 2452 5 [sb sound]
3c509 6324 1
af_packet 6152 1
unix 11352 20 (autoclean)
------------------

Cheers
Indy
 
Old 12-17-2002, 08:09 AM   #18
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
If it is really loading the 2.2 kernel it will not change a thing - obviously.
First you need to get it to load the 2.4 kernel you have made.
What is in /var/log/dmesg ?
If it is indeed loading 2.2 pls. sned me an email to crashmeister@fuckmicrosoft.com - I'll send you some more info about this then.
Take your time - I am already happy that you could compile the kernel with hte info I gave you and the box still boots.
 
  


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
Debian Review - Debian was made for KDE vxc69 Debian 23 05-28-2007 07:56 AM
Woot! Made my Radeon 9800pro work on DEBIAN beeblequix Debian 1 10-24-2005 11:24 AM
setup and ntsysv cause FC3 crash franz77 Fedora 1 03-02-2005 09:19 PM
setup and ntsysv cause FC3 crash franz77 Linux - Software 0 03-02-2005 10:16 AM
ATi linux made difficult for debian shorty_boy Debian 21 09-09-2004 01:58 PM

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

All times are GMT -5. The time now is 08:40 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