Ask Your Question
1

Missing Kernels after F15->F17 Preupgrade

asked 2012-12-31 02:32:09 -0500

omanda gravatar image

updated 2014-09-28 10:28:21 -0500

mether gravatar image

I upgraded from Fedora 15 to Fedora 17 using PreUpgrade.

After the installation, I ran apt-get --fix-broken install

During this procedure, the computer appeared to freeze, so I rebooted it...

After this, the boot loader is unable to locate the Fedora 17 kernel, and the Fedora 15 kernel is also no where to be found. I checked in my /boot directory--there are no vmlinuz or initrd files here! I tried to locate such files on my drive using find, but there are none.

I am able to run Rescue Mode. I ran grub2-install, but this does not help with the missing kernel files...

I tried the Upgrade option, but I get an error that "No kernel packages were installed on the system."

I am really at a loss what to do! Any help/suggestions would be very very appreciated.

edit retag flag offensive close merge delete

Comments

apt-get --fix-broken install is not appropriate to Fedora, at all. We might be able to work backwards if you can post a link to the ubuntu upgrade guide you were using to upgrade your Fedora installation. Additionally, did you chroot into /mnt/sysimage from rescue mode?

randomuser gravatar imagerandomuser ( 2012-12-31 08:58:00 -0500 )edit

If you're running Fedora, you need to be using yum, not apt-get. You probably want to start off with yum distro-sync, to make sure you have everything you're supposed to and you may also want to use yum to install yumex, a graphical front-end for it. Make sure, of course, to chroot first so the changes end up in the right place.

sideburns gravatar imagesideburns ( 2012-12-31 17:59:00 -0500 )edit

I'm not surprised, as yum requires your network to be up, and I don't think it is in rescue mode. Have you tried booting from a Live CD, and, after making sure networking works, use chroot /mnt/sysimage followed by yum install kernel?

sideburns gravatar imagesideburns ( 2013-01-02 01:05:29 -0500 )edit

So? you don't need rescue mode. As I wrote, you boot from the Live CD and make sure you're on-line. Then you open a terminal, chroot and try using yum. Have you done this? If not, why not?

sideburns gravatar imagesideburns ( 2013-01-02 14:57:40 -0500 )edit

You use dracut. Check man dracut for details.

sideburns gravatar imagesideburns ( 2013-01-02 17:37:17 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-01-01 13:42:23 -0500

  1. Boot into Rescue Mode
  2. chroot /mnt/sysimage
  3. grub2-mkconfig -o /boot/grub2/grub.cfg - This scans for bootable kernels
  4. grub2-install /dev/sda - make sure that you substitute the correct drive here.
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-12-31 02:32:09 -0500

Seen: 322 times

Last updated: Jan 01 '13