Fedora Linux Support Community & Resources Center
  #1  
Old 15th June 2012, 01:36 AM
AlFrugal Offline
Registered User
 
Join Date: Oct 2006
Posts: 168
linuxubuntufirefox
Problem booting anaconda for preupgrade (F16 -> F17)

My PC is dual-boot, F16 and Ubuntu 12.04. Although I mainly run Fedora, Ubuntu's grub2 was automatically placed in my MBR when I did the upgrade from Ubuntu 11.10 to 12.04.

I recently ran preupgrade to upgrade from F16 to F17. When I tried to boot anaconda, the only Fedora entry in my grub2 menu was "Upgrade to Fedora 16 (Verne)". Prior to preupgrade, there were six Fedora 16 entries in my grub2 menu. (After running preupgrade I ran update-grub on Ubuntu to make sure I got the Fedora changes in my grub2 menu).

It appears that grub2 os-prober does not correctly support Fedora's preupgrade.

Can I manually configure grub2 to get a proper menu entry for anaconda? The only alternative I see to this is to use a rescue disk to boot Fedora 16 and reinstall Fedora's grub2 in the MBR.

This is Ubuntu's grub/cfg entry for Fedora:

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Upgrade to Fedora 16 (Verne) (on /dev/sda5)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root f73fce18-90d3-4857-ba43-3ba215859f61
linux /upgrade/vmlinuz preupgrade repo=hd::/var/cache/yum/preupgrade ks=hd:UUID=f73fce18-90d3-4857-ba43-3ba215859f61:/upgrade/ks.cfg
initrd /upgrade/initrd.img
}
### END /etc/grub.d/30_os-prober ###

This is what I believe it should look like:

linux /upgrade/vmlinuz preupgrade repo=hd::/var/cache/yum/preupgrade ks=hd:UUID=blahblah:/upgrade/ks.cfg stage2=hd:UUID=blahblah:/upgrade/squashfs.img
Reply With Quote
  #2  
Old 15th June 2012, 03:52 PM
AlFrugal Offline
Registered User
 
Join Date: Oct 2006
Posts: 168
linuxubuntufirefox
Re: Problem booting anaconda for preupgrade (F16 -> F17)

I got anaconda to boot by adding a custom entry on Ubuntu's grub. On Ubuntu I added to /etc/grub.d/40_custom:

menuentry "Upgrade to Fedora 17 (Beefy Miracle) (on /dev/sda5)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root f73fce18-90d3-4857-ba43-3ba215859f61
linux /upgrade/vmlinuz preupgrade repo=hd::/var/cache/yum/preupgrade ks=hd:UUID=f73fce18-90d3-4857-ba43-3ba215859f61:/upgrade/ks.cfg stage2=hd:UUID=f73fce18-90d3-4857-ba43-3ba215859f61:/upgrade/squashfs.img
initrd /upgrade/initrd.img

I think there is either a bug or a functional limitation in grub2 os-prober
Reply With Quote
Reply

Tags
>, anaconda, booting, f16, f17, preupgrade, problem

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
F13 -F14 using preupgrade anaconda gets error when choosing installation drive FSLLL F14 Development 0 13th September 2010 11:18 AM
Preupgrade--Anaconda cannot find /upgrade/install.img after reboot callejero Installation and Live Media 0 22nd November 2009 12:46 AM
F10 -> F11 preupgrade, anaconda segfaulting Mick.Ohrberg Installation and Live Media 1 25th September 2009 04:50 AM
black screen in preupgrade from fedora 10 on boot (anaconda) j0n!-Sn!p3r Installation and Live Media 1 11th September 2009 06:01 PM
10 to 11 via preupgrade, anaconda bug LeFou Installation and Live Media 0 31st August 2009 03:08 PM


Current GMT-time: 23:25 (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