LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Knoopix and newer kernel (https://www.linuxquestions.org/questions/linux-newbie-8/knoopix-and-newer-kernel-279937/)

bionicyeti 01-19-2005 08:26 PM

Knoopix and newer kernel
 
This may be a weird question but. I installed knoppix to my hard drive. All that worked out great. Everything is running fine. But I want to upgrade the kernel. I built the new kernel and all that stuff. I installed it and it was successful. I even went as far as to edit lilo. Still boots of the default knoppix kernel. Does Knoppix look somewhere different??? Thanks for any help and sorry if my question or how I worded it sucks. :)

homey 01-19-2005 09:11 PM

Did you re-run lilo after making changes to the lilo.conf ?

RodimusProblem 01-20-2005 04:19 AM

In lilo.conf you should see a stanza like this:
Code:

image=/boot/vmlinuz
        label="Linux"
        root=/dev/hda2
        initrd=/boot/initrd.img
        append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce quiet"
        read-only

Change /boot/vmlinuz to the newer kernel image. ( /boot/vmlinuz-2.6.27 or something )

/boot/vmlinuz is a symlink to the old kernel.

makuyl 01-20-2005 10:42 AM

I would suggest leaving the old kernel and the lines for it in lilo just to have something to fall back onto in case you bork your running kernel.
Add lines for the new kernel after checking under /boot the name of wmlinuz. This is what I have at the moment:

Code:

image=/boot/vmlinuz-2.6.9-060105
        label="Linux-2.6.9"
        append="ramdisk_size=100000 lang=us hda=scsi hdb=scsi hdb=2434,255,63 nomce "
        read-only

image=/boot/vmlinuz-2.6.7
        label="Linux-2.6.7"
        append="ramdisk_size=100000 lang=us hda=scsi hdb=scsi hdb=2434,255,63 nomce "
        read-only


bionicyeti 01-22-2005 09:06 AM

Homey was on the right track. I didn't run lilo. :(

I ran lilo and it boots but then hangs. So something is screwed up.

thanks for your help though.


All times are GMT -5. The time now is 08:26 PM.