Gentoo Archives: gentoo-user

From: peter@××××××××××××.uk
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] NVMe drive and grub
Date: Fri, 08 Apr 2016 15:32:19
Message-Id: Zen-1aoYOH-000GmA-Pm@smarthost01a.mail.zen.net.uk
1 Poison BL. <poisonbl@×××××.com> wrote :
2
3 > On Fri, Apr 8, 2016 at 8:21 AM, Peter Humphrey peter@××××××××××××.uk>
4 > wrote:
5 > > On Thursday 07 April 2016 17:56:55 Jeremi Piotrowski wrote:
6 > >> What is in your grub.conf? Have you thought about adding an
7 > >> initramfs and letting it drop you to its rescue shell so that you can
8 > >> investigate?
9 > >
10 > > Grub.cfg looks all right to me: at least, it does include a sensible root=
11 > > value.
12 > >
13 > > I never see a grub screen - it just starts the current kernel. I did
14 > wonder
15 > > about an initramfs and I'm trying it now. I've also followed Remy's advice
16 > > and used gentoo-sources-4.4.6.
17 > >
18 > > So far I've spent about 30 hours scratching my head, clutching at straws
19 > and
20 > > going round in circles. I'm getting dizzy. :-)
21 > >
22 > > --
23 > > Rgds
24 > > Peter
25 >
26 > So, you have Grub setup to give a menu, pause, or at least do
27 > something visible, and it's skipping right past that? That makes me
28 > suspect that Grub's not running at all, and that the kernel's being
29 > loaded by UEFI directly.
30
31 Ah! Now why didn't I think of that?
32
33 > What files are in /boot/ on your efi partition (preferably identified
34 > with the file command)?
35
36 # file /boot/*
37 /boot/config-4.4.6-gentoo: Linux make config build file, ASCII text
38 /boot/efi: directory
39 /boot/grub: directory
40 /boot/initramfs-genkernel-x86_64-4.4.6-gentoo: XZ compressed data
41 /boot/System.map-4.4.6-gentoo: ASCII text
42 /boot/vmlinuz-4.4.6-gentoo: Linux kernel x86 boot executable bzImage, version 4.4.6-gentoo (root@sysresccd) #7 SMP Fri Apr 8 15:51:24 BST 201, RO-rootFS, swap_dev 0x5, Normal VGA
43
44 # file /boot/efi/boot/*
45 /boot/efi/boot/bootx64.efi: Linux kernel x86 boot executable bzImage, version 4.4.6-gentoo (root@sysresccd) #7 SMP Fri Apr 8 15:51:24 BST 201, RO-rootFS, swap_dev 0x5, Normal VGA
46
47 > If you have a kernel in there named bootx64.efi, that's likely the culprit.
48
49 That's what it's supposed to look like, isn't it?
50
51 (I'm using web-mail after booting sysresccd.)

Replies

Subject Author
Re: [gentoo-user] NVMe drive and grub "Poison BL." <poisonbl@×××××.com>