grub-devel
[Top][All Lists]
Advanced

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

Re: grub-probe seems to be having problems


From: Lennart Sorensen
Subject: Re: grub-probe seems to be having problems
Date: Tue, 20 Mar 2012 15:13:02 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Mar 20, 2012 at 08:10:12PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko 
wrote:
> The change in question isn't "non-powerpc", quite the opposite, it
> was to fix the install on powerpc Mac. Just different vendors use
> different boot methods.

Yeah I should have said ibm powerpc.

> Please try this:
> === modified file 'util/grub-install.in'
> --- util/grub-install.in    2012-03-10 11:33:52 +0000
> +++ util/grub-install.in    2012-03-20 19:08:57 +0000
> @@ -764,6 +764,12 @@
>          echo "  dd if=/dev/zero of=${install_device}"
>          exit 1
>              fi
> +        ofpath="`$ofpathname "${install_device}"`" || {
> +        # TRANSLATORS: "device tree path" is the name of the device
> +            # for IEEE1275
> +        gettext_printf "Couldn't find IEEE1275 device tree path for
> %s.\nYou will have to set \`boot-device' variable manually.\n"
> "$dev" 1>&2
> +        exit 1
> +        }
>      fi
> 
>      "$nvsetenv" boot-device "$boot_device" || {

That looks like it will work.

-- 
Len Sorensen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]