[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)



Hello Rick!

On 2/4/21 4:25 AM, Rick Thomas wrote:
>> You can verify the correct path with:
>>
>> # nvram --print-config=boot-device
>>
>> Can you paste the output here?
> 
> OK, here's the output.
> (...)
> Hope it helps!

It doesn't really help as you didn't provide the output of the command:

	nvram --print-config=boot-device

_after_ setting the boot device.

Please try to understand what the commands do rather than just copying
and pasting. This way you can verify yourself that the bootloader
stored in NVRAM is correct.

The path has to point to the OF path of the disk and partition that
holds the "grub" file.

Assuming that the HFS partition with the GRUB files is on /dev/sda2,
then ofpathname would give you the proper OpenFirmware path:

root@kapitsa:~# ofpathname /dev/sda2
/vdevice/v-scsi@30000002/disk@8400000000000000:2
root@kapitsa:~#

What you want is that "nvram --print-config=boot-device" prints this path
plus the suffix ",\\grub". Thus, the command to set the boot path would be
this in my case:

	nvsetenv bootdevice /vdevice/v-scsi@30000002/disk@8400000000000000:2,\\grub

Of course, the path has to be adjusted to match your machine, i.e. please don't
copy and paste just what I wrote.

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: