UEFI can't see new installation

I'm attempting to install Manjaro Budgie to an NVME drive. This is the only drive in the system. Formatted with a single partition but empty, the drive shows up as an option to boot from in my UEFI setup. After installing Manjaro, it's no longer visible anywhere in UEFI setup. I've got an Asus Prime Z370-A motherboard, Intel Core i5-8600K, and Sabrent rocket 500 GB NVMe drive. Windows installed to the same drive with no problems. Initially I changed no settings in UEFI, but after that didn't work I did load optimized defaults, still with no success.

have you formated the drive to gpt if so then with gparted make 1 st paritition 512 mb fat 32 make it boot/esp the make another paritition root / then home paritition if you want

According to Gparted, that's pretty much what I've got. It says the partition table is GPT. I figured out how to force my way into booting from the NVMe drive using rEFInd on a USB drive, but can't make it install to the NVMe drive in a way my UEFI can see it nor can I find a setting in the UEFI setup that may be interfering.

Current partitions automatically set up by Manjaro installer are as follows

  1. 2 MiB unallocated
  2. 300 MiB fat32 /boot/efi
  3. 476.61 GiB ext4 /
  4. 35.44 MiB unallocated

ok try this I have an nvme gigabyte pcie i have it setup like this
300 MIB FAT 32 /BOOT/EFI
50000 MIB EXT4 /
150000 MIB EXT4 /HOME
TRY THAT I AM SORRY ABOUT THE CAPS BUT MY EYES ARE NOT GOOD TODAY

with USB install manjaro
can you open terminal an reports

inxi -Fxxxz
fdisk -l
lsblk -f
 Host: ron-pc Kernel: 5.2.4-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 9.1.0 Desktop: Xfce 4.13.6 tk: Gtk 3.24.10 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: ASRock model: X570 Taichi serial: <filter> 
  UEFI: American Megatrends v: L1.41 date: 07/05/2019 
Battery:
  Device-1: hidpp_battery_0 
  model: Logitech M720 Triathlon Multi-Device Mouse serial: <filter> 
  charge: 100% (should be ignored) rechargeable: yes status: Discharging 
  Device-2: hidpp_battery_1 model: Logitech K800 serial: <filter> 
  charge: 70% (should be ignored) rechargeable: yes status: Discharging 
CPU:
  Topology: 8-Core model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+ 
  rev: 2 L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 118431 
  Speed: 1715 MHz min/max: 2200/3700 MHz boost: enabled Core speeds (MHz): 
  1: 1716 2: 2410 3: 1757 4: 3002 5: 3026 6: 1537 7: 1968 8: 2609 9: 1908 
  10: 2412 11: 2412 12: 1718 13: 1720 14: 2398 15: 2000 16: 3009 
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
  vendor: ASRock Phantom Gaming X driver: amdgpu v: kernel bus ID: 0d:00.0 
  chip ID: 1002:67df 
  Display: x11 server: X.Org 1.20.5 driver: amdgpu,ati unloaded: modesetting 
  alternate: fbdev,vesa resolution: 2560x1080~60Hz 
  OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.32.0 
  5.2.4-1-MANJARO LLVM 8.0.1) 
  v: 4.5 Mesa 19.1.3 direct render: Yes 
Audio:
  Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 
  vendor: ASRock driver: snd_hda_intel v: kernel bus ID: 0d:00.1 
  chip ID: 1002:aaf0 
  Device-2: AMD Family 17h HD Audio vendor: ASRock driver: snd_hda_intel 
  v: kernel bus ID: 0f:00.3 chip ID: 1022:1457 
  Device-3: Logitech type: USB 
  driver: hid-generic,snd-usb-audio,usbhid,uvcvideo bus ID: 6-3:2 
  chip ID: 046d:085e serial: <filter> 
  Sound Server: ALSA v: k5.2.4-1-MANJARO 
Network:
  Device-1: Intel driver: iwlwifi v: kernel port: N/A bus ID: 06:00.0 
  chip ID: 8086:2723 
  IF: wlp6s0 state: up mac: <filter> 
  Device-2: Intel I211 Gigabit Network vendor: ASRock driver: igb v: 5.6.0-k 
  port: f000 bus ID: 08:00.0 chip ID: 8086:1539 
  IF: enp8s0 state: down mac: <filter> 
Drives:
  Local Storage: total: 1.58 TiB used: 14.06 GiB (0.9%) 
  ID-1: /dev/nvme0n1 vendor: Gigabyte model: GP-ASACNE2512GTTDR 
  size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: ECFMH2.3 
  scheme: GPT 
  ID-2: /dev/sda vendor: Intel model: SSDSC2BW240A4 size: 223.57 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: DC32 scheme: GPT 
  ID-3: /dev/sdb vendor: Intel model: SSDSC2BW240A4 size: 223.57 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: DC32 scheme: GPT 
  ID-4: /dev/sdc vendor: Samsung model: SSD 840 EVO 250GB size: 232.89 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: DB6Q scheme: GPT 
  ID-5: /dev/sdd vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: 2B6Q scheme: GPT 
  ID-6: /dev/sde vendor: Kingston model: SA400S37240G size: 223.57 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: 10D7 scheme: GPT 
Partition:
  ID-1: / size: 48.83 GiB used: 7.03 GiB (14.4%) fs: btrfs dev: /dev/sdb2 
  ID-2: /home size: 174.45 GiB used: 7.03 GiB (4.0%) fs: btrfs 
  dev: /dev/sdb3 
Sensors:
  System Temperatures: cpu: 55.8 C mobo: N/A gpu: amdgpu temp: 42 C 
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 950 
Info:
  Processes: 390 Uptime: 5m Memory: 62.84 GiB used: 1.32 GiB (2.1%) 
  Init: systemd v: 242 Compilers: gcc: 9.1.0 Shell: bash v: 5.0.7 
  running in: xfce4-terminal inxi: 3.0.35 
[grumpy@ron-pc ~]$

Disk /dev/nvme0n1: 476.96 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: GIGABYTE GP-ASACNE2512GTTDR
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F2ADF6ED-DEB8-4011-9C79-78CF46D1F3AB

Device Start End Sectors Size Type
/dev/nvme0n1p1 1050624 103450623 102400000 48.8G Linux filesystem
/dev/nvme0n1p2 103450624 471656447 368205824 175.6G Linux filesystem
/dev/nvme0n1p3 34 1050623 1050590 513M EFI System
/dev/nvme0n1p4 471656448 1000214527 528558080 252G Microsoft basic data

Partition table entries are not in disk order.

Disk /dev/sda: 223.58 GiB, 240057409536 bytes, 468862128 sectors
Disk model: INTEL SSDSC2BW24
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: EE5FB947-FE91-48AF-B672-C1B0E5EF7BE0

Device Start End Sectors Size Type
/dev/sda1 34 616447 616414 301M Microsoft basic data
/dev/sda2 616448 103016447 102400000 48.8G Linux filesystem
/dev/sda3 103016448 468862094 365845647 174.5G Linux filesystem

Disk /dev/sdb: 223.58 GiB, 240057409536 bytes, 468862128 sectors
Disk model: INTEL SSDSC2BW24
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 46D0875B-A550-4346-B3B6-D7AC7C391B09

Device Start End Sectors Size Type
/dev/sdb1 34 616447 616414 301M Microsoft basic data
/dev/sdb2 616448 103016447 102400000 48.8G Linux filesystem
/dev/sdb3 103016448 468862094 365845647 174.5G Linux filesystem

Disk /dev/sde: 223.58 GiB, 240057409536 bytes, 468862128 sectors
Disk model: KINGSTON SA400S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2A9CE7B6-A569-49F5-B506-6B8AC488C790

Disk /dev/sdc: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk model: Samsung SSD 840
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 4DC63BBE-71F9-446F-A942-F117836720FA

Device Start End Sectors Size Type
/dev/sdc1 34 616447 616414 301M Microsoft basic data
/dev/sdc2 616448 103016447 102400000 48.8G Linux filesystem
/dev/sdc3 103016448 488397134 385380687 183.8G Linux filesystem

Disk /dev/sdd: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk model: Samsung SSD 850
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 6CF04152-0005-4EA6-B10A-A0CE6C565208

Device Start End Sectors Size Type
/dev/sdd1 34 1026047 1026014 501M Microsoft basic data
/dev/sdd2 1026048 103426047 102400000 48.8G Linux filesystem
/dev/sdd3 103426048 488397134 384971087 183.6G Linux filesystem

[grumpy@ron-pc ~]$

sda                                                                   
├─sda1
│    vfat         3148-200E                                           
├─sda2
│    btrfs        0d6e147b-bc23-4409-a258-ff92ad5c9368                
└─sda3
     btrfs        4c2ddbeb-a5ad-4884-9d8e-bcbbcfc23913                
sdb                                                                   
├─sdb1
│    vfat         C7C7-4973                             298.8M     1% /boot/efi
├─sdb2
│    btrfs        132fc708-525d-4189-bf15-b8aa52d04f35   41.4G    14% /
└─sdb3
     btrfs        05d92664-39b6-4a62-b7f3-931da76e3f17  166.5G     4% /home
sdc                                                                   
├─sdc1
│    vfat         E39A-3ABB                                           
├─sdc2
│    btrfs        59c0dbdf-19d2-4eef-8cce-fcdc2945d628                
└─sdc3
     btrfs        c253b9ca-35a3-4c99-9dd3-669b218c9827                
sdd                                                                   
├─sdd1
│    vfat         8157-4F18                                           
├─sdd2
│    btrfs        cb23e33c-54dc-4273-9006-8b036ef40f58                
└─sdd3
     btrfs        b727c14d-4361-45a1-8565-e7ce912e62be                
sde                                                                   
sr0                                                                   
nvme0n1
│                                                                     
├─nvme0n1p1
│    ext4         2fc9306f-6a40-4188-9097-548af017c1e0                
├─nvme0n1p2
│    ext4         aa91a628-5250-4673-85e7-e6478934c02e                
├─nvme0n1p3
│    vfat         0634-3205                                           
└─nvme0n1p4
     ntfs         6438AA4631624FAD                                    
[grumpy@ron-pc ~]$ 
System:
  Host: Vengeance Kernel: 4.19.62-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 9.1.0 Desktop: Budgie 10.5 info: budgie-panel wm: budgie-wm 
  dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME Z370-A v: Rev X.0x 
  serial: <filter> UEFI: American Megatrends v: 2201 date: 05/27/2019 
CPU:
  Topology: 6-Core model: Intel Core i5-8600K bits: 64 type: MCP 
  arch: Kaby Lake rev: A L2 cache: 9216 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 43212 
  Speed: 4100 MHz min/max: 800/4300 MHz Core speeds (MHz): 1: 4100 2: 4100 
  3: 4100 4: 4100 5: 4100 6: 4100 
Graphics:
  Device-1: NVIDIA GM204 [GeForce GTX 970] vendor: Micro-Star MSI 
  driver: nvidia v: 430.26 bus ID: 01:00.0 chip ID: 10de:13c2 
  Display: x11 server: X.org 1.20.5 driver: nvidia compositor: budgie-wm 
  resolution: <xdpyinfo missing> 
  OpenGL: renderer: GeForce GTX 970/PCIe/SSE2 v: 4.6.0 NVIDIA 430.26 
  direct render: Yes 
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a2f0 
  Device-2: NVIDIA GM204 High Definition Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:0fbb 
  Device-3: Corsair type: USB driver: hid-generic,snd-usb-audio,usbhid 
  bus ID: 1-5.3.2:6 chip ID: 1b1c:0a14 
  Sound Server: ALSA v: k4.19.62-1-MANJARO 
Network:
  Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: 3.2.6-k 
  port: f000 bus ID: 00:1f.6 chip ID: 8086:15b8 
  IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: e000 
  bus ID: 03:00.0 chip ID: 8086:08b1 
  IF: wlp3s0 state: down mac: <filter> 
Drives:
  Local Storage: total: 491.71 GiB used: 32.32 GiB (6.6%) 
  ID-1: /dev/nvme0n1 model: Sabrent size: 476.94 GiB speed: 31.6 Gb/s 
  lanes: 4 serial: <filter> rev: ECFM12.2 scheme: GPT 
  ID-2: /dev/sda type: USB model: N/A size: 14.77 GiB serial: <filter> 
  rev: PMAP scheme: GPT 
RAID:
  Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0 
  port: f020 bus ID: 00:17.0 chip ID: 8086.2822 rev: N/A 
Partition:
  ID-1: / size: 468.13 GiB used: 32.31 GiB (6.9%) fs: ext4 
  dev: /dev/nvme0n1p2 
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 35 C 
  Fan Speeds (RPM): cpu: 0 gpu: nvidia fan: 34% 
Info:
  Processes: 242 Uptime: 9h 00m Memory: 31.35 GiB used: 3.34 GiB (10.7%) 
  Init: systemd v: 242 Compilers: gcc: N/A Shell: bash v: 5.0.7 
  running in: gnome-terminal inxi: 3.0.35

Running the second command required sudo to see any results.

Disk /dev/nvme0n1: 476.96 GiB, 512110190592 bytes, 125026902 sectors
Disk model: Sabrent                                 
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: A79EFC37-581F-4CDD-85D2-9C8DF17ABA04

Device         Start       End   Sectors   Size Type
/dev/nvme0n1p1   512     77311     76800   300M EFI System
/dev/nvme0n1p2 77312 125017829 124940518 476.6G Linux filesystem

Disk /dev/sda: 14.78 GiB, 15854469120 bytes, 30965760 sectors
Disk model:                 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 4BDA0795-410C-4E11-8640-CFA6CF53ED99

Device     Start   End Sectors Size Type
/dev/sda1   2048 14430   12383   6M EFI System


NAME        FSTYPE LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda                                                                             
└─sda1      vfat   ElTorito FE20-DD95                                           
nvme0n1                                                                         
├─nvme0n1p1 vfat            5B31-742F                             293.5M     2% /boot/efi
└─nvme0n1p2 ext4            ce985106-299a-4ca8-a226-a0ae110bd88d  411.4G     7% /

so its working then

It "works" only if I use a flash drive outfitted with rEFInd to make it boot. The UEFI doesn't even show that drive as a bootable option, but rEFInd does.

thats really weird

try kernel 5.2 and see if that helps

No change. Still need to use the USB. But rEFInd's advanced options do see 5.2 as a bootable option and it does work. So I guess I get to run a newer kernel now, yay?

i guess the only way is to install refind in budgie on the nvme this new stuff is a bit finikie on linux but I have found manjaro and arcolinux to be the most forgiving so good luck mate

can you also report

sudo efibootmgr -v

Might be on to something here. PMAP is how my USB drive shows up in the UEFI.

BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001
Boot0001* UEFI:  PMAP, Partition 1	PciRoot(0x0)/Pci(0x14,0x0)/USB(16,0)/HD(1,GPT,c271db03-317d-44ed-aad3-1a7c34d614c7,0x800,0x305f)..BO

Some BIOS looks only for signed efi files - Windows and Ubuntu has of these types. I've used a SHIMx64.EFI from a Ubuntu-Mate-18 installation, as a workaround for a Dell Latitude 5490.

  1. First install Ubuntu. If it make his own entry on the UEFI BIOS, and boot as well, you are going for the good path.
  2. Then install Manjaro over your Ubuntu installation, take for instance in the previous Ubuntu installation you had:
  • /dev/sda1 ext4 /
  • /dev/sda2 swap
  • /dev/sda3 /boot/efi (Calamares see it has "fat32")
  • /dev/sda4 ext4 /home

In this case, just do the following steps when installing Manjaro in the manual partitioning step:

  • For the first partition, apply format option on / - it has Ubuntu and we don't want it.
  • For the second one, write by your own hand "/boot/efi" as mount point, but no set active to format. Only set active esp and boot flags. Do not "edit" /boot, /var, etc entries. These widgets are read only. Only in the blank dropdown select option you can write "/boot/efi"
  • Let swap untoucched. Whatever.
  • Format /home if you like. I do. It was generated by a Ubuntu, so old conf files could be present. Apps that came with Manjaro use to be a lot more modern. So wipe them.

Final words: Now Manjaro will keep booting in uefi mode, not legacy, as Ubuntu and Windows does. . Let Legacy only on the beggining, when you are starting the installers on pendrives or CDs.

Some times you can add efi files provided by windows and Ubuntu. Again, Ubuntu's SHIMx64.EFI files that can be found on media install. Manjaro provides grubx64.efi y bootx64.efi signed by Linux foundation, but some f*****G companies like Dell doesn't care, nor provides support.

As a curiosity, and I've tested this, you can even point the /boot/efi installation over a efi partition created during a Windows installation on a blank disk. But Windows has to be present on every boot, and cannot be formated as the Ubuntu workaround trick provided here (nobody boot after that!), so the Ubuntu tip is desiderable if you no want to share the disk with no one.

I was two days with this problem, and now have my happy Manjaro working like a charm. Maybe there are better ideas. These are the links are used:

Good luck

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by