Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71627 - Oldworld Mac PPC BootX config needs to match Yaboot config to boot
Summary: Oldworld Mac PPC BootX config needs to match Yaboot config to boot
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux PPC Installation Guide (show other bugs)
Hardware: PPC Linux
: High blocker (vote)
Assignee: PPC Porters
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard: oldworld
Keywords:
: 82133 (view as bug list)
Depends on:
Blocks: 77203
  Show dependency tree
 
Reported: 2004-11-17 17:37 UTC by Kelly Price
Modified: 2005-04-10 19:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kelly Price 2004-11-17 17:37:25 UTC
In order to boot 2004.3 PPC LiveCD on an OldWorld PPC Mac (PMac 7200 in this case) the config given to BootX must match that of Yaboot's config, or else it will not boot.

To boot with BootX, you must:
1.  Select the G3G4kernel
2.  Make the initrd size at least 32000 (I use 32768)
3.  On the command line, use this:

rw root=/dev/ram0 init=/linuxrc looptype=squashfs cdroot

It'll boot right in.


Reproducible: Always
Steps to Reproduce:
1. Boot using the documented minimalistic "rw init=/linuxrc cdroot"

Actual Results:  
It complains that /linuxrc needs to be called in as init, and trys to boot
another Linux partion.

Expected Results:  
Booted the CD properly.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2004-12-02 09:48:52 UTC
PPC team: two questions, binary :)

*Does* the current instruction, which states:

"""
Select Options and uncheck Used specified RAM disk. When you return to the BootX main screen, you will now find an option to specify your machine's root disk and partition. Fill these in with the appropriate values.
"""

sufficient for a BootX configuration? If not, are the suggested steps:
"""
1.  Select the G3G4kernel
2.  Make the initrd size at least 32000 (I use 32768)
3.  On the command line, use this:
rw root=/dev/ram0 init=/linuxrc looptype=squashfs cdroot
"""
sufficient to fix this?
Comment 2 Kelly Price 2004-12-02 13:34:23 UTC
For booting AFTER finishing the install, and not using genkernel's initrd, you can use a normal "No Init Ramdisk, specify where root is, and any options".  Did that for Slackintosh 8.1 and that went ok.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2004-12-04 01:16:54 UTC
What about genkernel users? 
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2004-12-28 04:14:44 UTC
Not heard anything for a while now. Marking as NEEDINFO.
Comment 5 Kelly Price 2004-12-28 08:37:40 UTC
I haven't tried Genkernel on it (HD on the 7200 is flaky and I need to replace it) but if it's anything like the CD boot system I would say the same would be needed.  More info on Genkernel is needed -- I don't use it even on my Athlon XP system.
Comment 6 Sven Vermeulen (RETIRED) gentoo-dev 2004-12-28 08:59:28 UTC
PPC team, handing over to you guys, I can't do anything about this without extra information.
Comment 7 Andrew Brock 2005-01-04 01:07:29 UTC
System: Powerbook G3 (Wallstreet, Oldworld)

When using a clean system (ie. just a fresh OS8 install on the HD plus the various misc. Apple Driver partitions), the following settings in BootX booted the LiveCD (2004.3 Minimal) with no problems.

Force video settings: on
Use specified Ram Disk: untitled:System Folder:Linux Kernels:initrd.img.gz (copied from the LiveCD)
Kernel: G3G4kernel (copied from the LiveCD)
Ramdisk size: 32000
More kernel arguments: rw init=/linuxrc cdroot looptype=gcloop video=atyfb:1024x768@60

Once a Linux partition is created, using the same settings as above fail to boot the LiveCD anymore, the error described matches that of the first post in this bug.

I ended up with the following settings.

Force video settings: on
Use specified Ram Disk: untitled:System Folder:Linux Kernels:initrd.img.gz (copied from the LiveCD)
Kernel: G3G4kernel (copied from the LiveCD)
Ramdisk size: 32000
More kernel arguments: root=/dev/ram0 init=linuxrc looptype=gcloop cdroot video=atyfb:1024x768@60

ie. Identical to the first post except I had looptype set to gcloop. I'm unaware of the differences of setting the looptype to gcloop vs squashfs, I've tried both and didn't notice any difference.
Comment 8 Joe Jezak (RETIRED) gentoo-dev 2005-03-17 09:00:51 UTC
*** Bug 82133 has been marked as a duplicate of this bug. ***
Comment 9 Joe Jezak (RETIRED) gentoo-dev 2005-04-08 02:01:05 UTC
On my 8500/180 I can boot the 2005.0 LiveCD from BootX with these settings:

cdroot root=/dev/ram0 init=linuxrc loop=livecd.squashfs looptype=squashfs console=tty0 nodevfs udev
I also set up a Ram Drive of 32000K.

Other macs may need specific video settings.  I will go over the documentation and fix this all tomorrow.
Comment 10 Joe Jezak (RETIRED) gentoo-dev 2005-04-10 19:02:01 UTC
Fixed in CVS, thanks for the help getting this fixed!