You are not logged in.

#1 2026-11-15 14:27:46

Seventy77seven
Member
Registered: 2026-11-15
Posts: 4

New Install OS can not find EFI System Partition

I can not figure this out.  Please help.
I can not boot into the system after installation.  Some installs it comes up with a black screen after some print.  Sometimes it goes directly to bios.  Essentially I believe that the OS can not find the EFI.  fdisk does not seem to recognize that the format of the partition is FAT 32. 

I have been formatting and mounting with the following commands in the following order...

# mkfs.ext4 /dev/nvme0n1p3
# mkswap /dev/nvme0n1p2
# mkfs.fat -F 32 /dev/nvme0n1p1
# mount /dev/nvme0n1p3 /mnt
# mkdir /mnt/boot
# mount /dev/nvme0n1p1 /mnt/boot
# swapon /dev/nvme0n1p2

Here is the output from the what I understand are the relevant commands...

root@archiso ~ # arch-chroot -S /mnt
[root@archiso /]# lsblk -f

NAME        FSTYPE   FSVER            LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0       squashfs 4.0
sda         iso9660  Joliet Extension ARCH_202611 2026-11-01-08-42-25-00
|-sda1      iso9660  Joliet Extension ARCH_202611 2026-11-01-08-42-25-00
`-sda2      vfat     FAT32            ARCHISO_EFI 6AE6-FB71
nvme0n1
|-nvme0n1p1 vfat     FAT32                        59AD-0E3F                             833.7M    18% /boot
|-nvme0n1p2 swap     1                            b23eb951-51e0-4301-80af-e3bdb8808a1a                [SWAP]
`-nvme0n1p3 ext4     1.0                          65414fef-d3fd-402f-b7fb-6f1aae9cfef6  877.4G     1% /

[root@archiso /]# fdisk -l

Disk /dev/nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: SAMSUNG MZAL81T0HFLB-00BL2
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: A6F3A0AC-9EBA-41C1-8A20-60B9EB19C024

Device            Start        End    Sectors   Size Type
/dev/nvme0n1p1     2048    2099199    2097152     1G Linux filesystem
/dev/nvme0n1p2  2099200   16779263   14680064     7G Linux filesystem
/dev/nvme0n1p3 16779264 2000408575 1983629312 945.9G Linux filesystem


Disk /dev/sda: 7.21 GiB, 7746879488 bytes, 15130624 sectors
Disk model: STORE N GO
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: dos
Disk identifier: 0x570787ea

Device     Boot   Start     End Sectors  Size Id Type
/dev/sda1  *         64 2350079 2350016  1.1G  0 Empty
/dev/sda2       2350080 2573311  223232  109M ef EFI (FAT-12/16/32)


Disk /dev/loop0: 1.02 GiB, 1094705152 bytes, 2138096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[root@archiso /]# bootctl install

Running in a chroot, enabling --graceful.
Couldn't find EFI system partition, skipping.

[root@archiso /]# efibootmgr -u

BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0001,2001,2002,2003
Boot0000* EFI USB Device (VerbatimSTORE N GO)   UsbWwid(18a5,302,0,900079FE117B175)/CDROM(1,0x23dc00,0x36840)䍒
Boot0001* GRUB  HD(1,GPT,0f0c9f98-e6f4-4b0b-8955-0568af9b8c4a,0x800,0x200000)/\EFI\GRUB\grubx64.efi
Boot2001* EFI USB Device        䍒
Boot2002* EFI DVD/CDROM 䍒
Boot2003* EFI Network 

Based off the research from other related posts on this forum I suspect the problem lies in the fdisk -l output in the "TYPE" column for nvme0n1p1 where it is labeled "Linux filesystem".  I believe it should say " EFI " 

[root@archiso /]# bootctl --path=/boot install

Running in a chroot, enabling --graceful.
File system "/dev/nvme0n1p1" has wrong type for an EFI System Partition (ESP).

[root@archiso /]# find /boot -iname '*efi'

/boot/grub/x86_64-efi
/boot/grub/x86_64-efi/core.efi
/boot/grub/x86_64-efi/grub.efi
/boot/EFI
/boot/EFI/GRUB/grubx64.efi

btw

1 root@archiso ~ # cat /sys/firmware/efi/fw_platform_size

64

Last edited by Seventy77seven (2026-11-17 11:15:55)

Offline

#2 2026-11-15 17:23:27

twig
Member
Registered: 2025-09-25
Posts: 11

Re: New Install OS can not find EFI System Partition

Hi

Yes, I also suspect that is the issue. Can you try to change the partition type GUID from the ISO?

sfdisk --part-type /dev/nvme0n1 1 uefi

I hope it helps!

Offline

#3 2026-11-15 19:24:27

cryptearth
Member
Registered: 2024-02-03
Posts: 2,431

Re: New Install OS can not find EFI System Partition

https://wiki.archlinux.org/title/Systemd-boot
also - please use code tags and update your post in this regard

Last edited by cryptearth (2026-11-15 19:24:45)

Offline

#4 2026-11-16 13:49:31

Seventy77seven
Member
Registered: 2026-11-15
Posts: 4

Re: New Install OS can not find EFI System Partition

Thank you for your suggestion, twig.  I entered the code and it did indeed change  nvme0n1p1 Type to EFI System from Linux Filesystem

root@archiso ~ # sfdisk --part-type /dev/nvme0n1 1 C12A7328-F81F-11D2-BA4B-00A0C93EC93B
root@archiso ~ # mkfs.fat -F 32 /dev/nvme0n1p1
[root@archiso /]# fdisk -l

Disk /dev/nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: SAMSUNG MZAL81T0HFLB-00BL2
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: A6F3A0AC-9EBA-41C1-8A20-60B9EB19C024

Device            Start        End    Sectors   Size Type
/dev/nvme0n1p1     2048    2099199    2097152     1G EFI System
/dev/nvme0n1p2  2099200   16779263   14680064     7G Linux filesystem
/dev/nvme0n1p3 16779264 2000408575 1983629312 945.9G Linux filesystem

However, when I try to mount I get an error...

root@archiso ~ # mount /dev/nvme0n1p1 /mnt/boot

mount: /mnt/boot: mount point does not exist.
       dmesg(1) may have more information after failed mount system call.

btw-- How do you format your blocks of code?

Last edited by Seventy77seven (2026-11-17 11:17:22)

Offline

#5 2026-11-16 14:04:41

cryptearth
Member
Registered: 2024-02-03
Posts: 2,431

Re: New Install OS can not find EFI System Partition

Seventy77seven wrote:

btw-- How do you format your blocks of code?

https://bbs.archlinux.org/help.php

Offline

#6 2026-11-16 16:59:54

twig
Member
Registered: 2025-09-25
Posts: 11

Re: New Install OS can not find EFI System Partition

So, you probably forgot to mount root first. Try:

sfdisk --part-type /dev/nvme0n1 2 swap
mount /dev/nvme0n1p3 /mnt
mkdir -p /mnt/boot
mount /dev/nvme0n1p1 /mnt/boot
swapon /dev/nvme0n1p2
genfstab -U /mnt > /mnt/etc/fstab

Also, when you ran mkfs.fat again, you wiped the ESP, which held your kernel, initramfs, and GRUB files. You need to reinstall the kernel and the bootloader (assuming you want use GRUB):

arch-chroot /mnt
pacman -S linux linux-firmware
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg

Then exit, unmount everything, and reboot.

Offline

#7 2026-11-16 20:48:15

euromatlox
Member
Registered: 2017-02-10
Posts: 164

Re: New Install OS can not find EFI System Partition

Look Arch documentation about GRUB.
Find word --removable.

The EFI file name (most probably) must be BOOTX64.EFI and location also correct.

That's how I solved a boot issue on MSI Z170A Pro motherboard recently.
I think it's a BIOS issue somehow, but since 'removable' does the trick, no problem.

So you must use grub-install with that switch --removable included.

grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB --removable

(edit to suit your system)

That should install /boot/EFI/Boot/bootx64.efi

Fat32 (vfat) is okay for boot partition, where that efi-file resides. I have fat32 myself too.

It's also good to check the boot order using efibootmgr (and modify if necessary).

There are mixed opinions about swap on ssd disks, but that should not be an issue anymore.
So if wanted, swap is okay, but if huge amount of system memory (DDRx RAM) available, might be unnecessary.
On NVME disks, swapping is however very very fast.

Last edited by euromatlox (2026-11-16 21:13:00)

Offline

#8 2026-11-17 15:16:54

Seventy77seven
Member
Registered: 2026-11-15
Posts: 4

Re: New Install OS can not find EFI System Partition

I am not sure where else to look.  I have followed the precise order of operations in the mounting process as well as installed the linux , linux-firmware .  I also tried the " --removable " suffix on the grub install command.  Now there are three possible selections when the machine lands in the Bios.  I then reformatted the drives to start from scratch again.  I am installing on a Lenova Legion that I bought for an archlinux set up.  I have successfully installed arch on this machine, but i ended up with an encrypted drive which I was not interested in so I started the process over with the intention for an xfce4 DE and since then no install wants to work. 

The initial screen after reboot provides the opportunity to use the arrows to choose a boot source which I ignore.  Then a new screen comes up saying

Booting 'Arch Linux'
Loading Linux linux...
Loading initial ramdisk...

Then the screen goes black and I have to hold down the power button to get anywhere else.

I am beginning to think that the issue has something to do with the packages I am installing.  Maybe xfce4

pacman -S dosfstools grub efibootmgr xfce4 xfce4-goodies lightdm lightdm-gtk-greeter mtools nano vim networkmanager sudo openssh network-manager-applet pipewire wireplumber pipewire-pulse xfce4-pulseaudio-plugin gvfs nvidia-open nvidia-utils nvidia-settings mesa vulkan-radeon xorg-server xorg-apps pipewire-jack man openssh reflector pipewire-alsa

Last edited by Seventy77seven (2026-11-17 15:19:29)

Offline

#9 2026-11-17 15:33:58

cryptearth
Member
Registered: 2024-02-03
Posts: 2,431

Re: New Install OS can not find EFI System Partition

nvidia + radeon? somthing doesn't add up here

@em
note: the uefi spec neither specifies nor makes any assumptions about how an implementaton handles the "removable media" path on fixed storage
just because comodity hardware usually supports it doesn't mean one should rely on it - hence giving it as general is equal "bad"

the latest uefi for your board is mid-2018
if you're not using it yet may give it a try, if you are and having issues may try a previous one
point is: desktop hardware does usually behave rather welll - boot issues often hint towards user error

Offline

#10 2026-11-17 16:25:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,018

Re: New Install OS can not find EFI System Partition

Booting 'Arch Linux'
Loading Linux linux...
Loading initial ramdisk...

Then the screen goes black and I have to hold down the power button to get anywhere else.

This has nothing to do w/ the UEFI anymore, try to add "systemd.unit=multi-user.target nomodeset" to the https://wiki.archlinux.org/title/Kernel_parameters

Offline

#11 2026-11-17 19:18:36

euromatlox
Member
Registered: 2017-02-10
Posts: 164

Re: New Install OS can not find EFI System Partition

Not sure if it helps, but have you added microcode update during installing? Microcode is applied during boot.

Are you sure about this: nvidia-open nvidia-utils nvidia-settings mesa vulkan-radeon

I have Nvidia card in this current pc, and radeon card in another pc. Do you really need both in the same computer ?

Perhaps your mobo has AMD (cpu incl. gpu), but you use Nvidia adapter.

I would first install only the stuff I need to boot pc. Only one manufacturer's gpu files.

You can later try if both can co-exist. It might be that the other must be blacklisted or removed.

Same applies to microcode, install only one, AMD or Intel. It's only for cpu, not gpu.

Last edited by euromatlox (2026-11-17 19:39:05)

Offline

#12 2026-11-18 19:44:38

Seventy77seven
Member
Registered: 2026-11-15
Posts: 4

Re: New Install OS can not find EFI System Partition

Wow Seth-- 79k!  Thanks for your contribution to the community and your comment.

root@archiso ~ # cat /proc/cmdline

initrd=\arch\boot\x86_64\initramfs-linux.img archisobasedir=arch archisosearchuuid=2026-11-01-08-42-25-00

1 root@archiso ~ # systemctl list-units --type=target

  UNIT                         LOAD   ACTIVE SUB    DESCRIPTION
  basic.target                 loaded active active Basic System
  bluetooth.target             loaded active active Bluetooth Support
  clonesetup.target            loaded active active Local dm-clone Devices
  cryptsetup.target            loaded active active Local Encrypted Volumes
  first-boot-complete.target   loaded active active First Boot Complete
  getty.target                 loaded active active Login Prompts
  graphical.target             loaded active active Graphical Interface
  imports.target               loaded active active Image Downloads
  integritysetup.target        loaded active active Local Integrity Protected Volumes
  local-fs-pre.target          loaded active active Preparation for Local File Systems
  local-fs.target              loaded active active Local File Systems
  machines.target              loaded active active Virtual Machines and Containers
  multi-user.target            loaded active active Multi-User System
  network-pre.target           loaded active active Preparation for Network
  network.target               loaded active active Network
  nss-lookup.target            loaded active active Host and Network Name Lookups
  paths.target                 loaded active active Path Units
  remote-cryptsetup.target     loaded active active Remote Encrypted Volumes
  remote-fs.target             loaded active active Remote File Systems
  remote-integritysetup.target loaded active active Remote Integrity Protected Volumes
  remote-veritysetup.target    loaded active active Remote Verity Protected Volumes
  slices.target                loaded active active Slice Units
  sockets.target               loaded active active Socket Units
  sound.target                 loaded active active Sound Card
  ssh-access.target            loaded active active SSH Access Available
  swap.target                  loaded active active Swaps
  sysinit.target               loaded active active System Initialization
  time-set.target              loaded active active System Time Set
  time-sync.target             loaded active active System Time Synchronized
  timers.target                loaded active active Timer Units
  tpm2.target                  loaded active active Trusted Platform Module
  veritysetup.target           loaded active active Local Verity Protected Volumes

Legend: LOAD   → Reflects whether the unit definition was properly loaded.
        ACTIVE → The high-level unit activation state, i.e. generalization of SUB.
        SUB    → The low-level unit activation state, values depend on unit type.

32 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

SO maybe the idea is to turn "multi-user.target" that is about half way down to inactive or nomodest ?

My best guess where to put this code(?)...

systemd.unit=multi-user.target nomodeset

is in the config file like it says in the link   https://wiki.archlinux.org/title/Kernel_parameters    in blue type but no file exists

root@archiso ~ # cat boot/grub/grub.cfg

cat: boot/grub/grub.cfg: No such file or directory

@euromax
This lenovo legion 7a Gen 11 has an AMD Ryzen AI 9 HX 470 thingy
and a NVIDIA GeForce RTX 5060 GPU

Maybe the ucode-amd is for the chip thus the drivers are for the GPU thus the mesa and vulkan-radeon are unnecessary? 
EIther way i think you are suggesting to not install the graphic drivers until the machine is booting up successfully?
I thought that the source for this information was solid but at this point I am not sure about anything.

Last edited by Seventy77seven (2026-11-18 19:52:28)

Offline

#13 2026-11-18 20:41:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,018

Re: New Install OS can not find EFI System Partition

Seth-- 79k!

No yet…

root@archiso ~ # cat boot/grub/grub.cfg

Are you trying to do this from the install iso still? I was under the impression that the installation had succeeded and you're now struggling to boot the system (resp. face a failure of the graphical.target)
In that case you'll have to manipulate the bootloader of the installed system (grub will even allow you to do that at the bootloader by selecting an entry and pressing "e")

Offline

#14 2026-11-19 15:15:07

euromatlox
Member
Registered: 2017-02-10
Posts: 164

Re: New Install OS can not find EFI System Partition

not boot/ .. must be

cat /boot/grub/grub.cfg

grub.cfg is generated by grub-mkconfig, it's contents have usually no use to examine closely.

In my pc,

cat /proc/cmdline

produces

BOOT_IMAGE=/vmlinuz-linux root=UUID=__hard_drive_id___ rw loglevel=3

(sata ssd drive)

Kind of feel that you've forgotten something when installing.

That "--removable" thing I mentioned earlier possibly helps if your pc BIOS cannot see the UEFI drive at all (booting goes to BIOS only).
The drive must be detected in BIOS too be able to boot from it.

Just to mention, in linux it's usually /, not \ as in windows.

Last edited by euromatlox (2026-11-19 15:20:18)

Offline

Board footer

Powered by FluxBB