[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ieee1275: Include a.out header in assembly of sparc64 boot l
From: |
John Paul Adrian Glaubitz |
Subject: |
Re: [PATCH] ieee1275: Include a.out header in assembly of sparc64 boot loader |
Date: |
Mon, 25 Mar 2019 20:21:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.2 |
On 3/25/19 5:20 PM, Eric Snowberg wrote:
> I tried it out, but on my system it doesn’t fit in the 512 byte block? Am I
> missing something?
>
> Before the patch:
>
> $ grub-install --force --skip-fs-probe /dev/sdb1
> Installing for sparc64-ieee1275 platform.
> grub-install: warning: Attempting to install GRUB to a partitionless disk or
> to a partition. This is a BAD idea..
> grub-install: warning: Embedding is not possible. GRUB can only be installed
> in this setup by using blocklists. However, blocklists are UNRELIABLE and
> their use is discouraged..
> Installation finished. No error reported.
>
> $ ls -al /boot/grub/sparc64-ieee1275/boot.img
> -rw-r--r--. 1 root root 512 Mar 25 12:13 /boot/grub/sparc64-ieee1275/boot.img
>
> After:
>
> $ grub-install --force --skip-fs-probe /dev/sdb1
> Installing for sparc64-ieee1275 platform.
> grub-install: error: the size of `/boot/grub/sparc64-ieee1275/boot.img' is
> not 512.
>
> $ ls -al /boot/grub/sparc64-ieee1275/boot.img
> -rw-r--r--. 1 root root 544 Mar 25 12:10 /boot/grub/sparc64-ieee1275/boot.img
Could you tell me what build environment this is?
Is this on Solaris? I want to try reproducing it, so I can figure what happened.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - address@hidden
`. `' Freie Universitaet Berlin - address@hidden
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913