Friday, September 21, 2012

Upgrade Fedora 16 to 17 using pre-upgrade

The process was quite smooth, as described here -

https://fedoraproject.org/wiki/How_to_use_PreUpgrade

I then hit this (I think that it is expecting grub2)?

https://fedoraproject.org/wiki/How_to_use_PreUpgrade#Upgrade_does_not_install_upon_reboot

I then tried using -

Method 2: Edit the Grub menu.lst File

but hit this error -

dracut Warning: /dev/root does not exist.


and realised the solution was to copy the complete kernel line from the grub2 file /boot/grub2/grub.cfg 
into /boot/grub/grub.conf, as below -

title Fedora Upgrade
root (hd0,4)
kernel /upgrade/vmlinuz preupgrade repo=hd::/var/cache/yum/preupgrade ks=hd:UUID=f83bc73c-070b-4e9a-8f0e-c46b56ec8a5a:/upgrade/ks.cfg stage2=hd:UUID=f83bc73c-070b-4e9a-8f0e-c46b56ec8a5a:/upgrade/squashfs.img
initrd /upgrade/initrd.img
savedefault
boot

Having fixed this, the upgrade went smoothly, and F17 is looking great!

No comments: