Hey folks,
I am trying to upgrade from Fedora 16 KDE (details of my system in my sig) to Fedoa 17 using preupgrade.
I ran preupgrade from a rooted shell to see any error messages that might not be shown in GUI, and as I feared, there was one error:
Code:
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=58fdf2c2-4351-4795-927b-8084c75fa9fc:/upgrade/ks.cfg stage2=hd:UUID=58fdf2c2-4351-4795-927b-8084c75fa9fc:/upgrade/squashfs.img"
error opening /boot/grub/grub.cfg for read: No such file or directory
Now, to clarify one thing, I am on legacy grub (grub1) and sort of had a similar problem before :
[SOLVED] Booting into FC16 perfectly fine using grub instead of grub 2
But at that time, preupgrade was able to change my grub config file located at: /etc/grub.conf (which is a symlink of /boot/grub/grub.conf)
Now, I am sitting with preupgrade asking me to reboot to complete upgrade which I know won't happen because of my unchanged boot.conf and because of the above error thrown out on the Konsole.
So, I was cautious while running preupgrade this time round, and it seems to have payed off...
So my options now are:
a) Use this:
Code:
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=58fdf2c2-4351-4795-927b-8084c75fa9fc:/upgrade/ks.cfg stage2=hd:UUID=58fdf2c2-4351-4795-927b-8084c75fa9fc:/upgrade/squashfs.img"
error opening /boot/grub/grub.cfg for read: No such file or directory
and edit my grub.conf manually to insert an entry for upgrading to Fedora 17 with your help,
b) Try to install grub2 (with some help from you wonderful people).
PS: This is my current grub.conf:
Code:
default=0
timeout=5
splashimage=(hd0,8)/grub/splash.xpm.gz
hiddenmenu
title Fedora (3.3.4-1.fc16.x86_64)
root (hd0,8)
kernel /vmlinuz-3.3.4-1.fc16.x86_64 ro root=/dev/mapper/vg_kanad-lv_root rd_LVM_LV=vg_kanad/lv_root rd_LVM_LV=vg_kanad/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-3.3.4-1.fc16.x86_64.img
title Fedora (3.3.2-6.fc16.x86_64)
root (hd0,8)
kernel /vmlinuz-3.3.2-6.fc16.x86_64 ro root=/dev/mapper/vg_kanad-lv_root rd_LVM_LV=vg_kanad/lv_root rd_LVM_LV=vg_kanad/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-3.3.2-6.fc16.x86_64.img
title Fedora (3.3.2-1.fc16.x86_64)
root (hd0,8)
kernel /vmlinuz-3.3.2-1.fc16.x86_64 ro root=/dev/mapper/vg_kanad-lv_root rd_LVM_LV=vg_kanad/lv_root rd_LVM_LV=vg_kanad/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-3.3.2-1.fc16.x86_64.img
title Upgrade to Fedora 16 (Verne)
kernel /upgrade/vmlinuz preupgrade repo=hd::/var/cache/yum/preupgrade ks=hd:UUID=58fdf2c2-4351-4795-927b-8084c75fa9fc:/upgrade/ks.cfg
initrd /upgrade/initrd.img
title Other
rootnoverify (hd0,4)
chainloader +1
Any and all help is gladly appreciated!
Thanks for your time!
UPDATE:
I tried creating a symlink from /boot/grub/grub.conf to /boot/grub/grub.cfg and ran the grubby command which again failed with following output:
Code:
grubby recieved SIGSEGV! Backtrace (6):
/sbin/grubby[0x404fef]
/lib64/libc.so.6(+0x36300)[0x7f22d98de300]
/sbin/grubby[0x4020d7]
/sbin/grubby[0x403c1c]
/lib64/libc.so.6(__libc_start_main+0xed)[0x7f22d98c969d]
/sbin/grubby[0x4042b1]