Hi Mathieu,

On 5/3/19 10:02, Mathieu Malaterre wrote:
On which machine did this work? I wrote earlier today that the modified
grub-ofpathname does not work on a 11,2 type G5, so the patch seems to
be not generic enough.

Sorry about that. I must say there are way too many emails to read.

Ok, as your mail came right after Adrian's one where he asked about news
for testing grub-ofpathname, it seemed like you were aware.

Could you reply to the Debian bug number so that I can get a clean
view of the issue.

Sure.

Then simply please post the output of:

(1) yaboot/ofpath (the one that works)

``
root@powermac-g5:~# ofpath /dev/sda2
/ht@0,f2000000/pci@9/k2-sata-root@c/@0/@0:2
```

(2) grub-ofpathname (specify if this with my patch)

The `grub-ofpathname` used in the following has your patch included:

```
root@powermac-g5:~# grub-ofpathname /dev/sda2
/ht@0,f2000000/pci@9/k2-sata-root@c/@0:2
```

Using that with `,\grub` added in the NVRAM var `boot-device` does not
boot the machine:

```
root@powermac-g5:~# nvsetenv boot-device
"/ht@0,f2000000/pci@9/k2-sata-root@c/@0:2,\grub"
root@powermac-g5:~# echo $?
0
root@powermac-g5:~# nvram --print-config="boot-device"
/ht@0,f2000000/pci@9/k2-sata-root@c/@0:2,\grub

## Reboot into OF

0 > boot load-size=0 adler32=1

LOAD-SIZE is too small

 ok
0 >
```

Tests were performed on my 11,2 type Power Mac G5.

Cheers,
Frank

Reply via email to