Hello all,
I'm very much a newbie to Linux (running Fedora FC3 for 10 days) and there is an issue I have run into. The biggest problem I have is that for some reason my kernel doesn't update properly. My Fedora box is dual PPro running kernel 667smp, but I know kernel 681smp is out there for download and install. I run the GUI version of up2date and I always download and install all patches that are made available.
For some reason kernel 681smp didn't install. So fine, I downloaded the rpm-package for kernel 681smp manually with FireFox, choosing the option to run it with the default application, but when FireFox has downloaded the package and starts the installer, the installer says kernel 681smp is already installed. Just to double-check I searched on the Internet and found this command "uname -r", which confirms I am running kernel 667smp.
How do I force a reinstall or an update of the kernel to version 681smp?
Thanks, Maurice.
M. wrote:
Hello all,
I'm very much a newbie to Linux (running Fedora FC3 for 10 days) and there is an issue I have run into. The biggest problem I have is that for some reason my kernel doesn't update properly. My Fedora box is dual PPro running kernel 667smp, but I know kernel 681smp is out there for download and install. I run the GUI version of up2date and I always download and install all patches that are made available.
For some reason kernel 681smp didn't install. So fine, I downloaded the rpm-package for kernel 681smp manually with FireFox, choosing the option to run it with the default application, but when FireFox has downloaded the package and starts the installer, the installer says kernel 681smp is already installed. Just to double-check I searched on the Internet and found this command "uname -r", which confirms I am running kernel 667smp.
How do I force a reinstall or an update of the kernel to version 681smp?
to find out what kernel version (or versions) are installed use "rpm -q kernel". "uname -r" will give the version of the kernel which is currently running, you may have more than one installed, the active one is selected in the boot menu or in grub configuration.
next time when you upgrade the kernel i recommend to use yum - "yum update kernel". also, for keeping the system up to date with the latest patches, i recommend using yum in crontab (yum as a service)
On Sat, Dec 25, 2004 at 11:02:40AM +0100, M. wrote:
package and starts the installer, the installer says kernel 681smp is already installed. Just to double-check I searched on the Internet and found this command "uname -r", which confirms I am running kernel 667smp. How do I force a reinstall or an update of the kernel to version 681smp?
Hopefully this is a silly question, but have you rebooted?
yes--try rebooting and look at the "Kernel choise Sreen"--first one to show on boot--it will give you a choise of which version of kernel to boot to. Some--not all however--grub loaders are setup to use the latest kernel, just make sure you read fast and use the arrow keys to select the latest kernel displayed, then hit the enter key. After booting and loging on--etc--go to (I use KDE gui) System Settings then boot configuration--make sure grub is setup to boot to the "latest" version of kernel (but make sure that this kernel WORKS ok with your particular setup for a day or so). this help??? If you didn't load this particular "tool" when you installed Fedora Core 3--it is still possible to do the same from the grub boot screen---read fast--edit grub boot--etc................steve
Matthew Miller wrote:
On Sat, Dec 25, 2004 at 11:02:40AM +0100, M. wrote:
package and starts the installer, the installer says kernel 681smp is already installed. Just to double-check I searched on the Internet and found this command "uname -r", which confirms I am running kernel 667smp. How do I force a reinstall or an update of the kernel to version 681smp?
Hopefully this is a silly question, but have you rebooted?
Mathew, Steve,
Thanks for your replies. I am not at all offended or anything by asking if I rebooted. You see, I work as IT professional (MS-Windows) and usually that is my first question, too. :-)
But to return to the subject, I did reboot and when I press a key during startup I can choose between kernels 667 and 667smp. My system boots using grub and I searched for a grub.conf file or something similar, but that didn't yield any result. Interestingly enough though, I do have a lilo.conf.anaconda file which lists kernel 667 and 667smp. So, I reckoned, what if I just modify this file by copying those lines and pasting them, replacing everything that says 667 by 681? Too bad, the boot list simply shows 667 and 667smp and not the ones I had just added.
That is another thing, BTW, I don't quite understand the relationship between lilo.conf.anaconda and grub. Do they have any relationship at all?
So, short of recompiling the kernel (which is a hell of a task for someone who has no knowledge of Unix/Linux) or waiting for a next kernel update, is there anything I can do either to force the kernel rpm-file to reinstall or to modify the kernel boot list (which files, please).
Thanks again, Maurice.
-----Original Message----- From: fedora-desktop-list-bounces@redhat.com [mailto:fedora-desktop-list-bounces@redhat.com] On Behalf Of Steve Thacker Sent: Saturday, December 25, 2004 5:57 PM To: Discussions about development for the Fedora desktop Subject: [mail] Re: Kernel issues
yes--try rebooting and look at the "Kernel choise Sreen"--first one to show on boot--it will give you a choise of which version of kernel to boot to. Some--not all however--grub loaders are setup to use the latest kernel, just make sure you read fast and use the arrow keys to select the latest kernel displayed, then hit the enter key. After booting and loging on--etc--go to (I use KDE gui) System Settings then boot configuration--make sure grub is setup to boot to the "latest" version of kernel (but make sure that this kernel WORKS ok with your particular setup for a day or so). this help??? If you didn't load this particular "tool" when you installed Fedora Core 3--it is still possible to do the same from the grub boot screen---read fast--edit grub boot--etc................steve
Matthew Miller wrote:
On Sat, Dec 25, 2004 at 11:02:40AM +0100, M. wrote:
package and starts the installer, the installer says kernel 681smp is already installed. Just to double-check I searched on the Internet and found this command "uname -r", which confirms I am running kernel 667smp. How do I force a reinstall or an update of the kernel to version 681smp?
Hopefully this is a silly question, but have you rebooted?
Hi Just have a look in: /boot/grub/grub.conf and the top kerna showing should boot.
You will need to be root to change this.
Here is mine: ******************************************************************* boot=/dev/hda default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Fedora Core (2.6.9-1.681_FC3) root (hd0,0) kernel /vmlinuz-2.6.9-1.681_FC3 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.9-1.681_FC3.img title Fedora Core (2.6.9-1.667) root (hd0,0) kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.9-1.667.img
************************************************************************
I assume you are using grub. cheers Bob
On Sun, 2004-12-26 at 16:56 +0100, M. wrote:
Mathew, Steve,
Thanks for your replies. I am not at all offended or anything by asking if I rebooted. You see, I work as IT professional (MS-Windows) and usually that is my first question, too. :-)
But to return to the subject, I did reboot and when I press a key during startup I can choose between kernels 667 and 667smp. My system boots using grub and I searched for a grub.conf file or something similar, but that didn't yield any result. Interestingly enough though, I do have a lilo.conf.anaconda file which lists kernel 667 and 667smp. So, I reckoned, what if I just modify this file by copying those lines and pasting them, replacing everything that says 667 by 681? Too bad, the boot list simply shows 667 and 667smp and not the ones I had just added.
That is another thing, BTW, I don't quite understand the relationship between lilo.conf.anaconda and grub. Do they have any relationship at all?
So, short of recompiling the kernel (which is a hell of a task for someone who has no knowledge of Unix/Linux) or waiting for a next kernel update, is there anything I can do either to force the kernel rpm-file to reinstall or to modify the kernel boot list (which files, please).
Thanks again, Maurice.
-----Original Message----- From: fedora-desktop-list-bounces@redhat.com [mailto:fedora-desktop-list-bounces@redhat.com] On Behalf Of Steve Thacker Sent: Saturday, December 25, 2004 5:57 PM To: Discussions about development for the Fedora desktop Subject: [mail] Re: Kernel issues
yes--try rebooting and look at the "Kernel choise Sreen"--first one to show on boot--it will give you a choise of which version of kernel to boot to. Some--not all however--grub loaders are setup to use the latest kernel, just make sure you read fast and use the arrow keys to select the latest kernel displayed, then hit the enter key. After booting and loging on--etc--go to (I use KDE gui) System Settings then boot configuration--make sure grub is setup to boot to the "latest" version of kernel (but make sure that this kernel WORKS ok with your particular setup for a day or so). this help??? If you didn't load this particular "tool" when you installed Fedora Core 3--it is still possible to do the same from the grub boot screen---read fast--edit grub boot--etc................steve
Matthew Miller wrote:
On Sat, Dec 25, 2004 at 11:02:40AM +0100, M. wrote:
package and starts the installer, the installer says kernel 681smp is already installed. Just to double-check I searched on the Internet and found this command "uname -r", which confirms I am running kernel 667smp. How do I force a reinstall or an update of the kernel to version 681smp?
Hopefully this is a silly question, but have you rebooted?
-- Fedora-desktop-list mailing list Fedora-desktop-list@redhat.com http://www.redhat.com/mailman/listinfo/fedora-desktop-list
Oh boy, this is gonna be a tough one. :-) I had a look on my box as the root and in my /boot directory there are no further subdirectories, or any files named grub or grub.conf for that matter. I did install grub to the MBR, that I remember now. I don't know where my grub.conf file has gone; the file finder simply doesn't find it. I did a bit of searching on the web regarding this issue and one site mentioned an "update-grub" command which is to recreate the grub config file. It's a real shame though Fedora doesn't have that particular file. :-)
So the bottom line here is, I have a system that boots, it has kernel 681 on it (somewhere!), but I don't have the config file for grub. Perhaps there is a grub command that recreates this the config file? (Do I first need to create a folder called "grub" in "/boot"?). Since I did some reading on grub reconfigs, etc. I would also very much like to create a bootable diskette first -- any help on this would also be greatly appreciated. :-)
And, oh BTW, this box is Linux only.
Thanks again, Maurice.
-----Original Message----- From: fedora-desktop-list-bounces@redhat.com [mailto:fedora-desktop-list-bounces@redhat.com] On Behalf Of Frank smith Sent: Sunday, December 26, 2004 5:29 PM To: Discussions about development for the Fedora desktop Subject: RE: [mail] Re: Kernel issues
Hi Just have a look in: /boot/grub/grub.conf and the top kerna showing should boot.
You will need to be root to change this.
Here is mine: ******************************************************************* boot=/dev/hda default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Fedora Core (2.6.9-1.681_FC3) root (hd0,0) kernel /vmlinuz-2.6.9-1.681_FC3 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.9-1.681_FC3.img title Fedora Core (2.6.9-1.667) root (hd0,0) kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.9-1.667.img
************************************************************************
I assume you are using grub. cheers Bob
On Sun, 26 Dec 2004 21:41:14 +0100, M. wrote:
Oh boy, this is gonna be a tough one. :-) I had a look on my box as the root and in my /boot directory there are no further subdirectories, or any files named grub or grub.conf for that matter. I did install grub to the MBR, that I remember now. I don't know where my grub.conf file has gone;
Without the file, GRUB would refuse to boot. So, search differently. In GRUB menu, enter the GRUB command-line mode and use "find /boot/grub/grub.conf" and "find /grub/grub.conf". What do you get?
the file finder simply doesn't find it. I did a bit of searching on the web regarding this issue and one site mentioned an "update-grub" command which is to recreate the grub config file. It's a real shame though Fedora doesn't have that particular file. :-)
So the bottom line here is, I have a system that boots, it has kernel 681 on it (somewhere!), but I don't have the config file for grub. Perhaps there is a grub command that recreates this the config file? (Do I first need to create a folder called "grub" in "/boot"?). Since I did some reading on grub reconfigs, etc. I would also very much like to create a bootable diskette first -- any help on this would also be greatly appreciated. :-)
And, oh BTW, this box is Linux only.
After booting, what do you get for "rpm --query grub"?
Are you sure you installed GRUB and not LILO?
On Sun, 26 Dec 2004 21:48:52 +0100, Michael Schwendt wrote:
-snip-
Just noticed, I should not have replied, because this is not a suitable topic for fedora-desktop-list -- this list is about development and not for user support questions.
Please take this thread to fedora-list: http://www.redhat.com/mailman/listinfo/fedora-list
Hi,
Am Sonntag, 26. Dezember 2004 20:48 schrieb Michael Schwendt:
On Sun, 26 Dec 2004 21:41:14 +0100, M. wrote:
Oh boy, this is gonna be a tough one. :-) I had a look on my box as the root and in my /boot directory there are no further subdirectories, or any files named grub or grub.conf for that matter. I did install grub to the MBR, that I remember now. I don't know where my grub.conf file has gone;
Without the file, GRUB would refuse to boot. So, search differently. In GRUB menu, enter the GRUB command-line mode and use "find /boot/grub/grub.conf" and "find /grub/grub.conf". What do you get?
Shouldn't it be in /etc/grub.conf, not /boot? That's where it is on my machine.
Cheers Stephan
Stephan Matthiesen wrote:
Without the file, GRUB would refuse to boot. So, search differently. In GRUB menu, enter the GRUB command-line mode and use "find /boot/grub/grub.conf" and "find /grub/grub.conf". What do you get?
Shouldn't it be in /etc/grub.conf, not /boot? That's where it is on my machine.
On my machine /etc/grub.conf is a symlink to /boot/grub/grub.conf, so I guess it doesn't really matter which one you're looking for.
What does 'rpm -q kernel' tell you? That should list all installed kernels.
Nils.
Hi *** - kernel-2.6.9-1.681_FC3 -*****
I assume this to be at the top and this is what will boot. I had the same if you see the mail I sent you. I'm confuse that you cant find your grub.conf in boot. You may need to open a terminal and type: [bob@bear ~]$ su - (You should then see) Password: (type you admin pw)
The type: [root@bear ~]# cat /boot/grub/grub.conf ( you should see in FC3)
# 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/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/hda default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Fedora Core (2.6.9-1.681_FC3) root (hd0,0) kernel /vmlinuz-2.6.9-1.681_FC3 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.9-1.681_FC3.img [root@bear ~]#
This what boots the kernal, you are using the same kernal as me.
Just a thought Have you got 1 hard drive and does it have Linux Fedora Core 3 only?
cheers Bob
On Wed, 2004-12-29 at 15:46 +0100, M. wrote:
kernel-2.6.9-1.681_FC3
Without the file, GRUB would refuse to boot. So, search differently. In GRUB menu, enter the GRUB command-line mode and use "find
/boot/grub/grub.conf"
and "find /grub/grub.conf". What do you get?
This is interesting. In grub the first command returns, "Error 15: File not found". The second command does return something more useful, "(hd1,0) (hd2,0)".
I had one hard disk when I did the original install of Linux and later I placed another disk in my computer -- to date I have not been able to use this second disk for anything (well, that is to say it's generating heat but so is the central heating system in my home :-) ).
After booting, what do you get for "rpm --query grub"?
Are you sure you installed GRUB and not LILO?
The rpm query returns, "grub0-.95-3". And yes, I am 100% certain my box is running grub and not LILO (I verified it during the latest boot).
Are you using RedHat update? If so, check the "Ignored" section if it shows up. It could be that it is there, if so uncheck the box/move it--etc..... just once I did a Kernel update and it didn't install. Didn't worry about it as in a day there was a different version that was availible and it installed just fine on my webserver. Why, I never figured out..........one of the mysteries of Linux?? hi-hi Every day is a new learning experience for me, I have only been running the newer versions of Linux for about 8 months (trials of mandrake, gentoo, Debian, Fedora Core 2/3, FreeBSD(too full of cracker tools), but my experience with computers/networking goes back into the early 80's, and the original experience of early Linux kind of turned me off of Linux for 10 years. GUI's are nice, easy to play with, and lots easier to setup networking/firewalls/playgrounds in. Linux has finally come of age! Maturing nicely, and is the upcoming OS of choise in a lot of areas. So Fedora Core 3 score-1 Windoze score-0 But this is being written on an XP computer running Thunderbird--so I am NOT completely weaned off of XP yet--old habits die hard! My Linux Webserver is running 2.6.9-1.681 kernel nicely. Yum nightly updates is enabled, and so far the world is all Christmas Cheer, hackers are kept away, and I have settled on using Fedora Core 3. (mostly) .............steve
M. wrote:
Mathew, Steve,
Thanks for your replies. I am not at all offended or anything by asking if I rebooted. You see, I work as IT professional (MS-Windows) and usually that is my first question, too. :-)
then again you could, if I remember rightly that you use a dual processor, just use this link inside a rpm command (terminal, command line stuff) like #rpm -install -v http://mirror.linux.duke.edu/pub/fedora/linux/core/updates/3/i386/kernel-smp...
if you use the 686 smp kernels (above)
if you use the 586 smp kernels use #rpm -install -v http://mirror.linux.duke.edu/pub/fedora/linux/core/updates/3/i386/kernel-smp...
all above are ONE line commands. or just strip off every thing after the /i386/ and look at the remaining link of http://mirror.linux.duke.edu/pub/fedora/linux/core/updates/3/i386/ before you leap. Also you can do a # man rpm command line to get lots of info on using the "rpm" command. If my memory is like I think it could be, please investigate above links before using them--I just might have gotten your smp kernel needs WRONG. the # thingie is the root "prompt" and doesn't need to be typed in, and of course you need to have root priveleges to do this. enough stating of the probably totally obvious stuff to you, let me know if any of this helps....................(in the world of command line usage, I think it's better to overstate then leave some stuff out that I assume everyone knows --especially for me!!--hi-hi) ..................steve (if you get the "already installed" message try the -update command with rpm---see #man rpm )
desktop@lists.stg.fedoraproject.org