Bug 757587

Summary: RuntimeError: Error running grub2-set-default: No such file or directory
Product: [Fedora] Fedora Reporter: Michael Cronenworth <mike>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: anaconda-maint-list, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:991c9c028eabb0ee990f10de9a053db577342afe9bffc1788b8344bef6acf106
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-28 07:00:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb-SjAsOc none

Description Michael Cronenworth 2011-11-28 00:49:04 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: anaconda
kernel:         3.1.0-7.fc16.x86_64
product:        Fedora
reason:         RuntimeError: Error running grub2-set-default: No such file or directory
time:           Sun Nov 27 18:50:52 2011
version:        16

anaconda-tb-SjAsOc: Text file, 360984 bytes

description:
:The following was filed automatically by anaconda:
:anaconda 16.25 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/iutil.py", line 174, in execWithRedirect
:    raise RuntimeError, errstr
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 1661, in write_config
:    stdout="/dev/tty5", stderr="/dev/tty5")
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 995, in write
:    self.write_config(install_root=install_root)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 2123, in writeBootloader
:    anaconda.bootloader.write(install_root=anaconda.rootPath)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 373, in dispatch
:    self.dir = self.steps[self.step].target(self.anaconda)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 241, in go_forward
:    self.dispatch()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1201, in nextClicked
:    self.anaconda.dispatch.go_forward()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/iw/progress_gui.py", line 79, in renderCallback
:    self.intf.icw.nextClicked()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1221, in handleRenderCallback
:    self.currentWindow.renderCallback()
:RuntimeError: Error running grub2-set-default: No such file or directory

Comment 1 Michael Cronenworth 2011-11-28 00:49:12 UTC
Created attachment 537281 [details]
File: anaconda-tb-SjAsOc

Comment 2 Michael Cronenworth 2011-11-28 00:55:35 UTC
I was using preupgrade on a default Fedora 15 box to upgrade it to Fedora 16. This error message is a mystery to me. I've upgraded 3 other machines just like it with preupgrade without a problem.

Comment 3 Michael Cronenworth 2011-11-28 07:00:33 UTC
After a handful of attempts at using preupgrade I had to use yum distrosync and manually install grub2. The machine is now on F16 (and running fine). I guess I'll close this since I have no way to reproduce it now.