Re: core 6 issues (shutdown problems)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi JJ. Glad you got to shutdown completely using the earlier kernel. You have
obviously done a yum update, and a newer kernel was installed. If you are
using yum for updates, and want to keep the kernel that is shutting down ok,
you need the edit something. Yum as default only keeps 2 kernels, so if you
run yum update again, and there is a yet newer kernel, it will install that,
and remove the oldest one, which in your case is the one you want to keep.

You can change this behaviour by either disabling the plugin, or changing the
number of kernels to save.

Open the CLI, and su to root, open a text editor, go
to /etc/yum/pluginconf.d/installonlyn.conf.

My FC6 one looks like this.

[main]
enabled=0
# this sets the number of package versions which are kept
tokeep=2

I just disable the plugin by just changing "enabled=1 to enabled=0", but you can just change the "tokeep=2" to whatever number you like. 5 might be a good
number. It's possible that the next kernel update from the one that's not
shutting down completely will again shutdown completely, but you can't be
sure, so you want to keep the 2.6.18 one which is doing what you want.

After saving the changes, keep the text editor open, and go
to /boot/grub/grub.conf .  Afew lines down you'll see this.

#boot=/dev/hda
default=3
timeout=30
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title Fedora Core (2.6.10-2.3.legacy_FC2)

I say this, but this is from FC2. The "default" line sets the kernel you want
to boot. Grub starts at "0", so you can change this to "1", then at the
moment it will boot the 2.6.18 kernel that works ok. The "timeout" line I
have already changed. The default is 5 secs, and it's worth changing this to 30, as it gives you a bit more time to make decisions as to which kernel you
want to boot. The next line "splashimage" IIRC is "hiddenimage" on FC5, and
FC6. if you are not seeing the grub menu when you bootup, you can put a "#"
at the start of this line (no double quotes), which will comment out the
line.

Just a few suggestions, so you don't lose your working kernel, along with the
grub stuff.

Nigel.

Btw. I use apt, and synaptic as update managers, so am not involved in this
ptential kernel problem with yum.

Hey Nigel,
thank you for the suggestions, much appreciated.
Jessica.

_________________________________________________________________
Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2bbb&disc=y&vers=925&s=4056&p=5117


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux