Unable to upgrade from Fedora 16 to 17

asked 2013-06-03 12:59:48 -0500

Cerin gravatar image

I tried upgrading a Fedora 16 install to 17 following the "preupgrade" path as outlined here.

I ran:

yum update rpm
yum -y update
yum clean all
yum install preupgrade
preupgrade-cli --assumeyes "Fedora 17 (Beefy Miracle)"

and it ends with the messages:

DEBUG /sbin/grubby --title="Upgrade to Fedora 17 (Beefy Miracle)" --remove-kernel="/boot/upgrade/vmlinuz" --add-kernel="/boot/upgrade/vmlinuz" --initrd="/boot/upgrade/initrd.img" --args="preupgrade repo=hd::/var/cache/yum/preupgrade  ks=hd:UUID=03a499e2-f9e4-4ffd-8060-2bc15a4cb686:/upgrade/ks.cfg stage2=hd:UUID=03a499e2-f9e4-4ffd-8060-2bc15a4cb686:/upgrade/squashfs.img"
error opening /boot/grub/grub.cfg for read: No such file or directory
sh: /sbin/grub: No such file or directory
/bin/echo: write error: Broken pipe
All finished. The upgrade will begin when you reboot.

After I reboot, I do cat /etc/fedora-release which still shows Fedora release 16 (Verne).

Did the upgrade fail, or did the fedora-release file not get updated? How do I resolve this?

edit retag flag offensive close merge delete

Comments

what do you have in /boot ? what about $(which grub) ? The errors are telling and possibly actionable.

randomuser gravatar imagerandomuser ( 2013-06-03 13:57:10 -0500 )edit