Bug 494123

Summary: Anaconda fails to install bootloader on PowerPC
Product: [Fedora] Fedora Reporter: W. Michael Petullo <mike>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, pjones, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: ppc   
OS: Linux   
Whiteboard: anaconda_trace_hash:3f9707ce26af55a0bfe72b431d5096188604ece043e83789a2b36c39f520ba97
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-06 14:06:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Attached traceback automatically from anaconda. none

Description W. Michael Petullo 2009-04-04 19:10:04 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.38 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/booty/ppc.py", line 38, in getBootDevs
    retval.append(bl.getDevice().path)
  File "/usr/lib/anaconda/booty/ppc.py", line 45, in writeYaboot
    yabootTarget = string.join(self.getBootDevs(bl))
  File "/usr/lib/anaconda/booty/ppc.py", line 171, in write
    chainList, defaultDev, justConfig)
  File "/usr/lib/anaconda/bootloader.py", line 191, in writeBootloader
    justConfigFile)
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/text.py", line 697, in run
    anaconda.dispatch.gotoNext()
  File "/usr/bin/anaconda", line 1029, in <module>
    anaconda.intf.run(anaconda)
AttributeError: 'str' object has no attribute 'path'

Comment 1 W. Michael Petullo 2009-04-04 19:10:13 UTC
Created attachment 338175 [details]
Attached traceback automatically from anaconda.

Comment 2 W. Michael Petullo 2009-04-04 20:10:38 UTC
After anaconda crashed, I was able to finish the install process by hand:

1. Reboot from the network install disk using "text rescue" kernel arguments.

2. Ask the system to mount the root filesystem when prompted.

3. Ensure root and boot filesystems are mounted R/W.

4. Chroot into root filesystems as instructed by anaconda.

5. Create /etc/yaboot.conf:

boot=/dev/hda2
device=hd:
partition=3
timeout=50
root=/dev/VolGroup/lv_root
read-only
label=linux
   image=/vmlinuz-2.6.29.1-46.fc11.ppc
   initrd=/initrd-2.6.29.1-46.fc11.ppc.img

6. Execute ybin.

7. Reboot.

Comment 3 Chris Lumens 2009-04-06 14:06:50 UTC

*** This bug has been marked as a duplicate of bug 492465 ***