GNU bug report logs - #36262
cannot install bootloader to root partition

Previous Next

Package: guix;

Reported by: znavko <at> disroot.org

Date: Mon, 17 Jun 2019 11:26:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: znavko <at> disroot.org
Cc: 36262 <at> debbugs.gnu.org
Subject: bug#36262: cannot install bootloader to root partition
Date: Tue, 18 Jun 2019 04:33:22 +0200
[Message part 1 (text/plain, inline)]
Znavko,

znavko <at> disroot.org wrote:
> I have another laptop (Lenovo G50-30) where Guix works on this 
> partition layout I've made manually:
>
> # fdisk -l /dev/sda
> ...

^ You removed the most important part, please don't do this on 
help lists.

Still, we can tell that this is an ‘mbr’ layout:

> Device     Boot     Start       End   Sectors   Size Id Type
> /dev/sda1            2048 230000000 229997953 109.7G 83 Linux
> /dev/sda2       230000640 234441647   4441008   2.1G 82 Linux 
> swap / Solaris
                                                      ^^^^^^^^^^^^^^^^^^^^^^^

> But all the new installations on other two notebooks with the 
> same layout do not work.

They aren't the same: the one in your screenshot is a completely 
different ‘gpt’ layout.

Hence my unanswered question:

> Did you create this layout manually? If so, why?

Although now I suspect there was no reason and that the installer 
isn't to blame.

So you can either:

- throw away your existing layout and create new MBR disklabel. 
 Your partitioning software will ask you or provide an option 
 somewhere.  Since modern partitioning software leaves a huge gap 
 before the first partition, GRUB will nestle cosily into that 
 first unused ~MiB.

- keep it as GPT (it has some minor features MBR doesn't), and 
 create an additional GPT ‘BIOS boot partition’ as recommended 
 before.  It only needs to be a few 100 KiB, so I use the space 
 before the first partition (= before the first megabyte; turning 
 off ‘alignment’ in your partitioning software).  This tiny 
 partition is for use by GRUB, and GRUB alone: do not format or 
 mount it.

Both options work equally well, but you need to choose.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 361 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.