On Mon, Feb 11, 2008 at 11:32:28PM -0400, Zoho Vignochi wrote:
> Package: grub-ieee1275
> Version: 1.96+20080210-1
> Severity: important
> 
> grub-mkdevicemap ends without a failure notice but the file writes a 
> device.map with "No aliases found"
> [...]
> 
> *********************** BEGIN /boot/grub/device.map
> (No aliases found.)   /dev/hda
> (No aliases found.)   /dev/sda
> *********************** END /boot/grub/device.map

Please could you try the attached patch in combination with latest
grub-ieee1275?

This patch will make grub-mkdevicemap generate dummy entries (but this time,
unique ones).  Even if they are meaningless to OFW (they're BIOS-style,
hd0, hd1, etc), they should allow grub-probe to handle these drives internally.

Starting with 1.96+20080531-1 (now in sid), it shouldn't be a problem that
these drives don't exist in OFW, as long as you use a filesystem where UUIDs
are supported (which you do).

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)
diff -x configure -x config.h.in -x CVS -x '*~' -x '*.mk' -urp ../grub2/conf/powerpc-ieee1275.rmk ./conf/powerpc-ieee1275.rmk
--- ../grub2/conf/powerpc-ieee1275.rmk	2008-05-30 12:41:54.000000000 +0200
+++ ./conf/powerpc-ieee1275.rmk	2008-05-31 13:45:26.000000000 +0200
@@ -40,7 +40,7 @@ grub_mkimage_SOURCES = util/elf/grub-mki
 
 # For grub-mkdevicemap.
 grub_mkdevicemap_SOURCES = util/grub-mkdevicemap.c util/misc.c		\
-	util/ieee1275/get_disk_name.c
+	util/i386/get_disk_name.c
 
 # For grub-emu
 util/grub-emu.c_DEPENDENCIES = grub_emu_init.h

Reply via email to