Grub not registering OS’s after updating

After following a tutorial to fix something (can’t remember what exactly) it recommended me to do the command grub-update. After rebooting after this, my system launches with the error:

error: can’t find command ‘fwsetup’.
Press any key to continue…
Failed to boot both default and fallback entries.
Press any key to continue

And after continuing both my Windows and Manjaro options were gone. I don’t want to try and fix stuff myself with my limited knowledge as I would probably break stuff further.

inxi --admin --verbosity=7 --filter --no-host --width                                          ✔ 
System:
  Kernel: 5.15.28-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
    misobasedir=manjaro misolabel=MANJARO_KDE_2125 quiet systemd.show_status=1
    apparmor=1 security=apparmor driver=nonfree nouveau.modeset=0
    i915.modeset=1 radeon.modeset=1
  Desktop: KDE Plasma 5.24.3 tk: Qt 5.15.3 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: P8H61-I LX R2.0 v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 1106
    date: 06/20/2014
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 15.58 GiB used: 3.06 GiB (19.6%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-3770 bits: 64 type: MT MCP arch: Ivy Bridge
    family: 6 model-id: 0x3A (58) stepping: 9 microcode: 0x21
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 1671 high: 2117 min/max: 1600/3900 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 1601 2: 1601 3: 1601
    4: 1601 5: 1600 6: 2117 7: 1653 8: 1601 bogomips: 54430
  Flags: acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov
    constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb erms
    est f16c flush_l1d fpu fsgsbase fxsr ht ibpb ibrs ida lahf_lm lm mca mce
    md_clear mmx monitor msr mtrr nonstop_tsc nopl nx pae pat pbe pcid
    pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pti pts rdrand rdtscp
    rep_good sep smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall
    tm tm2 tsc tsc_deadline_timer vme x2apic xsave xsaveopt xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1660] driver: nvidia v: 510.54
    alternate: nouveau,nvidia_drm pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:2184
    class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
    loaded: nvidia gpu: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 101 s-size: 483x272mm (19.0x10.7")
    s-diag: 554mm (21.8")
  Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 102
    size: 476x268mm (18.7x10.6") diag: 546mm (21.5")
  OpenGL: renderer: NVIDIA GeForce GTX 1660/PCIe/SSE2 v: 4.6.0 NVIDIA 510.54
    direct render: Yes
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio
    vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:1c20 class-ID: 0403
  Device-2: NVIDIA TU116 High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:1aeb class-ID: 0403
  Device-3: Trust GXT 232 Microphone type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 2-1.1.2:7
    chip-ID: 145f:0254 class-ID: 0300
  Sound Server-1: ALSA v: k5.15.28-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK P8 series driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.37 TiB used: 0 KiB (0.0%)
  ID-1: /dev/sda maj-min: 8:0 type: USB vendor: Kingston
    model: DataTraveler 3.0 size: 28.82 GiB block-size: physical: 512 B
    logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-2: /dev/sdb maj-min: 8:16 vendor: Kingston model: SA400S37480G
    size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    type: SSD serial: <filter> rev: K1B3 scheme: MBR
  ID-3: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST1000VM002-1ET162
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
    type: N/A serial: <filter> rev: ZZZZ scheme: MBR
  Message: No optical or floppy data found.
Partition:
  Message: No partition data found.
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 3.54 GiB fs: iso9660
  ID-2: /dev/sda2 maj-min: 8:2 size: 4 MiB fs: vfat label: MISO_EFI
    uuid: EAE6-38D6
  ID-3: /dev/sdb1 maj-min: 8:17 size: 579 MiB fs: ntfs
    label: System Reserved uuid: D432AC8732AC7062
  ID-4: /dev/sdb2 maj-min: 8:18 size: 387.97 GiB fs: ntfs label: N/A
    uuid: FE38AEBD38AE7475
  ID-5: /dev/sdb3 maj-min: 8:19 size: 58.59 GiB fs: ext4 label: N/A
    uuid: f9952d03-0f12-41ad-b4ef-eb741110d281
  ID-6: /dev/sdc1 maj-min: 8:33 size: 931.51 GiB fs: ntfs label: New Volume
    uuid: 34D8D32FD8D2EE5C
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900
  Hub-3: 2-0:1 info: Full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
    speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900
  Hub-5: 2-1.1:3 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 2-1.1.1:6 info: Kingston DataTraveler 100 G3/G4/SE9 G2/50
    type: Mass Storage driver: usb-storage interfaces: 1 rev: 2.1
    speed: 480 Mb/s power: 300mA chip-ID: 0951:1666 class-ID: 0806
    serial: <filter>
  Device-2: 2-1.1.2:7 info: Trust GXT 232 Microphone type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 1.1
    speed: 12 Mb/s power: 100mA chip-ID: 145f:0254 class-ID: 0300
  Device-3: 2-1.3:4 info: Maxxter Wireless Receiver type: Mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s power: 50mA
    chip-ID: 248a:8564 class-ID: 0301
  Device-4: 2-1.4:5 info: Areson Corp 2.4G Wireless Receiver
    type: Keyboard,Mouse driver: hid-generic,usbhid interfaces: 2 rev: 1.1
    speed: 12 Mb/s power: 98mA chip-ID: 25a7:fa70 class-ID: 0301
  Hub-6: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-7: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 35 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 38%
Info:
  Processes: 240 Uptime: 2m wakeups: 0 Init: systemd v: 250 tool: systemctl
  Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1236 lib: 332
  flatpak: 0 Shell: Zsh v: 5.8.1 default: Bash v: 5.1.16 running-in: konsole
  inxi: 3.3.13

Welcome to Manjaro! :smiling_face_with_three_hearts:

  1. Please read the information behind this link. It will help you to post necessary information. [HowTo] Provide System Information
  2. Please press the three dots below your post and then press the :pencil2:
  • If you give us information about your system, we can see what we’re talking about and make better suggestions.
  • You can do this by using inxi in a terminal or in console.
inxi --admin --verbosity=7 --filter --no-host --width
  • Personally identifiable information such as serial numbers and MAC addresses are filtered out by this command
  • Presenting the information in this way allows everyone to be familiar with the format and quickly find the items they need without missing anything.
  1. Copy the output from inxi (including the command) and paste it into your post.
  • To make it more readable, add 3 backticks ``` on an extra line before and after the pasted text.

You can also use Maxi

to collect information about the boot process. This works,

  • when you are in your running system (with CTRL+ALT+F2).
  • And also in a live environment
maxi -gepkm 

I’ve posted the information on the origonal post. Thanks for the quick response. Hopefully this can help you find my issue.

Please, boot with a Manjaro liveUSB, execute the command manjaro-chroot -a to enter your Manjaro system and execute and post here the output of the command: update-grub

1 Like

Thanks, this is the output:
manjaro-chroot -a  :heavy_check_mark:
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
==> Mounting (ManjaroLinux) [/dev/sdb3]
→ mount: [/mnt]
[manjaro /]# update-grub
Generating grub configuration file …
Found theme: /usr/share/grub/themes/manjaro/theme.txt
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.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Adding boot menu entry for UEFI Firmware Settings …
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

update-grub is no finding kernels and I’m not sure why.

One possible explanation is that although your system is installed with BIOS, you are booting the liveUSB with UEFI. You have to boot it also in BIOS/Legacy mode. Try to find in your system’s boot menu the right entry to boot the USB in BIOS/Legacy.

Please, show also the content of /boot folder after executing manjaro-chroot -a. You can show it with:

ls -al /boot

Changing the boot of the usb to BIOS/Legacy mode fixed it. Thanks so much.

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