On 09/30/2012 09:15 PM, Daniel Kahn Gillmor wrote: > I can get this machine to boot fine with grub 2.00-7 by using the > default "hd" openfirmware alias for its disk. > > however, when i do "grub-install", this sets the boot-device paramter > to something that does not boot properly: > > 0 togrul:~# nvram --print-config=boot-device > hd:4,\powerpc-ieee1275\core.elf > 0 togrul:~# grub-install > Installation finished. No error reported. > 0 togrul:~# nvram --print-config=boot-device > /pci@f2000000/mac-io@17/ata-4@1f000/scsi@0/sd@0,0:4,\powerpc-ieee1275\core.elf > 0 togrul:~#
also, in openfirmware, if i type "devalias hd", i see this (transcribed visually, i hope i didn't botch anything): /pci@f2000000/mac-io@17/ata-4@1f000/disk@0 So the mapping chosen looks right up until the last couple sections. in particular, .../scsi@0/sd@0,0 should be .../disk@0. note that this is a parallel ATA device, but it shows up as /dev/sda under a modern linux kernel due to the modern ata subsystem. perhaps something in grub thinks that /dev/sda must be scsi? (i found this openfirmware command reference helpful in tracking this bit of debugging info down: http://www.firmworks.com/QuickRef.html ) --dkg
signature.asc
Description: OpenPGP digital signature