Frank Scheiner composed on 2018-03-04 14:06 (UTC+0100): Thank you!!!
> what Debian release are you actually running and what yaboot version > (shown above yaboot boot prompt) have you installed? I'm running Sid > (just upgraded all packages minutes ago) and yaboot 1.3.17. 1.3.16 on Jessie. I've never discovered any indication anything newer than Jessie was available for a G4. If I s/jessie/stretch/g sources.list, I get 5 errors from apt-get update for failing to find index files. > On 03/02/2018 04:51 PM, Felix Miata 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 > It looks like you have the "macosx=" option twice in your `yaboot.conf` > on top and at the bottom. I'm unsure if this is an issue though. Does > someone with Debian and Mac OS X on their machine know more? > But does `/dev/hda10` really exist on your machine? I remember only having trouble finding helpful docs on trying to customize yaboot.conf. It might have been a pre-sata doc I was working from. sda1-14 exist, but no hda*, and fdisk finds neither, hence my use of parted. Still I'd like to know something that can distinguish or explain sda2-7. > Apart from that I did some testing with `ofpath` and seem to be able to > create a similar behaviour on my Mac mini G4: > > ``` > root@mac-mini:/dev/disk/by-id# ls -la > total 0 > drwxr-xr-x 2 root root 340 Mar 4 13:28 . > drwxr-xr-x 6 root root 120 Mar 4 13:28 .. > [...] > lrwxrwxrwx 1 root root 9 Mar 4 13:29 > ata-SAMSUNG_HM160HC_S12TABCD123456 -> ../../sda > lrwxrwxrwx 1 root root 10 Mar 4 13:29 > ata-SAMSUNG_HM160HC_S12TABCD123456-part1 -> ../../sda1 > lrwxrwxrwx 1 root root 10 Mar 4 13:29 > ata-SAMSUNG_HM160HC_S12TABCD123456-part2 -> ../../sda2 > lrwxrwxrwx 1 root root 10 Mar 4 13:29 > ata-SAMSUNG_HM160HC_S12TABCD123456-part3 -> ../../sda3 > lrwxrwxrwx 1 root root 10 Mar 4 13:29 > ata-SAMSUNG_HM160HC_S12TABCD123456-part4 -> ../../sda4 > lrwxrwxrwx 1 root root 10 Mar 4 13:29 > ata-SAMSUNG_HM160HC_S12TABCD123456-part5 -> ../../sda5 > lrwxrwxrwx 1 root root 10 Mar 4 13:29 > ata-SAMSUNG_HM160HC_S12TABCD123456-part6 -> ../../sda6 > [...] > root@mac-mini:/dev/disk/by-id# ofpath > ata-SAMSUNG_HM160HC_S12TABCD123456-part6 > ofpath: Device: /dev/ata-SAMSUNG_HM is not supported > root@mac-mini:/dev/disk/by-id# ofpath > ./ata-SAMSUNG_HM160HC_S12TABCD123456-part6 > ofpath: Device: /dev/ata-SAMSUNG_HM is not supported > root@mac-mini:/dev/disk/by-id# ofpath > /dev/disk/by-id/ata-SAMSUNG_HM160HC_S12TABCD123456-part6 > ofpath: Device: /dev/ata-SAMSUNG_HM is not supported > [...] > root@mac-mini:/dev/disk/by-id# ofpath > /dev/disk/by-id/ata-SAMSUNG_HM160HC_S12TABCD123456-part1 > ofpath: Device: /dev/ata-SAMSUNG_HM is not supported > root@mac-mini:/dev/disk/by-id# ofpath > /dev/disk/by-id/ata-SAMSUNG_HM160HC_S12TABCD123456 > ofpath: Device: /dev/ata-SAMSUNG_HM is not supported > root@mac-mini:/dev/disk/by-id# ofpath /dev/sda6 > /pci@f4000000/ata-6@d/@0:6 > ``` > So it works with the actual path. Interestingly I have: > ``` > boot="/dev/disk/by-id/ata-SAMSUNG_HM160HC_S12TABCD123456-part2" > ``` > ...in my `/etc/yaboot.conf` and running `ybin` doesn't make an issue for > me although `ofpath` doesn't seem to work with it when specified as > argument. Maybe `ybin` does resolve the symlinkg before feeding the > device path to `ofpath`. > I'd still try to replace the symlink device paths > (`/dev/disk/by-id/[...]`) in your yaboot.conf against the actual device > paths (`/dev/sda?`) or the result from ofpath for the actual device > paths and try again to run `ybin` with the modified `yaboot.conf`. Simply removing the macosx=/dev/hda10 line from yaboot.conf solved the problem. Ybin simply runs with no visible output. :-D -- "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/

