Re: jessie powermac yboot: ybin fails [solved]

2018-03-07 Thread John Paul Adrian Glaubitz
On 03/07/2018 08:40 PM, Frank Scheiner wrote:
>> 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.
> 
> IIC, powerpc is only existing in Sid currently.

It is. The only change that happened with powerpc after Jessie was released is
that it the release team disabled the testing migration and hence effectively
ignored it for the next stable release.

Everything else remained unchanged. Packages for powerpc are still built as they
were before. Please note that normally all new packages for any architecture
are built on unstable first. The packages built in unstable just propagate
into testing after a given period of time.

You can continue to use Debian on powerpc as before. You just don't get to have
a stable release at the moment but you must track unstable. However, we are
planning to eventually support Debian testing in Debian Ports. This involves
setting up an instance of a software called Britney which is what is responsible
for migrating packages from unstable to testing.

>> Simply removing the macosx=/dev/hda10 line from yaboot.conf solved the 
>> problem.
>> Ybin simply runs with no visible output. :-D
> 
> So either the double usage of the macosx stanza or the non-existing device is 
> the problem.

The main problem here is that we still haven't migrated from Yaboot to GRUB
on PowerPC Macintoshes :(.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: jessie powermac yboot: ybin fails

2018-03-07 Thread Frank Scheiner

Hi Rick,

On 03/05/2018 04:01 AM, Rick Thomas wrote:

For what it’s worth, here is the /etc/yaboot.conf on my PowerMac G5 that has 
both OSX and Debian Sid


Thanks for the info. I now tried several variations on my Mac mini G4 
and it looks like `ybin` only complains if it cannot translate the value 
of the first macosx stanza to an OF path. If a non-existing device is 
used in a second macosx stanza `ybin` does not complain if the device in 
the first macosx stanza can be translated.


Not sure why it worked for Felix to remove the second stanza then, but 
maybe we can conclude that multiple macosx stanzas in a yaboot.conf are 
wrong.


Cheers,
Frank



Re: jessie powermac yboot: ybin fails [solved]

2018-03-07 Thread Frank Scheiner

On 03/05/2018 01:34 AM, Felix Miata wrote:

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.


IIC, powerpc is only existing in Sid currently.




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.

Simply removing the macosx=/dev/hda10 line from yaboot.conf solved the problem.
Ybin simply runs with no visible output. :-D


So either the double usage of the macosx stanza or the non-existing 
device is the problem.




Re: jessie powermac yboot: ybin fails

2018-03-04 Thread Rick Thomas

On Mar 2, 2018, at 7:51 AM, Felix Miata  wrote:

> Rick Thomas composed on 2018-03-02 04:17 (UTC-0800):
> 
>> 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
> 
>>> 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 SizeFile system Name  Flags
>>> 1  512B32.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 Yabootboot
>>> 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  ext4jessieRoot
>>> 12  31.9GB  40.0GB  8109MB  ext4LinuxHome
> 
>>> # 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@f400/ata-6@d/@1
> 
>> 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.
> 
> boot="/dev/disk/by-id/ata-ST340015A_5LA13M03-part13"
> device=/pci@f400/ata-6@d/@1
> partition=11
> root="UUID=3d6512d0-21d2-410f-bf71-2fb2dbdb94e5"
> timeout=300
> delay=16
> install=/usr/lib/yaboot/yaboot
> magicboot=/usr/lib/yaboot/ofboot
> enablecdboot
> macosx="/dev/disk/by-id/ata-ST340015A_5LA13M03-part10"
> 
> image=/boot/vmlinux
>   label=curKernelShell
>   alias=3
>   read-only
>   initrd=/boot/initrd.img
>   append="splash=0 ipv6.disable=1 net.ifnames=0 noresume vga=791 
> video=1024x768 3"
> 
> image=/boot/vmlinux.old
>   label=prvKernel
>   alias=p
>   read-only
>   initrd=/boot/initrd.img.old
>   append="splash=0 ipv6.disable=1 net.ifnames=0 noresume vga=791 
> video=1280x800"
> 
> image=/boot/vmlinux
>   label=GUIcurKernel
>   alias=5
>   read-only
>   initrd=/boot/initrd.img
>   append="splash=0 ipv6.disable=1 net.ifnames=0 noresume vga=791 
> video=1024x768 5"
> 
> image=/boot/vmlinux
>   label=NoSMP
>   alias=s
>   read-only
>   initrd=/boot/initrd.img
>   append="splash=0 ipv6.disable=1 net.ifnames=0 noresume vga=791 
> video=1024x768 5"
> 
> macosx=/dev/hda10
> -- 
> "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/

For what it’s worth, here is the /etc/yaboot.conf on my PowerMac G5 that has 
both OSX and Debian Sid

rbthomas@kmac:~$ cat /etc/yaboot.conf
## yaboot.conf generated by debian-installer
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
## see also: /usr/share/doc/yaboot/examples for example configurations.
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

boot="/dev/disk/by-id/ata-WDC_WD2500JD-41HBC0_WD-WCAL74658375-part2"
device=/ht@0,f200/pci@5/k2-sata-root@c/@0/@0
partition=3
root="/dev/mapper/kmac--vg-root"
timeout=50
install=/usr/lib/yaboot/yaboot

Re: jessie powermac yboot: ybin fails [solved]

2018-03-04 Thread Felix Miata
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@f400/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/



Re: jessie powermac yboot: ybin fails

2018-03-04 Thread Frank Scheiner

Hi Felix,

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.


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?

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@f400/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`.


Cheers,
Frank



Re: jessie powermac yboot: ybin fails

2018-03-02 Thread Felix Miata
Rick Thomas composed on 2018-03-02 04:17 (UTC-0800):

> 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

>> 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 SizeFile system Name  Flags
>> 1  512B32.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 Yabootboot
>> 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  ext4jessieRoot
>> 12  31.9GB  40.0GB  8109MB  ext4LinuxHome

>> # 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@f400/ata-6@d/@1

> 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.

boot="/dev/disk/by-id/ata-ST340015A_5LA13M03-part13"
device=/pci@f400/ata-6@d/@1
partition=11
root="UUID=3d6512d0-21d2-410f-bf71-2fb2dbdb94e5"
timeout=300
delay=16
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot
macosx="/dev/disk/by-id/ata-ST340015A_5LA13M03-part10"

image=/boot/vmlinux
label=curKernelShell
alias=3
read-only
initrd=/boot/initrd.img
append="splash=0 ipv6.disable=1 net.ifnames=0 noresume vga=791 
video=1024x768 3"

image=/boot/vmlinux.old
label=prvKernel
alias=p
read-only
initrd=/boot/initrd.img.old
append="splash=0 ipv6.disable=1 net.ifnames=0 noresume vga=791 
video=1280x800"

image=/boot/vmlinux
label=GUIcurKernel
alias=5
read-only
initrd=/boot/initrd.img
append="splash=0 ipv6.disable=1 net.ifnames=0 noresume vga=791 
video=1024x768 5"

image=/boot/vmlinux
label=NoSMP
alias=s
read-only
initrd=/boot/initrd.img
append="splash=0 ipv6.disable=1 net.ifnames=0 noresume vga=791 
video=1024x768 5"

macosx=/dev/hda10
-- 
"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/



Re: jessie powermac yboot: ybin fails

2018-03-02 Thread Rick Thomas
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  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 SizeFile system Name  Flags
> 1  512B32.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 Yabootboot
> 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  ext4jessieRoot
> 12  31.9GB  40.0GB  8109MB  ext4LinuxHome
> 
> # 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@f400/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/
>