Fedora Linux Support Community & Resources Center
  #1  
Old 25th August 2012, 01:26 PM
Krusadr's Avatar
Krusadr Offline
Registered User
 
Join Date: Oct 2010
Location: Mumbai, India
Posts: 22
linuxfirefox
F16 -> F17 preupgrade grub issue

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]
__________________
uname -a (selective o/p):
Linux 3.7.3-101.fc17.x86_64 #1 SMP x86_64 GNU/Linux
Fedora 17 KDE Spin
Intel Core2 Duo E6300 1.86 GHz, 4 GB DDR2 RAM, nVidia GeForce GTX650 1024 MB, Gigabyte GA-G31M-ES2C (Intel G31 chipset)

Last edited by Krusadr; 25th August 2012 at 02:01 PM. Reason: Update after creating symlink
Reply With Quote
  #2  
Old 10th September 2012, 06:54 PM
Krusadr's Avatar
Krusadr Offline
Registered User
 
Join Date: Oct 2010
Location: Mumbai, India
Posts: 22
linuxfirefox
Re: F16 -> F17 preupgrade grub issue

Solved by finally installing grub2.
__________________
uname -a (selective o/p):
Linux 3.7.3-101.fc17.x86_64 #1 SMP x86_64 GNU/Linux
Fedora 17 KDE Spin
Intel Core2 Duo E6300 1.86 GHz, 4 GB DDR2 RAM, nVidia GeForce GTX650 1024 MB, Gigabyte GA-G31M-ES2C (Intel G31 chipset)
Reply With Quote
Reply

Tags
&gt, >, f16, f17, grub, preupgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Preupgrade without Grub HalosGhost Installation and Live Media 1 1st June 2012 08:46 AM
Preupgrade issue Serian Installation and Live Media 7 31st May 2012 10:40 PM
Preupgrade issue Serian Installation and Live Media 0 29th May 2012 07:47 PM
preupgrade issue kekfe20 Installation and Live Media 1 29th December 2011 11:07 AM
F16_x86 Preupgrade grub issue question nyjetshead Installation and Live Media 1 12th November 2011 04:54 PM


Current GMT-time: 23:19 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat