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

Re: Installation tests with GRUB on GPT disks

On 05/16/2018 02:44 PM, Frank Scheiner wrote:
> Maybe it wasn't created correctly by partman:
> On [1] Eric has a ca. 7 MiB partition between 1 MiB at the beginning of the disk and the remainder of the disk. It's garbled on GitHub, so here it is reformatted:
> ```
> Number Start  End    Size   File system Name      Flags
> 1      1049kB 8389kB 7340kB bios_grub   bios_grub
> 2      8389kB 1151MB 1143MB ext3        boot
> 3      1151MB 600GB  599GB  lvm
> ```
> [1]: https://github.com/esnowberg/grub2-sparc/wiki#installation-instructions-for-sparc-t4-and-above
> During my testing end of February/beginning of March this partition was needed, because otherwise the gpt label was corrupted after grub-install ran IIRC - i.e. similar to what you saw. I don't know the exact size requirements for this partition though, so just rounded up to 10 MiB which worked fine.

Ah, this makes sense. I'll see whether I can add this type manually.

> I submitted a patch ([2]) which adds specific recipes for gpt capable systems which add the additional 10 MiB partition. Partman than creates this partition after the first 1 MiB on the disk in question. The post also contains an alternative approach which might also work (i.e. just extending the sparc recipes).

Yes, there are some things I wanted to test first before adopting the patch.

I don't like it yet as is.


 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply to: