Skip to contentSkip to conversation

grub-mkimage cannot be found?

DISCUSSION lee shaver 3 participants 3 messages May 19, 2006

lore
Share & tools
lore

lee shaver

author
#0 lore raw

when I run grub-install(configure with --prefix=/usr) on my i386-pc, it report "/usr/sbin/grub-mkimage cannot be found". instead, this file is installed in path "/usr/bin".
In the grub-install script:
grub_mkimage=$(prefix)/sbin/grub-mkimage
but in the files /conf/i386-pc.mk and /conf/i386-pc,rmk:

    bin_UTILITY=grub-mkimage
    sbin_UTILITY=grub-setup....

in the files i386-efi.[r]mk, like this.

so, after I move grub-mkimage from bin_UTILITY to sbin_UTILITY and rebuild it, this error disappeared.

#1 lore raw
Quoted 9 lines · lee shaver

when I run grub-install(configure with --prefix=/usr) on my i386-pc, it report "/usr/sbin/grub-mkimage cannot be found". instead, this file is installed in path "/usr/bin".
In the grub-install script:

   grub_mkimage=$(prefix)/sbin/grub-mkimage
but in the files /conf/i386-pc.mk and /conf/i386-pc,rmk:
     bin_UTILITY=grub-mkimage
     sbin_UTILITY=grub-setup....

in the files i386-efi.[r]mk, like this.

Thank you for your report. I've fixed it right now.

Okuji

#2 lore raw
Quoted 11 lines · Yoshinori K. Okuji
Quoted 9 lines · lee shaver

when I run grub-install(configure with --prefix=/usr) on my i386-pc, it report "/usr/sbin/grub-mkimage cannot be found". instead, this file is installed in path "/usr/bin".
In the grub-install script:

   grub_mkimage=$(prefix)/sbin/grub-mkimage
but in the files /conf/i386-pc.mk and /conf/i386-pc,rmk:
     bin_UTILITY=grub-mkimage
     sbin_UTILITY=grub-setup....

in the files i386-efi.[r]mk, like this.

Quoted 1 line

Thank you for your report. I've fixed it right now.

This also needs fixing up in at least these two places for powerpc.

Regards,
Roger

Signature · 4 lines
Roger Leigh
                Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.