help-grub
[Top][All Lists]
Advanced

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

Re: Problems booting from large partition


From: Andrei Borzenkov
Subject: Re: Problems booting from large partition
Date: Mon, 11 Apr 2016 17:34:56 +0300

Sorry for late response, it ended in spam folder.

On Tue, Apr 5, 2016 at 5:38 PM, Martijn van Duren
<address@hidden> wrote:
...
> The current layout is as follow:
> gdisk /dev/sda
> GPT fdisk (gdisk) version 0.8.10
>
> Partition table scan:
> MBR: protective
> BSD: not present
> APM: not present
> GPT: present
>
> Found valid GPT with protective MBR; using GPT.
>
> Command (? for help): p
> Disk /dev/sda: 11718705152 sectors, 5.5 TiB
> Logical sector size: 512 bytes
> Disk identifier (GUID): A6BF6D09-C065-482A-89DC-DCDC31E0A40B
> Partition table holds up to 128 entries
> First usable sector is 34, last usable sector is 11718705118
> Partitions will be aligned on 2048-sector boundaries
> Total free space is 4029 sectors (2.0 MiB)
>
> Number Start (sector) End (sector) Size Code Name
> 1 2048 4095 1024.0 KiB EF02
> 2 4096 11523440639 5.4 TiB 8300
> 3 11523440640 11718703103 93.1 GiB 8200
>
> Where sda2 is ext4.
>
> Grub is grub-efi-amd64 2.02~beta2-22,

It does not match. Your partition layout is for legacy BIOS. I assume
that would be grub-pc-bin package, but I do not know Debian grub
packages well enough. If you intend to use EFI for booting you need
EFI System Partition (and do not need BIOS boot partition).

> without any manual modifications
> to /etc/default/grub or any of the other files.
>
> When booting I get the following error:
> error: invalid arch-independant ELF magic.
> Entering rescue mode...

It is hard to tell what happens. Either you have another disk with ESP
or you have some GRUB code in MBR+BIOS boot partition, but do not have
corresponding /boot/grub/i386-pc.



reply via email to

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