LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel upgrade to 2.6.9 (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-upgrade-to-2-6-9-a-257778/)

gargolek 11-21-2004 09:34 PM

kernel upgrade to 2.6.9
 
hello
i am totally new to linux and i leraning it in my class. On the finall project i got to do the upgrade kernel from 2.6.5-something for everything higher. I found the higest kerenl right now is 2.6.9 also i foun information how to do it on the "digitalhermit.com/linux/Kernel-Build-HOWTO.html by Kwan Lowe" .
I did everything what was writen there step by step and everything seems went ok. However when i choose from Grub my new kernel i got this message on the terminal
"
Booting Fedora Core (2.6.9)
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/bzImage-2.6.9 ro root=LABLE=/1 rhgb quiet
Error 15: File not found

I want to add that i use Fedora Core 2
Thx for replay

jens 11-21-2004 10:05 PM

Just use Yum or Apt.

PS: Don't use Fedora.us, Livna.org and Fedora Extras for updating.
Their repositories are not compatible with all the other ones.

Start with DAG:
http://dag.wieers.com/home-made/apt/FAQ.php

Linux~Powered 11-21-2004 10:12 PM

I don't use grub so i'm not sure on this, but with lilo, after you edit the config file you have to /sbin/lilo as root. Now, i'm not sure if you'll have to do this with grub or not.

Can you post your grub config file and your /boot?

gargolek 11-21-2004 11:20 PM

this is my grub :
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda6
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.358)
root (hd0,0)
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.5-1.358.img
title Fedora Core (2.6.9)
root (hd0,0)
kernel /boot/bzImage ro root=LABLE=/1 rhgb quiet
initrd /boot/initrd-2.6.9.img


and this is my /boot:
. grub System.map-2.6.5-1.358
.. initrd-2.6.5-1.358.img System.map-2.6.9
bzImage-2.6.9 initrd-2.6.9.img vmlinuz-2.6.5-1.358
config-2.6.5-1.358 lost+found vmlinuz-2.6.9
.config-2.6.9 System.map

thx again for everything and i will try this Yum and Apt

Linux~Powered 11-21-2004 11:28 PM

Try this in your grub config...

title Fedora Core (2.6.9)
root (hd0,0)
kernel /boot/bzImage-2.6.9 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.9.img

I'm not sure, but for one you misspelled Label, second you just had /boot/bzImage and not /boot/bzImage-2.6.9 so the boot loader isn't going to find it.

gargolek 11-21-2004 11:30 PM

Quote:

Originally posted by jens
Just use Yum or Apt.

PS: Don't use Fedora.us, Livna.org and Fedora Extras for updating.
Their repositories are not compatible with all the other ones.

Start with DAG:
http://dag.wieers.com/home-made/apt/FAQ.php


i just check this webste however it looks for me that they do automatic update and my teacher want everything done by me no automatic updates!! i think it is if i am wrong please give me explanation how to use it thx

gargolek 11-21-2004 11:43 PM

Quote:

Originally posted by Linux~Powered
Try this in your grub config...

title Fedora Core (2.6.9)
root (hd0,0)
kernel /boot/bzImage-2.6.9 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.9.img

I'm not sure, but for one you misspelled Label, second you just had /boot/bzImage and not /boot/bzImage-2.6.9 so the boot loader isn't going to find it.

i just change my grub file and i restart my box but nothing change i still got the same error

thx:confused:

Linux~Powered 11-22-2004 12:09 AM

I hate to do this by trial and error, but try this and i'll explain why..

title Fedora Core (2.6.9)
root (hd0,0)
kernel /bzImage-2.6.9 ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.9.img


The boot loader looks in the /boot directory for the kernel image, so when you specify /boot/bzImage it's looking for the dir boot inside of /boot. I could be wrong but that's my guess.

gargolek 11-22-2004 12:21 AM

Quote:

Originally posted by Linux~Powered
I hate to do this by trial and error, but try this and i'll explain why..

title Fedora Core (2.6.9)
root (hd0,0)
kernel /bzImage-2.6.9 ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.9.img


The boot loader looks in the /boot directory for the kernel image, so when you specify /boot/bzImage it's looking for the dir boot inside of /boot. I could be wrong but that's my guess.


Iam sorry for all your trouble but it works just fine and iam so excited becouse i did something new i am very very apprciate for what you done for me tkank tou for all your time it took you to replay me thx again i hope i will remember how i did it becouse i have to show my teacher in class how i done it thx again you do not now how happy i am
thx everyone special thx for Linux~Powered :) :) :) :) ;)

p.s now i can go to sleep good night every one


All times are GMT -5. The time now is 03:15 AM.