Web lists-archives.com

Re: jessie powermac yboot: ybin fails




Hi Felix!

You’re more likely to get an answer to this on the powerpc list, so I CC’ed them.

Also, it would be helpful to see what your /etc/yaboot.conf looks like.

Enjoy!
Rick


On Feb 28, 2018, at 1:32 AM, Felix Miata <mrmazda@xxxxxxxxxxxxx> wrote:

> # ybin
> ofpath: Device: /dev/ata-ST is not supported
> ybin: Unable to determine OpenFirmware path for macosx=/dev/disk/by-id/ata-ST340015A_5LA13M03-part10 macosx=/dev/hda10
> ybin: Try specifying the real OpenFirmware path for macosx=/dev/disk/by-id/ata-ST340015A_5LA13M03-part10 macosx=/dev/hda10 in /etc/yaboot.conf
> 
> I tried to add cmdline options via /etc/yaboot.conf, but as above, ybin fails. I've
> looked at https://www.debian.org/ports/powerpc/inst/yaboot-howto/index.en.html#contents
> over and over, and the yaboot.conf and ybin man pages, and cannot figure out which
> partition is the OpenFirmware path that I apparently need to give ybin with the -o
> option. Can anyone see from what follows what it would be, or tell me how to find it,
> or what else I'm missing? Is the partition labeled bootstrap (sda13) the same as the
> OpenFirmware partition?
> 
> # ls -l /dev/disk/by-id/*M03
> lrwxrwxrwx 1 root root 9 Feb 28 03:13 /dev/disk/by-id/ata-ST340015A_5LA13M03 -> ../../sda
> 
> # ls -l /dev/disk/by-label/
> total 0
> lrwxrwxrwx 1 root root 11 Feb 28 04:04 bootstrap -> ../../sda13
> lrwxrwxrwx 1 root root 11 Feb 28 03:13 ST40-OSX -> ../../sda10
> 
> # parted -l /dev/sda
> Model: ATA ST340015A (scsi)
> Disk /dev/sda: 40.0GB
> Sector size (logical/physical): 512B/512B
> Partition Table: mac
> Disk Flags:
> 
> Number  Start   End     Size    File system     Name                  Flags
> 1      512B    32.8kB  32.3kB                  Apple
> 2      32.8kB  61.4kB  28.7kB                  Macintosh
> 3      61.4kB  90.1kB  28.7kB                  Macintosh
> 4      90.1kB  119kB   28.7kB                  Macintosh
> 5      119kB   147kB   28.7kB                  Macintosh
> 6      147kB   410kB   262kB                   Macintosh
> 7      410kB   672kB   262kB                   Macintosh
> 8      672kB   934kB   262kB                   Patch Partition
> 13      934kB   135MB   134MB   hfs             Yaboot                boot
> 10      135MB   20.0GB  19.9GB  hfs+            Apple_HFS_Untitled_1
> 9      20.0GB  20.9GB  900MB   linux-swap(v1)  swap                  swap
> 11      20.9GB  31.9GB  11.0GB  ext4            jessieRoot
> 12      31.9GB  40.0GB  8109MB  ext4            LinuxHome
> 
> # blkid /dev/sda1
> /dev/sda1: PARTLABEL="Apple"
> # blkid /dev/sda2
> /dev/sda2: PARTLABEL="Macintosh" # &3-7
> # blkid /dev/sda8
> /dev/sda8: PARTLABEL="Patch Partition"
> 
> # ofpath /dev/sda
> /pci@f4000000/ata-6@d/@1
> -- 
> "Wisdom is supreme; therefore get wisdom. Whatever else you
> get, get wisdom." Proverbs 4:7 (New Living Translation)
> 
> Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
> 
> Felix Miata  ***  http://fm.no-ip.com/
>