Grub only shows with external drive

I recently started having issues with my dualboot (windows/fedora) grub setup. It used to ask me if I wanted to boot into fedora or windows. Now I only see a black screen when I turn on my laptop (No changes after a couple of minutes). I have verified that I can still boot into windows. While troubleshooting I discovered that if I tried to boot from an external disk that had ubuntu installed it would show me the fedora grub menu and I would then be able to boot into fedora. On other machines this drive shows the ubuntu grub menu and boots into ubuntu.

Here is an image of my (UEFI) Boot order:


Entry 1 is obviously Fedora and entry 4 is the Ubuntu external drive.

I’m perplexed as to what this might be and would appreciate and helpful tips you might have!
-Michael

EDIT: As requested my system info:

System:
  Kernel: 5.15.14-200.fc35.x86_64 x86_64 bits: 64 compiler: gcc
    v: 2.37-10.fc35 Desktop: GNOME 41.3 Distro: Fedora release 35 (Thirty Five)
Machine:
  Type: Convertible System: LENOVO product: 81X1 v: IdeaPad Flex 5 14IIL05
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40700 WIN
    serial: <superuser required> UEFI: LENOVO v: ECCN36WW date: 05/20/2021
Battery:
  ID-1: BAT0 charge: 44.1 Wh (99.5%) condition: 44.3/52.6 Wh (84.1%)
    volts: 12.6 min: 11.5 model: Sunwoda L19D3PD6 status: Discharging
CPU:
  Info: quad core model: Intel Core i5-1035G1 bits: 64 type: MT MCP
    arch: Ice Lake rev: 5 cache: L1: 320 KiB L2: 2 MiB L3: 6 MiB
  Speed (MHz): avg: 1237 high: 1301 min/max: 400/3600 cores: 1: 1301
    2: 1301 3: 1300 4: 1134 5: 1257 6: 1201 7: 1201 8: 1201 bogomips: 19046
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Iris Plus Graphics G1 vendor: Lenovo driver: i915 v: kernel
    bus-ID: 00:02.0
  Device-2: Syntek Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-2:2
  Display: wayland server: X.Org 1.21.1.4 compositor: gnome-shell driver:
    loaded: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel UHD Graphics (ICL GT1) v: 4.6 Mesa 21.3.4
    direct render: Yes
Audio:
  Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Lenovo
    driver: sof-audio-pci-intel-icl bus-ID: 00:1f.3
  Sound Server-1: ALSA v: k5.15.14-200.fc35.x86_64 running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.43 running: yes
Network:
  Device-1: Intel Ice Lake-LP PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3
  IF: wlp0s20f3 state: up mac: <filter>
  IF-ID-1: br-2b72795d5fbb state: up speed: -1 duplex: unknown
    mac: <filter>
  IF-ID-2: br-3018e09ee423 state: down mac: <filter>
  IF-ID-3: br-87fa3e9dac3d state: down mac: <filter>
  IF-ID-4: br-8a20ce4fa973 state: down mac: <filter>
  IF-ID-5: br-8f806d75e527 state: down mac: <filter>
  IF-ID-6: br-cb37f9a24b6d state: down mac: <filter>
  IF-ID-7: br-dc9c851e75fb state: down mac: <filter>
  IF-ID-8: docker0 state: down mac: <filter>
  IF-ID-9: outline-tun0 state: down mac: N/A
  IF-ID-10: virbr0 state: down mac: <filter>
  IF-ID-11: virbr1 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
    driver: btusb v: 0.8 bus-ID: 3-10:3
  Report: hciconfig ID: hci0 rfk-id: 2 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 588.73 GiB used: 368.48 GiB (62.6%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZALQ512HALU-000L2
    size: 476.94 GiB temp: 39.9 C
  ID-2: /dev/sda type: USB vendor: SanDisk model: Ext SSD size: 111.79 GiB
Partition:
  ID-1: / size: 355.77 GiB used: 307.3 GiB (86.4%) fs: btrfs
    dev: /dev/nvme0n1p6
  ID-2: /boot size: 975.9 MiB used: 252.7 MiB (25.9%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-3: /boot/efi size: 256 MiB used: 46.2 MiB (18.1%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 355.77 GiB used: 307.3 GiB (86.4%) fs: btrfs
    dev: /dev/nvme0n1p6
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 46.0 C mobo: 34.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 354 Uptime: 1m Memory: 15.29 GiB used: 2.5 GiB (16.3%)
  Init: systemd runlevel: 5 Compilers: gcc: 11.2.1 clang: 13.0.0 Packages: 35
  note: see --pkg Shell: fish v: 3.3.1 inxi: 3.3.11

Could you please give us more info’s as :

inxi -Fzx in terminal and post the output as </> Preformatted text here.

Yeah of course, I edited my post to add that commands output.

Hi, since you’re able to boot to Fedora with external drive, you could repair your grub with:

# Backup your current grub.cfg file.
sudo mv /boot/efi/EFI/fedora/grub.cfg /boot/efi/EFI/fedora/grub.cfg.bak
sudo mv /boot/grub2/grub.cfg /boot/grub2/grub.cfg.bak

# Reinstall grub
sudo dnf reinstall shim-* grub2-efi-* grub2-common
2 Likes

Reinstalling Grub did the trick! Thank you very much for your help, much appreciated :blush:

please … mark your output and press on the </>