Re: yabootconfig fails on B&W G3
On Tue, Jul 16, 2002 at 10:27:30PM -0500, Kent West wrote:
> Chris Tillman wrote:
>
> >>>>>Your /target/etc/yaboot.conf should have something like
> >>>>>
> >>>>>boot=/dev/hde6
> >>>>>device=ide0:
> >>>>>timeout=50
> >>>>>fgcolor=light-cyan
> >>>>>install=/usr/lib/yaboot/yaboot
> >>>>>magicboot=/usr/lib/yaboot/ofboot
> >>>>>macos=/dev/hde14
> >>>>>macosx=/dev/hde15
> >>>>>
> >>>>>image=/vmlinux
> >>>>> label=Linux
> >>>>> read-only
> >>>>> partition=7
> >>>>> root=/dev/hde7
> >>>>>
> >>>>>
> >>>>>
> >>Having taken a break from this issue for a few days, I'm now back at it.
> >>
> >>Since the above suggestions and resulting errors, I have done the
> >>following:
> >>
> >> chroot /target
> >>which gave me a shell with /target as my top level root
> >>
> >> sh-2.05a# mount -t proc proc /proc
> >>
> >>which mounted the proc filesystem. Previous to this step, "ls /proc"
> >>showed no files. Now it shows a normal-looking /proc directory.
> >>
> >> sh-2.05a# ybin -v
> >>
> >>which generated these errors:
> >>
> >>ybin: Finding OpenFirmware device path to '/dev/hde6' . . .
> >>ofpath: Device: /dev/hde not supported
> >>ybin: Unable to find OpenFirmware path for boot=/dev/hde6
> >>ybin: Please add ofboot=<path> where <path> is the OpenFirmware path to
> >> /dev/hde6 to /etc/yaboot.conf
> >>
> >>
> >
> >If you're in the chroot, you need to mount /proc so it can find the nvram
> >
> >chroot /target
> >mount -t proc proc /proc
> >ybin -v
> >
> >Sorry I forgot about that earlier.
> >
> >
> Yeah; as mentioned above, I figured that out today. Still, it's good to
> get verification that I did the right thing.
>
> >>And then pretty much the same error messages for /dev/hde14 and
> >>/dev/hde14.
> >>
> >>
> >>So I then editted /target/etc/yaboot.conf and added the line:
> >> ofboot=cd:6
> >>
> >>
> >
> >that shouldn't be cd:6, in your case I would try ide0:6. What does the
> >rest of
> >your yaboot.conf look like? But first just try mounting /proc.
> >
> >
> >
> Pretty much exactly what you have listed at the top of this message,
> except that macos is on 13 and macosx is on 14 (I reinstalled adn
> repartitioned again and changed things a tiny bit) and I changed the
> "device=" and "fgcolor=" lines.
>
> boot=/dev/hde6
> device=cd:
> timeout=50
> fgcolor=cyan
> install=/usr/lib/yaboot/yaboot
> magicboot=/usr/lib/yaboot/ofboot
> macos=/dev/hde13
> macosx=/dev/hde14
>
> image=/vmlinux
> label=Linux
> read-only
> partition=7
> root=/dev/hde7
>
>
> I used "cd:" instead of "ide0" because I booted into the installation
> from the OpenFirmware prompt using the command "boot cd:14,yaboot"
Man is your system strange, I wonder if it got miswired somehow.
> (partition 14 is mislabled in yaboot.conf above; should be "macstandard"
> or something). Looking at the output of "devalias", "cd" corresponded
> more accurately to "hd" (except on the other controller) than it did to
> "ide0:", as shown here:
>
> Interesting things from "devalias":
> ------------------
>
> ide0 /pci/@d/mac-io/ata-3@20000
> ide1 /pci/@d/pci-ata@1/ata-4@0
> hd /pci/@d/pci-ata@1/ata-4@0/disk@0
> cd /pci/@d/mac-io/ata-3@20000/disk@0
> zip /pci/@d/mac-io/ata-3@20000/disk@1
I'm totally stumped. I think you should forward this to submit@bugs.debian.org
on Package: yaboot to get some expert advice.
--
*------v--------- Installing Debian GNU/Linux 3.0 --------v------*
| <http://www.debian.org/releases/woody/installmanual> |
| debian-imac (potato): <http://debian-imac.sourceforge.net> |
| Chris Tillman tillman@voicetrak.com |
| May the Source be with you |
*----------------------------------------------------------------*
--
To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: