Bug 497745 - fails to install boot loader on ppc
Summary: fails to install boot loader on ppc
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: powerpc
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: NEEDSRETESTING
Depends On:
Blocks: F11AnacondaBlocker
TreeView+ depends on / blocked
 
Reported: 2009-04-26 19:52 UTC by Dave Jones
Modified: 2015-01-04 22:30 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-21 20:41:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
anaconda log (55.51 KB, text/plain)
2009-05-13 15:15 UTC, Dave Jones
no flags Details

Description Dave Jones 2009-04-26 19:52:00 UTC
on an old imac g3, I managed to get all the way through the install successfully, but when it rebooted, it cycles between displaying a picture of a folder with a question mark in it, then a picture of the smiling mac icon.

not installing the bootloader correctly perhaps?
I don't know enough about the ppc boot process to diagnose further.

Comment 1 Dave Jones 2009-04-26 20:14:19 UTC
maybe related?

I booted the installer again, and took a look at the partition table with fdisk.
It looks like this..

hda1 start=1 end=1
hda2 start=1 end=26
hda3 start=26 end=9729

aren't those start's off by one?

It also prints "partition does not end on a cylinder boundary" which may mean something?

Comment 2 Chris Lumens 2009-05-08 14:44:08 UTC
Is this still a problem?  I did a test with the latest build and it boots up fine.  Unfortunately, I didn't test before fixing the partition map bug in anaconda so I don't know that I was ever able to reproduce it.  Still, it's worth you giving it another try.  You'll need a tree with anaconda .51 in it.

Comment 3 Tom Lane 2009-05-08 22:01:23 UTC
FWIW, it seems to work okay for me with today's rawhide (anaconda 11.5.0.51).  I had previously seen a crash while trying to install the bootloader on this same machine; it looked to me like this might be another manifestation of the partition map confusion.

Comment 4 Chris Lumens 2009-05-11 14:08:41 UTC
Thanks for confirming.

Comment 5 Dave Jones 2009-05-13 15:14:05 UTC
Still a problem for me. Logs to follow.

Comment 6 Dave Jones 2009-05-13 15:15:28 UTC
Created attachment 343788 [details]
anaconda log

Comment 7 Chris Lumens 2009-05-14 17:33:49 UTC
This is a consequence of bug 499724.  I bet if you look in /mnt/sysimage/dev, you'll see that there's not really anything there - certainly nothing of help when writing out bootloaders.  So, this should be fixed in anaconda-11.5.0.52-1.

Comment 8 Chris Lumens 2009-05-14 17:56:58 UTC
That should be bug 499742, sorry.

Comment 9 Dave Jones 2009-05-19 00:24:02 UTC
still no joy. symptoms exactly the same.

Comment 10 Patrick Barnes 2009-05-20 10:16:14 UTC
What color is the G3?  Might this be #162046 still causing problems?

Comment 11 Patrick Barnes 2009-05-20 10:32:50 UTC
To elaborate, I know that bug 162046 was still a problem in Fedora 10, and the fix described in that bug did get the system booting after the install.  I have not had the opportunity to test F11.

At bootup, hit Cmd-Opt-O-F (Mac keyboard) to boot OpenFirmware.  Once you reach the OpenFirmware prompt, enter the following:

 boot hd:2,\\yaboot

If that successfully boots the system, then (1) this is the same issue and (2) you can run the following as root to get a semi-permanent fix (until you update the kernel):

 ybin -o hd:2

I do not have a fix for the bug, but hopefully this workaround is enough to point somebody in the right direction.

Comment 12 Chris Lumens 2009-05-21 18:04:30 UTC
As we discovered, the problem here is that the disk contains an msdos disklabel due to being initialized with fdisk, which the imac firmware is unable to boot from.  I'll handle this report as anaconda should be checking things like this and erroring out on them, rather than silently continuing leaving you to wonder what happened.

Comment 13 Chris Lumens 2009-05-21 20:41:34 UTC
Pushed a fix to HEAD.  This will be in rawhide, but not F11.


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