Grub : lost my /boot/efi partition

Hey all,

After a bios update, i lost my grub…

I tried to reinstall it using chroot with those commands :

mkdir -p /mnt/broken
mount /dev/nvme0n1p6 /mnt/broken
sudo garuda-chroot /mnt/broken/@
mount /dev/nvme0n1p5 /boot/efi
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=garuda --recheck
update-grub
exit
reboot

But i need to recreate, format in Fat32 and use the good label or flag for my /boot/efi partition wich is /dev/nvme0n1p5 .

Can you tell my what could be the right command to do that and where to place it in the chroot ?

Hope to read you soon and best regards.

Please post garuda-inxi (live ISO maybe) and

lsblk -f

chroot from RANI?

garuda-chroot -a

from live ISO

grub-install
update-grub
exit
2 Likes

Hello,

No it’s Dragonized…
I can’t access to the laptop at the moment…
I accidentally delete the /dev/nvme0n1p5 partition so i need to recreate it.

Hey @FenDanT, since you deleted the /dev/nvme0n1p5 EFI partition, you’ll need to recreate it using gparted or gdisk and format it as FAT32 with mkfs.fat -F32 /dev/nvme0n1p5. After that, mount your root partition (e.g., /dev/nvme0n1p6) to /mnt and the new EFI partition to /mnt/boot/efi. Then chroot with garuda-chroot /mnt from the live ISO. Inside the chroot, run grub-install and update-grub to reinstall the bootloader. Reboot after exiting the chroot, and it should hopefully boot into Garuda again.

2 Likes

Hey magnus,

I tried that, but i cant set /dev/nvme0n1p5 with /boot/efi
It always set BOOTEFI and i dont know why…

Here is the lsblk -f

lsblk -f

NAME  FSTYPE FSVER LABEL                       UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0 squash 4.0                                                                          0   100% /run/miso/sfs/livefs
loop1 squash 4.0                                                                          0   100% /run/miso/sfs/mhwdfs
loop2 squash 4.0                                                                          0   100% /run/miso/sfs/desktopfs
loop3 squash 4.0                                                                          0   100% /run/miso/sfs/rootfs
sda
├─sda1
│ │   exfat  1.0   Ventoy                      8790-4D92
│ └─ventoy
│     iso966 Jolie GARUDA_DR460NIZED_BROADWING 2025-03-08-07-54-47-00                     0   100% /run/miso/bootmnt
└─sda2

zram0 swap   1     zram0                       a4e4f801-111a-4dc9-92cb-f693262e7b5e                [SWAP]
nvme0n1
│
├─nvme0n1p1
│     vfat   FAT32 SYSTEM_DRV                  B49E-6422
├─nvme0n1p2
│
├─nvme0n1p3
│     ntfs         Windows-SSD                 52889F11889EF329
├─nvme0n1p4
│     ntfs         WINRE_DRV                   3A229FE6229FA603
├─nvme0n1p5
│
├─nvme0n1p6
│     btrfs                                    757bd212-d869-4ca0-9f38-27a158278ff7
└─nvme0n1p7
btrfs                                    8ae91518-9489-413c-8aa9-4b8a26929c8a

And here is the garuda-inxi on the livecd

System:
Kernel: 6.13.5-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: tsc avail: acpi_pm parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64
lang=en_US keytable=us tz=UTC lang=fr_CH keytable=us tz=UTC
misobasedir=garuda root=miso:LABEL=GARUDA_DR460NIZED_BROADWING quiet
systemd.show_status=1 checksum=y driver=free nouveau.modeset=1
i915.modeset=1 radeon.modeset=1 rdinit=/vtoy/vtoy
Desktop: KDE Plasma v: 6 tk: Qt v: N/A wm: kwin_x11 vt: 2 dm: SDDM
Distro: Garuda base: Arch Linux
Machine:
Type: Convertible System: LENOVO product: 83DL v: Yoga 7 2-in-1 16IML9
serial: <superuser required> Chassis: type: 31 v: Yoga 7 2-in-1 16IML9
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0T76463 WIN
serial: <superuser required> part-nu: LENOVO_MT_83DL_BU_idea_FM_Yoga 7
2-in-1 16IML9 uuid: <superuser required> UEFI: LENOVO v: NWCN19WW
date: 12/30/2024
Battery:
ID-1: BAT0 charge: 36.3 Wh (49.8%) condition: 72.9/71.0 Wh (102.7%)
power: 49.2 W volts: 16.3 min: 15.4 model: SMP L22M4PA1 type: Li-poly
serial: <filter> status: charging cycles: 7
CPU:
Info: model: Intel Core Ultra 7 155U bits: 64 type: MCP arch: Meteor Lake
level: v3 note: check built: 2023+ process: Intel 4 (7nm) family: 6
model-id: 0xAA (170) stepping: 4 microcode: 0x20
Topology: cpus: 1x dies: 1 clusters: 5 cores: 12 smt: <unsupported> cache:
L1: 1.2 MiB desc: d-10x32 KiB, 2x48 KiB; i-12x64 KiB L2: 10 MiB
desc: 5x2 MiB L3: 12 MiB desc: 1x12 MiB
Speed (MHz): avg: 1156 min/max: 400/4800:3800:2100 scaling:
driver: intel_pstate governor: powersave cores: 1: 1156 2: 1156 3: 1156
4: 1156 5: 1156 6: 1156 7: 1156 8: 1156 9: 1156 10: 1156 11: 1156 12: 1156
bogomips: 64512
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel Meteor Lake-P [Intel Graphics] vendor: Lenovo driver: i915
v: kernel alternate: xe arch: Xe-LPG process: Intel 4 (7nm+) built: 2023+
ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, HDMI-A-1
bus-ID: 00:02.0 chip-ID: 8086:7d45 class-ID: 0300
Device-2: Luxvisions Innotech Integrated RGB Camera driver: uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-9:4
chip-ID: 30c9:00c2 class-ID: fe01 serial: <filter>
Display: x11 server: X.Org v: 21.1.16 with: Xwayland v: 24.1.6
compositor: kwin_x11 driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.00x12.48")
s-diag: 599mm (23.57")
Monitor-1: eDP-1 model: BOE Display 0x0a31 built: 2021 res:
mode: 1920x1200 hz: 60 scale: 100% (1) dpi: 141 gamma: 1.2
size: 345x215mm (13.58x8.46") diag: 407mm (16") ratio: 16:10
modes: 1920x1200
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast gbm: drv: iris surfaceless: drv: iris x11: drv: iris
inactive: wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.3.4-arch1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel Graphics (MTL)
device-ID: 8086:7d45 memory: 7.35 GiB unified: yes
API: Vulkan v: 1.4.304 layers: 4 device: 0 type: integrated-gpu
name: Intel Graphics (MTL) driver: N/A device-ID: 8086:7d45
surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe (LLVM 19.1.7 256
bits) driver: N/A device-ID: 10005:0000 surfaces: xcb,xlib
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor wl: wayland-info
x11: xdpyinfo, xprop, xrandr
Audio:
Device-1: Intel Meteor Lake-P HD Audio vendor: Lenovo
driver: sof-audio-pci-intel-mtl
alternate: snd_hda_intel,snd_sof_pci_intel_mtl bus-ID: 00:1f.3
chip-ID: 8086:7e28 class-ID: 0401
API: ALSA v: k6.13.5-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Meteor Lake PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:7e40 class-ID: 0280
IF: wlp0s20f3 state: up mac: <filter>
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:5 chip-ID: 8087:0033
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.3
lmp-v: 12 status: discoverable: no pairing: no class-ID: 6c0000
Drives:
Local Storage: total: 1012.07 GiB used: 0 KiB (0.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFS001TEJ4X112N
size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 51040C31 temp: 31.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: SMI (STMicroelectronics)
model: USB DISK size: 58.2 GiB block-size: physical: 512 B logical: 512 B
type: USB rev: 3.1 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A
serial: <filter> fw-rev: 1100 scheme: GPT
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
Message: No partition data found.
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15.05 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 12
dev: /dev/zram0
Sensors:
Src: /sys System Temperatures: cpu: 37.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB note: est. available: 15.05 GiB used: 4.33 GiB (28.8%)
Processes: 302 Power: uptime: 11m states: freeze,mem,disk suspend: s2idle
wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
image: 5.99 GiB services: org_kde_powerdevil, power-profiles-daemon,
upowerd Init: systemd v: 257 default: graphical tool: systemctl
Packages: pm: pacman pkgs: 1295 libs: 360 tools: octopi,paru Compilers:
gcc: 14.2.1 Shell: garuda-inxi default: fish v: 4.0.0 running-in: konsole
inxi: 3.3.37
warning: database file for 'garuda' does not exist (use '-Sy' to download)
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
warning: database file for 'chaotic-aur' does not exist (use '-Sy' to download)
Garuda (2.7.2-1):
System install date:     2025-06-06
Last full system update: 2025-06-06 ↻
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       <superuser required>
Failed units:            snapper-cleanup.service


You will have to edit the /etc/fstab. You have to update the UUID to that of the newly fat32 formatted partition, which is mounted at /boot/efi

6 Likes

I dont know how to do that…

That’s what appens when i create a new partition with Gparted

lsblk -f

NAME  FSTYPE FSVER LABEL                       UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0 squash 4.0                                                                          0   100% /run/miso/sfs/livefs
loop1 squash 4.0                                                                          0   100% /run/miso/sfs/mhwdfs
loop2 squash 4.0                                                                          0   100% /run/miso/sfs/desktopfs
loop3 squash 4.0                                                                          0   100% /run/miso/sfs/rootfs
sda
├─sda1
│ │   exfat  1.0   Ventoy                      8790-4D92
│ └─ventoy
│     iso966 Jolie GARUDA_DR460NIZED_BROADWING 2025-03-08-07-54-47-00                     0   100% /run/miso/bootmnt
└─sda2

zram0 swap   1     zram0                       a4e4f801-111a-4dc9-92cb-f693262e7b5e                [SWAP]
nvme0n1
│
├─nvme0n1p1
│     vfat   FAT32 SYSTEM_DRV                  B49E-6422
├─nvme0n1p2
│
├─nvme0n1p3
│     ntfs         Windows-SSD                 52889F11889EF329
├─nvme0n1p4
│     ntfs         WINRE_DRV                   3A229FE6229FA603
├─nvme0n1p5
│     vfat   FAT32 BOOTEFI                     0D20-27C5
├─nvme0n1p6
│     btrfs                                    757bd212-d869-4ca0-9f38-27a158278ff7
└─nvme0n1p7
btrfs                                    8ae91518-9489-413c-8aa9-4b8a26929c8a

That’s what i did

[root@garuda-dr460nized garuda]# mkdir -p /mnt/broken
[root@garuda-dr460nized garuda]# mount /dev/nvme0n1p6 /mnt/broken
[root@garuda-dr460nized garuda]# sudo garuda-chroot /mnt/broken/@
sh-5.2# mount /dev/nvme0n1p5 /boot/efi
sh-5.2# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=garuda --recheck
Installing for x86_64-efi platform.
Installation finished. No error reported.
sh-5.2# update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda-dr460nized/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  initramfs-linux-zen-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
ERROR: mkdir /var/lock/dmraid
grub-probe: error: cannot find a GRUB drive for /dev/sda2.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda2.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2025-06-05 08:50:24 | @/.snapshots/902/snapshot | post | ttf-ms-win11-auto                    |
Found snapshot: 2025-06-05 08:50:22 | @/.snapshots/901/snapshot | pre  | pacman --upgrade --noconfirm -- /home/jacques/.cache/paru/clone/ttf-ms-w |
Found snapshot: 2025-06-05 08:46:58 | @/.snapshots/900/snapshot | post | httpdirfs                            |
Found snapshot: 2025-06-05 08:46:57 | @/.snapshots/899/snapshot | pre  | pacman --upgrade --noconfirm -- /home/jacques/.cache/paru/clone/httpdirf |
Found snapshot: 2025-06-05 08:46:02 | @/.snapshots/898/snapshot | post | alsa-card-profiles gst-plugin-pipewire lib32-libpipewire lib32-mesa lib3 |
Found snapshot: 2025-06-05 08:46:00 | @/.snapshots/897/snapshot | pre  | pacman -Su                           |
Found snapshot: 2025-06-05 07:27:29 | @/.snapshots/896/snapshot | post | automake brave-bin curl fwupd garuda-assistant garuda-gamer garuda-setup |
Found snapshot: 2025-06-05 07:27:24 | @/.snapshots/895/snapshot | pre  | pacman -Su                           |
Found snapshot: 2025-06-04 06:44:53 | @/.snapshots/894/snapshot | post | google-chrome plasma5-themes-sweet-full-git readline sdl3 virtualbox vir |
Found snapshot: 2025-06-04 06:44:21 | @/.snapshots/893/snapshot | pre  | pacman -Su                           |
Found 10 snapshot(s)
Unmount /tmp/grub-btrfs.SDLB8qbvQG .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
sh-5.2#

There’s an error, but i dont know if it’s relevant…

Thanks Austin,

That did the trick, editing the /etc/fstab and changing the uuid to the good one…

And i have my Garuda byck again :grinning_face:

And thanks all for your help :clap:

2 Likes

And think on it → bios + M$ fastboot disabled. Every time → no warmboot from windows to linux, reverse yes.
Also don’t use the windows partition “permanent”. This is a ntfs partition and it’s not a good idea to work with ntfs inside linux.
If, open fstab and insert the option ro there:

─nvme0n1p3
│     ntfs         Windows-SSD                 52889F11889EF329

as example:
#nvme0 Win 11
UUID=DCEC30FDEC30D40C /mnt/win11pro ntfs-3g noatime,nodiratime,noexec,nofail,ro 0 0

3 Likes

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