From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-202387-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 4C987158013
	for <garchives@archives.gentoo.org>; Tue,  5 Dec 2023 21:00:29 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0CC732BC044;
	Tue,  5 Dec 2023 21:00:23 +0000 (UTC)
Received: from mout.web.de (mout.web.de [212.227.15.3])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 5A4FC2BC01C
	for <gentoo-user@lists.gentoo.org>; Tue,  5 Dec 2023 21:00:22 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273;
	t=1701810016; x=1702414816; i=peter.bo@web.de;
	bh=Wlz6Ls5YPy2BBaNpVFocu9IEDHK2m0U9vBipgVmEDwk=;
	h=X-UI-Sender-Class:From:To:Subject:Date:In-Reply-To:References;
	b=ogsEQBg1keVO2su3AKfeUs051cbWK5XZ1h/VGCiKGUzG9JyFaUL0DAWxsFYOCYHK
	 8uQty0Pv3y0ZEA6L551HuzynqFB9iSIjRWS/viALB/e4c1LMoRZSW0Sii3Ea3zJYB
	 U3U64YIusgQWXbxhhsww1uANq+dU7WTzBgSg1BbMNyGvFDHiMMxy8mQxkac5o4zLi
	 oC7l/2S6ISiGnWUlxO98YiocqrnX9BclJ85kDUv9cnwG/9krXPFF4oT8Gn5XPDDgW
	 DYrPYKcZ2Eo/QlEpomo/6tDKP125kHXbj2NPA/VIsd+GIcRPQi79e4qV3/vxRog5N
	 TUrJQPAnKQjGVzEc8A==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from sun.localnet ([93.238.13.169]) by smtp.web.de (mrweb006
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MKuKH-1qpV8v0zcb-00LHgj for
 <gentoo-user@lists.gentoo.org>; Tue, 05 Dec 2023 22:00:16 +0100
From: Peter =?ISO-8859-1?Q?B=F6hm?= <peter.bo@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] New installation - not booting
Date: Tue, 05 Dec 2023 22:00:15 +0100
Message-ID: <2912966.e9J7NaK4W3@sun>
In-Reply-To: <eb9c0118-bfa8-ab57-8724-bf8283edf50f@sys-concept.com>
References:
 <3e6e887c-3e65-690a-e647-63be206c1ac0@sys-concept.com>
 <8343659.NyiUUSuA9g@rogueboard>
 <eb9c0118-bfa8-ab57-8724-bf8283edf50f@sys-concept.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="us-ascii"
X-Provags-ID: V03:K1:V3Xpuq9N9N0VcikY48Z10ss/mJC5YFxLvrfWcpcbMuzqe2eK3lO
 jME6djYm2lHEnPXZRCNjLLPjLRmj3CsZwcZ7T36ocfTATzDDAyPpnl5Qn2JzDeR6rEtQiVs
 t84rt1+u/PzC0KAuYshKKvAQiNoUbvvjRjEh1vhBqWbivAUDaxymUNZnWq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wKVLJX14eXci4
 gHJfJmYyg5oKtBZ2ApCD2YplLKM=
X-Archives-Salt: 0b05a890-b37d-4c6f-83d0-ac8f5cf48e82
X-Archives-Hash: 8b9fc4048da33a7fd6021481a283c71d

Am Dienstag, 5. Dezember 2023, 21:07:00 CET schrieb thelma@sys-concept.com=
:
> On 12/5/23 12:35, Michael wrote:
> > On Tuesday, 5 December 2023 18:11:14 GMT thelma@sys-concept.com wrote:
> >> On 12/5/23 10:16, Cara Salter wrote:
> >>> On 12/5/23 12:05, thelma@sys-concept.com wrote:
> >>>> It has been some time since I installed Gentoo.
> >>>> After partitioning, and installing the system after reboot I get ke=
rnel
> >>>> selection from grub and hitting enter, I don't see any text scrolli=
ng
> >>>> on
> >>>> the screen, and I don't see the login screen.
> >>>>
> >>>> I think I install grub in a wrong way.
> >>>> When I mount "boot" content of /boot:
> >>>> ls /boot/
> >>>> EFI
> >>>
> >>> Is your EFI directory /efi or /boot? If it's /efi, then your mountpo=
int
> >>> should be in /boot as is in your /etc/fstab.>
> >>>
> >>>> When I unmount "boot" content of /boot:
> >>>> ls /boot/
> >>>> System.map-6.1.57-gentoo  config-6.1.57-gentoo  grub
> >>>> vmlinuz-6.1.57-gentoo
> >>
> >> The /efi directory was empty
> >> I moved /boot to /boot_backup crated /boot directory again
> >> mount /dev/nvme0n1p1 /boot
> >> run:
> >> grub-install --target=3Dx86_64-efi --efi-directory=3D/boot
> >>
> >> installed kernel by running "make install" by default it install to b=
oot
> >> ( I think). Change fstab from /eft to /boot:
> >> #/dev/nvme0n1p1 /efi      vfat  noauto,noatime  1 2
> >> /dev/nvme0n1p1 /boot      vfat  noauto,noatime  1 2
> >> but now when system boot it can not find any kernel, it just display
> >> "grub"
> >> command on the screen
> >
> > Please read the necessary documentation:
> >
> > https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader
> >
> > Your boot partition is /dev/nvme0n1p1 and its mountpoint is /boot.  Yo=
u
> > must create this partition with the appropriate EFI System type (in gd=
isk
> > use EF00).
> >
> > The /efi directory must be at the top of the /boot partition filesyste=
m,
> > accessible via /boot/efi.
>
> I'm kind of confused at this point.
> Where the kernel files should be copied?  /boot or /efi directory
> - System.map-6.1.57-gentoo
> - config-6.1.57-gentoo
> - vmlinuz-6.1.57-gentoo
>
> In fstab I have:
> /dev/nvme0n1p1 		/efi     	vfat  	 	noauto,noatime
1 2
>
> If /efi is a boot partition I assume the kernel files should be there as
> well; but somehow it doesn't work.
>
> The link you provided instruct user to run:
> grub-mkconfig -o /boot/grub/grub.cfg
>
> When "/dev/nvme0n1p1 is mounted on /efi"
> shouldn't it be:
> grub-mkconfig -o /efi/grub/grub.cfg

No ... anything is alright here:

With grub-install --target=3Dx86_64-efi --efi-directory=3D/efi you will in=
stalle the
first part of grub (grubx64.efi) INTO the ESP:
\efi\gentoo\grubx64.efi
<=3D=3D>
/efi/efi/gentoo/grubx64.efi when you have mounted your ESP to /efi.
(see more with "efibootmgr)

With grub-mkconfig -o /boot/grub/grub.cfg you configure grub - residing IN=
 /
boot/grub  =3D THIS is the second part of grub !!

Maybe read:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/
Boot_kernel_via_UEFI#Prerequisites_for_an_UEFI_boot

(only this chapter; not the next chapter, because it is a guide for instal=
ling
a stub kernel)