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

Re: Any progress with grub-installer?



On 1/7/19 16:35, John Paul Adrian Glaubitz wrote:
On 1/7/19 4:31 PM, John Paul Adrian Glaubitz wrote:
I tried to install GRUB using a ELF boot image:

root@debian:~/grub2# grub-install /dev/vdiska
Installing for sparc64-ieee1275 platform.
grub-install: error: the size of `/boot/grub/sparc64-ieee1275/boot.img' is not 512.
root@debian:~/grub2# ls -l /boot/grub/sparc64-ieee1275/boot.img
-rw-r--r-- 1 root root 816 Jan  7 18:29 /boot/grub/sparc64-ieee1275/boot.img
root@debian:~/grub2#

So, the generated ELF image is too big. No idea yet how to address this.

It does seem to work, however. At least with GPT:


                          GNU GRUB  version 2.02+dfsg1-9

  +----------------------------------------------------------------------------+
  |*Debian GNU/Linux                                                           |


Did you maybe already install the v1 version on this GPT disk?

As both v1 and v2 use the same version number it's not clear if this is one or the other. And maybe the above `grub-install /dev/vdiska` didn't install the v2 version at all. Did it exit with `0`, as it actually reports an "error" and not a "warning"?

Cheers,
Frank


Reply to: