From: Ethan Benson <erbenson@alaska.net>
To: Tom <tdilling@mac.com>
Cc: linuxppc-dev@lists.linuxppc.org, linuxppc-users@lists.linuxppc.org
Subject: Re: yaboot problems (still -- suggestions welcome!)
Date: Wed, 24 May 2000 22:50:02 -0800 [thread overview]
Message-ID: <20000524225002.O383@plato.local.lan> (raw)
In-Reply-To: <392C4F17.61D04687@mac.com>; from tdilling@mac.com on Wed, May 24, 2000 at 05:52:23PM -0400
[-- Attachment #1: Type: text/plain, Size: 3244 bytes --]
On Wed, May 24, 2000 at 05:52:23PM -0400, Tom wrote:
> I've been struggling with it for over a week now, but am still unable to
>
> yaboot (though I think I've made some minimal progress).
>
> I have a G4/500 with linux on a dedicated external scsi drive (Adaptec
> 2906 card).
>
> Per OF, the card corresponds to:
> /pci@f2000000/pci-bridge@d/pci9004,7850@2/@2 (It is device 2 on the
> scsi chain, or at least that's what the back of the hard drive implies.)
>
> pdisk says the bootstrap partition is #2:
> Partition map (with 512 byte blocks) on '/dev/sda'
> #: type name length base ( size )
>
> 1: Apple_UNIX_SVR2 / 7785303 @ 204 ( 3.7G)
> 2: Apple_HFS "bootstrap" 65638 @ 7785507 ( 32.0M)
this is a waste of space, since your swap partition is right below
perhaps you would want to delete them both and create the bootstrap
partition as 800K and the swap partition as 544.
you should at the very least delete it and recreate it with the
correct Apple_Bootstrap partition type, otherwise macos will screw it
up.
> 3: Apple_UNIX_SVR2 swap 1048592 @ 7851145 (512.0M)
> [rest deleted]
>
> Set the relevant line in /boot/ofboot.b (which is cp'd from the
> menu_ofboot.b):
> " Booting Yaboot ..." cr " boot sd:2,yaboot" eval
>
> My /etc/yaboot.conf is as follows:
> --------------
> default=Linux-Stable
>
> ## change to your bootstrap partition ie /dev/hda2
> boot=/dev/sda2
> device=sd:
> timeout=20
> install=/boot/yaboot
> magicboot=/boot/ofboot.b
>
> image=/boot/vmlinux
> label=Linux-Stable
> root=/dev/sda1
> read-only
> partition=2
>
> append= "video=aty128fb:vmode:17;cmode:24"
> -----------------
>
> Now, in OF, when I try to set sd as a devalias, it tells me the nvramrc
> isn't valid. When I printenv, I don't see it showing up anywhere (but
> maybe I don't know what to look for, exactly?).
nvalias is the proper command to create an alias, though i find it
simpler to just enter the full path in yaboot.conf and ofboot.b. that
way you 1) don't have to fsck with OF. and 2) don't have to fsck with
OF if your nvram gets erased.
> When in OF and I try to boot directly by providing the OF path manually,
>
> I get this error:
> method <open> not found ; ihandle=ff9c4980 phandle=ff8a9708 method
> <close> not found ihandle=ff9c4980 phandle=ff8a9708 can't OPEN:
> /pci@f2000000/.... {etc}.
> I don't know what this means or what to do with this information.
> (Anyone have any idea?)
exactly what boot command did you use? it should be as follows:
boot /pci@f2000000/pci-bridge@d/pci9004,7850@2/@2:2,yaboot
you can put that in ofboot.b.
if that is what you used then it looks to me like the scsi card is not
really OF supported, can you boot macos off of it? (if you have macos)
> One last thing: I have managed in the past week to get ybin working (my
> bootstrap was mounted in the mtab).
yes you bootstrap partition should never be mounted anywhere, not in
linux, not in macos. treat it like a bootblock that is all it is.
your kernels belong in your ext2 root filesystem.
--
Ethan Benson
http://www.alaska.net/~erbenson/
[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]
next prev parent reply other threads:[~2000-05-25 6:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-24 21:52 yaboot problems (still -- suggestions welcome!) Tom
2000-05-24 22:11 ` David A. Gatwood
2000-05-25 6:50 ` Ethan Benson [this message]
2000-05-27 17:33 ` ybin and kernel level Michael A. Peters
2000-05-28 3:15 ` Ethan Benson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20000524225002.O383@plato.local.lan \
--to=erbenson@alaska.net \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=linuxppc-users@lists.linuxppc.org \
--cc=tdilling@mac.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).