From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: bug#36262: cannot install bootloader to root partition Date: Tue, 18 Jun 2019 04:33:22 +0200 Message-ID: <87wohjwrkd.fsf@nckx> References: <87zhmgw35r.fsf@nckx> <5465f5ee143f556ff0c11c11cdd54cc1@disroot.org> <8ac8087c445d45599bb0c00d018242b5@disroot.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51545) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hd3wh-0007Wf-QQ for bug-guix@gnu.org; Mon, 17 Jun 2019 22:34:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hd3wg-0002rr-QC for bug-guix@gnu.org; Mon, 17 Jun 2019 22:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58229) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hd3wg-0002rl-Mc for bug-guix@gnu.org; Mon, 17 Jun 2019 22:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hd3wg-00014a-G5 for bug-guix@gnu.org; Mon, 17 Jun 2019 22:34:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <8ac8087c445d45599bb0c00d018242b5@disroot.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: znavko@disroot.org Cc: 36262@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Znavko, znavko@disroot.org wrote: > I have another laptop (Lenovo G50-30) where Guix works on this=20 > partition layout I've made manually: > > # fdisk -l /dev/sda > ... ^ You removed the most important part, please don't do this on=20 help lists. Still, we can tell that this is an =E2=80=98mbr=E2=80=99 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=20 > swap / Solaris ^^^^^^^^^^^^^^^^^^^^= ^^^ > But all the new installations on other two notebooks with the=20 > same layout do not work. They aren't the same: the one in your screenshot is a completely=20 different =E2=80=98gpt=E2=80=99 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=20 isn't to blame. So you can either: =2D throw away your existing layout and create new MBR disklabel.=20 Your partitioning software will ask you or provide an option=20 somewhere. Since modern partitioning software leaves a huge gap=20 before the first partition, GRUB will nestle cosily into that=20 first unused ~MiB. =2D keep it as GPT (it has some minor features MBR doesn't), and=20 create an additional GPT =E2=80=98BIOS boot partition=E2=80=99 as recomme= nded=20 before. It only needs to be a few 100 KiB, so I use the space=20 before the first partition (=3D before the first megabyte; turning=20 off =E2=80=98alignment=E2=80=99 in your partitioning software). This tin= y=20 partition is for use by GRUB, and GRUB alone: do not format or=20 mount it. Both options work equally well, but you need to choose. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXQhNcgAKCRANsP+IT1Vt eY5GAQDihq5huPir/d8UXaFqLl+GDoLlNz22W+T34x/YX/6CfwD/dBcyQr2QcaN9 CYeRXR6QJce4Lpmj9GL73VlM7YWsggQ= =agdD -----END PGP SIGNATURE----- --=-=-=--