Gentoo Archives: gentoo-user

From: Andrea Conti <alyf@××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] BIOS can not find boot partition
Date: Sun, 24 Jan 2021 20:27:49
Message-Id: c99c33c3-e5ad-7d75-a9a7-66d04dbba203@alyf.net
In Reply to: [gentoo-user] BIOS can not find boot partition by thelma@sys-concept.com
1 Hello,
2
3 > I don't want to use EFI.
4
5 Then you probably should not be attempting to boot off an NVMe drive, as that is only possible if the drive has an onboard BIOS-mode boot ROM; AFAIK those are only found on some of the earliest NVMe drives.
6
7 Moreover...
8
9 > grub-install /dev/nvme0n1p2
10 > Installing for x86_64-efi platform.
11
12 You are installing GRUB in EFI mode. My guess is that it's because you're running the command from a system that was booted in EFI mode, so grub-install picks EFI by default.
13 For BIOS you want the 'i386-pc' platform, and you _must_ install GRUB to the block device itself (/dev/nvme0n1)
14
15 And once again, whether or not you'll be able to boot from that is very much open to debate.
16
17 > Am I suppose to put any file system on /dev/nvme0n1p1 (2Mb partition) the installation manual did not mention anything.
18
19 That partition is only there to reserve space for the initial stages of GRUB when BIOS-booting from a GPT disk. It does not need to be formatted or mounted, and as long as it has the proper flags grub-install should be able to pick it up on its own.
20
21 andrea