Bug 433153 - f9 upgrade boot loader not recognised
Summary: f9 upgrade boot loader not recognised
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: NeedsRetesting
Depends On:
Blocks: F9Blocker
TreeView+ depends on / blocked
 
Reported: 2008-02-16 23:19 UTC by cje
Modified: 2008-04-09 03:02 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-09 03:02:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description cje 2008-02-16 23:19:01 UTC
Description of problem:
i upgraded my f8 qemu vm to f9alpha using the DVD image.  during the upgrade it
didn't recognise my (default, grub) boot loader.
i think (pretty sure) the default was not to modify the current loader.  that's
what i chose.
now it's booted into the old kernel, /lib/modules only contains a folder for the
new kernel and /boot isn't mounted.  looks like it's installed the vmlinuz etc
in /boot on the main / partition which is in a logical volume.

Version-Release number of selected component (if applicable):
fedora 9 alpha

Steps to Reproduce:
1. install f8 x86_64 on a qemu vm
2. upgrade to f9 alpha from dvd image
3. accept all defaults
  
Actual results:
can boot old kernel but no modules and no /boot.

Expected results:
not that.  ;-)

Comment 1 cje 2008-02-17 15:10:16 UTC
the actual message is:

"The installer is unable to detect the boot loader currently in us on your system."

the options are "Skip boot loader updating" (default) and "Create new boot
loader configuration".

last time i accepted the default.  now i'm trying again with the "Create new...".

Comment 2 cje 2008-02-17 16:29:50 UTC
using the "Create new boot loader configuration" python crashes at the end of
the installation during "Installing boot loader".  i couldn't save the debug
output but the first line is:

/usr/lib/booty/bootloaderInfo.py, line 759, in writeGrub.

Comment 3 Jesse Keating 2008-04-01 21:30:38 UTC
I do believe we fixed these issues.  We'll need a retest done.

Comment 4 cje 2008-04-04 12:40:41 UTC
okay, well it did correctly detect the current setup and attempted to update it.
 But that caused another crash during "Installing boot loader".  this one has
the following in the details:

posixpath.py line 171, in exists
  st = os.stat(path)
isys.py line 765, in readFSType
bootloaderInfo.py line 65, in syncDataToDisk
bootloaderInfo.py line 637, in runGrubInstall
bootloaderInfo.py line 1077, in upgradeGrub
bootloaderInfo.py line 1099, in write
bootloaderInfo.py line 1215, in write
bootloader.py line 229, in writeBootloader

...

TypeError: coercing to Unicode: need string or buffer, instance found

Local variables in innermost frame:
path: fsentry -- device: sda1  mountpoint: /boot
  fsystem: ext3 format: 0
  ismounted: 1 options: 'defaults'
  label: /boot fsprofile: None


Comment 5 Jeremy Katz 2008-04-04 13:32:09 UTC
That's bug 438830, which was fixed for last week's snapshot

Comment 6 Jesse Keating 2008-04-09 03:02:18 UTC
I've done a bunch of upgrades lately, all worked with bootloader.  Closing this.


Note You need to log in before you can comment on or make changes to this bug.