#1028340 grub-ieee1275-bin: grub 2.06-7 faults on SPARC, 2.06-3 does not

Package:
grub-ieee1275-bin
Source:
grub-ieee1275-bin
Description:
GRand Unified Bootloader, version 2 (Open Firmware modules)
Submitter:
Rich Ercolani
Date:
2023-01-10 03:57:17 UTC
Severity:
normal
#1028340#5
Date:
2023-01-09 17:43:29 UTC
From:
To:
Dear Maintainer,

I decided enough was enough and finally went to migrate my Netra T1 from SILO to GRUB.

So I installed grub2 2.06-7, went through the motions, did grub-install --skip-fs-probe --force /dev/sdb1 (/boot - well, a copy of the contents of it mounted there for the moment, the actual one is /dev/sda1...), rebooted...

Executing last command: boot
Boot device: disk1  File and args:
GRUB Illegal Instruction
ok

Cute. So after some tampering and blanking and redoing the disk, it still failed the same way.

I have another SPARC that's booting from GRUB fine, so I stole the disk image from it and tried booting from that, worked great.

Checked, that machine was using 2.06-3. So I grub-installed 2.06-7 again to confirm it broke the same way, grabbed 2.06-3 from snapshot.debian.org, installed it, and did the aforementioned grub-install dance...and it boots great.

- Rich

#1028340#10
Date:
2023-01-10 03:54:24 UTC
From:
To:
Followup:
Doing grub-install if the partition you install to isn't mounted at /boot
produces a nonworking image.
https://www.dropbox.com/s/74grf6t3hy5lp9t/disk%20diff.png?dl=0 is the diff
of the first few hundred lines of output from hexdump of a disk image that
booted (because it was at /boot) and didn't.

So that's neat.

- Rich