top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Yum kernel upgrades don't boot

0 votes
345 views

It appears the when a kernel upgrade is applied by yum, the rebuild of grub2.conf seems to reset the kernel command lines to default, dropping options to use working video and network drivers and stable clocks. Even the vital "nomodeset" option is dropped from the old stanzas in the original grub2.config.

Is this part of the war on using vendor drivers? Booting into a system with an unstable clock, no video even text in runlevel 3, and no working network doesn't make a upgrade easy.

So is dropping the kernel command line options a bug, or deliberate policy?

posted May 19, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes

Neither. When you install a new kernel, the file is rebuilt, using /etc/default/grub as a template. If you need to add something permanently, you need to add it there.

answer May 19, 2013 by anonymous
0 votes

It's actually not. ;) Kernel updates don't run grub2-mkconfig, they use grubby which just copies the last existing entry.

It should re-use the options from the previous top existing kernel. Did you have those options in that kernel entry?

answer May 19, 2013 by anonymous
Similar Questions
+2 votes

Is it OK to remove dnf with yum remove dnf ? will it cause any problems ?

+3 votes

The command yum grouplist does not show all available groups in Fedora 19. I had the same problem
before in CentOS and other versions of Fedora. As an example, I can install

yum groupinstall "Development Libraries"

but yum grouplist does not show such a group. Is that a bug, or am I doing something wrong?

+1 vote

Any idea why yum doesn't show by default from what mirror it is downloading from?

+1 vote

There's one package that I can't get upgraded, and it's driving me up the wall because every time I run an update via yum or yumex, I have to
remember to exclude it: firefox. Here's the results of my latest try:

Transaction check error:
file /usr/lib/firefox/browser/defaults/preferences from install of firefox-22.0-1.fc19.i686 conflicts with file from package firefox-22.0-1.fc17.i686

I tried using swap:
yum swap firefox*.fc17.i686 firefox*fc.19.i686

because the man page said that that was simply a short form of remove/install, but yum interpreted it as an update. Maybe I'll have to download the file and use rpm to do it, but there should be a way to force it via yum.

...