Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)
On 2/8/21 12:51 AM, Rick Thomas wrote:
> # ofpathname /dev/sda2
> /ht@0,f2000000/pci@5/k2-sata-root@c/@-1/@0:2
>
> # nvram --print-config=boot-device
> /ht@0,f2000000/pci@5/k2-sata-root@c/@-1/@0:2,\grub
>
> # grub-install --macppc-directory=/boot/grub
> Installing for powerpc-ieee1275 platform.
> Installation finished. No error reported.
>
> # export boot_device=$(nvram --print-config=boot-device)
>
> #nvsetenv boot-device ${boot_device%%\\\\BootX}\\grub
This command does nothing because the boot-device string already
ends in "grub" and not "BootX".
> # nvram --print-config=boot-device
> /ht@0,f2000000/pci@5/k2-sata-root@c/@-1/@0:2,\grub
>
> Still, when I rebooted without the installer CD, I got the folder icon with blinking question mark.
Try:
# nvram --update-config boot-device='/ht@0,f2000000/pci@5/k2-sata-root@c/@-1/@0:2,\\:grub'
or:
# nvsetenv boot-device "/ht@0,f2000000/pci@5/k2-sata-root@c/@-1/@0:2,\\:grub"
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: