Won't boot after GRUB Menu after recent update

I’m running on a system with dual boot with Windows 10. I can boot to windows 10 thru GRUB menu well. But it doesn’t boot when Manjaro is selected. This happened right after I updated. Prior to this, I have correct NVIDIA driver installation. What should i do?

Welcome to the forum! :slight_smile:

I would recommend booting up from the Manjaro install medium in live mode ─ any one of the install media will do ─ and issue the following commands in a terminal window… :arrow_down:

ls -l /boot/efi
ls -l /boot

Click the </> button in the toolbar of the post editor and paste the output of those two commands in between the two lines of backticks (```).

1 Like

What’s exactly happening?

In addition to @Aragorn’s suggestion please enter

sudo manjaro-chroot -a
inxi -Fazy
parted -l
efibootmgr -v

Post the result here.

Then don’t forget:

exit
1 Like

Thanks for the prompt help! Here’s the output

[manjaro@manjaro ~]$ ls -l /boot
total 9778
-rw-r--r-- 1 root root   40960 Oct  5 15:37 amd-ucode.img
drwxr-xr-x 2 root root      30 Oct 19 13:56 grub
-rw-r--r-- 1 root root 3161088 Jun 16 17:50 intel-ucode.img
-rw-r--r-- 1 root root      21 Oct 19 11:32 linux58-x86_64.kver
drwxr-xr-x 2 root root      34 Oct 19 13:55 memtest86+
-rw-r--r-- 1 root root 6810048 Oct 19 13:55 vmlinuz-5.8-x86_64

Try to reinstall the initramfs by

sudo mkinitcpio -P

when chrooted.

1 Like

It just shows the logo of my motherboard and freezes. This is the output.

[manjaro@manjaro ~]$ sudo manjaro-chroot -a
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.
==> Detected systems:
 --> 0) ManjaroLinux
==> Select system to mount [0-0] : 
0
==> ERROR: You can't mount 0!

Enter 1

It’s a litle bug…

But more important: your initramfs is missing, see command above or follow @Aragorn’s set of commands. :arrow_down:

1 Like

Okay, I see the problem already: you don’t have an initramfs. Okay, here’s what to do…

Assuming that you’re still booted up in the live session, issue the following command in the terminal… :arrow_down:

su -

Enter the live session’s root password. Now proceed with the following commands… :arrow_down:

manjaro-chroot -a
mkinitcpio -g -k /boot/vmlinuz-5.8-x86_64
sync
exit
1 Like

this error shows up

[manjaro ~]# manjaro-chroot -a
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.
==> Detected systems:
 --> 0) ManjaroLinux
==> Select system to mount [0-0] : 
1
==> Mounting (ManjaroLinux) [/dev/nvme0n1p6]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
[manjaro /]# mkinitcpio -g -k /boot/vmlinuz-5.8-x86_64 
readlink: invalid option -- 'k'
Try 'readlink --help' for more information.
==> ERROR: Unable to write to path: `-k'

@Wollie, should i proceed with sudo mkinitcpio -P

Hmm… If the -k option is no longer supported, then they haven’t updated the man page. :thinking:

Well, try the following then instead… :arrow_down:

mkinitcpio -P -g  

I’ve executed the commands, and got the confirmation that the image was generated successfully. The problem still persists though after reboot :frowning_face:

The question is how the initramfs file got lost? Have you interrupted the update process?

In that case chroot again and apply

rm -f /var/lib/pacman/sync/*
rm /var/lib/pacman/db.lck
pacman-mirrors -f && pacman -Syyu

and report what you got.

1 Like

I didn’t interrupt the update process. Here’s the output now btw of @Wollie 's intial suggested commands .

[manjaro@manjaro ~]$ sudo manjaro-chroot -a
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.
==> Detected systems:
 --> 0) ManjaroLinux
==> Select system to mount [0-0] : 
1
==> Mounting (ManjaroLinux) [/dev/nvme0n1p6]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
[manjaro /]# inxi -Fazy
12System:
  12Kernel 5.8.16-2-MANJARO x86_64 12bits 64 12compiler N/A 
  12parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC 
  driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 
  misobasedir=manjaro misolabel=MANJARO_XFCE_2012 quiet systemd.show_status=1 
  apparmor=1 security=apparmor 
  12Desktop Xfce 12info xfce4-panel 12wm xfwm4 12dm N/A 12Distro Manjaro Linux 
12Machine:
  12Type Desktop 12Mobo Micro-Star 12model B450 GAMING PRO CARBON AC (MS-7B85) 12v 1.0 
  12serial <filter> 12UEFI American Megatrends 12v 1.C0 12date 06/11/2020 
12CPU:
  12Topology 6-Core 12model AMD Ryzen 5 3600 12socket AM4 12bits 64 12type MT MCP 
  12arch Zen 2 12family 17 (23) 12model-id 71 (113) 12stepping N/A 12microcode 8701021 
  12L1 cache 384 KiB 12L2 cache 3072 KiB 12L3 cache 32.0 MiB 
  12flags avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  12bogomips 86424 
  12Speed 3596 MHz 12min/max 2200/3600 MHz 12base/boost 3600/4200 12boost enabled 
  12volts 1.1 V 12ext-clock 100 MHz 12Core speeds (MHz) 121 3600 122 2055 123 2194 124 2193 
  125 2057 126 2197 127 2199 128 2199 129 3599 1210 1837 1211 2121 1212 2193 
  12Vulnerabilities 12Type itlb_multihit 12status Not affected 
  12Type l1tf 12status Not affected 
  12Type mds 12status Not affected 
  12Type meltdown 12status Not affected 
  12Type spec_store_bypass 
  12mitigation Speculative Store Bypass disabled via prctl and seccomp 
  12Type spectre_v1 
  12mitigation usercopy/swapgs barriers and __user pointer sanitization 
  12Type spectre_v2 12mitigation Full AMD retpoline, IBPB: conditional, STIBP: 
  conditional, RSB filling 
  12Type srbds 12status Not affected 
  12Type tsx_async_abort 12status Not affected 
12Graphics:
  12Device-1 NVIDIA TU106 [GeForce RTX 2060 SUPER] 12vendor Gigabyte 
  12driver nouveau 12v kernel 12alternate nvidia_drm,nvidia 12bus ID 26:00.0 
  12chip ID 10de:1f06 
  12Display 12server X.org 1.20.9 12driver nouveau 12note display driver n/a 
  12FAILED nvidia 
  12Message Advanced graphics data unavailable for root. 
12Audio:
  12Device-1 NVIDIA TU106 High Definition Audio 12vendor Gigabyte 
  12driver snd_hda_intel 12v kernel 12bus ID 26:00.1 12chip ID 10de:10f9 
  12Device-2 AMD Starship/Matisse HD Audio 12vendor Micro-Star MSI 
  12driver snd_hda_intel 12v kernel 12bus ID 28:00.4 12chip ID 1022:1487 
  12Device-3 Z-Star Micro Venus USB2.0 Camera 12type USB 
  12driver snd-usb-audio,uvcvideo 12bus ID 1-6:3 12chip ID 0ac8:3420 
  12Sound Server ALSA 12v k5.8.16-2-MANJARO 
12Network:
  12Device-1 Intel Wireless-AC 9260 12driver iwlwifi 12v kernel 12bus ID 21:00.0 
  12chip ID 8086:2526 
  12IF wlo1 12state up 12mac <filter> 
  12Device-2 Intel I211 Gigabit Network 12vendor Micro-Star MSI 12driver igb 
  12v 5.6.0-k 12port f000 12bus ID 22:00.0 12chip ID 8086:1539 
  12IF enp34s0 12state down 12mac <filter> 
  12Device-3 Intel Wireless-AC 9260 Bluetooth Adapter 12type USB 12driver btusb 
  12bus ID 5-4:5 12chip ID 8087:0025 
12Drives:
  12Local Storage 12total 961.33 GiB 12used 154.50 GiB (16.1%) 
  12SMART Message Required tool smartctl not installed. Check --recommends 
  12ID-1 /dev/nvme0n1 12vendor Crucial 12model CT1000P1SSD8 12size 931.51 GiB 
  12block size 12physical 512 B 12logical 512 B 12speed 31.6 Gb/s 12lanes 4 
  12serial <filter> 12rev P3CR010 
  12ID-2 /dev/sda 12type USB 12vendor SanDisk 12model Ultra 12size 29.82 GiB 12block size 
  12physical 512 B 12logical 512 B 12serial <filter> 12rev 1.26 
12Partition:
  12ID-1 / 12raw size 511.05 GiB 12size 502.03 GiB (98.23%) 12used 154.37 GiB (30.7%) 
  12fs ext4 12block size 4096 B 12dev /dev/nvme0n1p6 
12Swap:
  12Alert No Swap data was found. 
12Sensors:
  12System Temperatures 12cpu 52.2 C 12mobo N/A 12gpu nouveau 12temp 42 C 
  12Fan Speeds (RPM) N/A 12gpu nouveau 12fan 654 
12Info:
  12Processes 324 12Uptime 6m 12Memory 15.64 GiB 12used 1.40 GiB (9.0%) 12Init systemd 
  12v 246 12Compilers 12gcc 10.2.0 12alt 8/9 12Packages 12pacman 1314 12lib 351 
  12Client Unknown Client: systemd 12inxi 3.1.05 
[manjaro /]# parted -l
Model: SanDisk Ultra (scsi)
Disk /dev/sda: 32.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      2787MB  2792MB  4194kB  primary               esp


Model: CT1000P1SSD8 (nvme)
Disk /dev/nvme0n1: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name                          Flags
 1      1049kB  556MB   555MB   ntfs            Basic data partition          hidden, diag
 2      556MB   661MB   105MB   fat32           EFI system partition          boot, esp
 3      661MB   677MB   16.8MB                  Microsoft reserved partition  msftres
 4      677MB   450GB   450GB   ntfs            Basic data partition          msftdata
 6      450GB   999GB   549GB   ext4
 5      999GB   1000GB  1023MB  linux-swap(v1)                                swap


[manjaro /]# efibootmgr -v
BootCurrent: 0006
Timeout: 1 seconds
BootOrder: 0002,0004,0000,0007,0006,0001,0005
Boot0000* Windows Boot Manager	HD(2,GPT,1e173b81-bb3f-4f77-b812-651360ceb2d7,0x109000,0x32000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...,................
Boot0001* Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........C.T.1.0.0.0.P.1.S.S.D.8...................\.,.@.r.d.=.X..........A..........................................Gd-.;.A..MQ..L.1.9.2.8.E.2.1.3.2.3.F.F........BO
Boot0002* Manjaro	HD(2,GPT,1e173b81-bb3f-4f77-b812-651360ceb2d7,0x109000,0x32000)/File(\EFI\MANJARO\GRUBX64.EFI)
Boot0004* ubuntu	HD(2,GPT,1e173b81-bb3f-4f77-b812-651360ceb2d7,0x109000,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0005* USB HDD	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0900)..GO..NO..........S.a.n.D.i.s.k. .U.l.t.r.a. .1...2.6...................\.,.@.r.d.=.X..........A.............................>..Gd-.;.A..MQ..L.4.C.5.3.2.0.0.0.0.4.0.4.1.8.1.0.5.4.0.3........BO
Boot0006* UEFI: SanDisk Ultra 1.26	PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x0)/USB(8,0)/CDROM(1,0x5311a0,0x8000)..BO
Boot0007* UEFI: SanDisk Ultra 1.26, Partition 2	PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x0)/USB(8,0)/HD(2,MBR,0x0,0x5311a0,0x2000)..BO

I would afterwards install the proprietary Nvida driver. When in chroot enter:

mhwd -a pci nonfree 0300

Also check if you have fully shutdown Windoze. If not, start Windoze and switch off fast boot. This could set the drive in a hibernating state affecting updates on manjaro’s site.

Hmmm. I think this might be a relevant info. Prior to updating Manjaro, I rolled back to a previous version of cuda and cudnn (v7.6 and v10.1 respectively) because of compatibility issues with tensorflow with the latest cuda and cudnn versions

Btw, here’s the output of mhwd -a pci nonfree 0300

[manjaro@manjaro ~]$ sudo manjaro-chroot -a
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.
==> Detected systems:
 --> 0) ManjaroLinux
==> Select system to mount [0-0] : 
1
==> Mounting (ManjaroLinux) [/dev/nvme0n1p6]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
[manjaro /]# mhwd -a pci nonfree 0300
> Using config 'video-nvidia-455xx' for device: 0000:26:00.0 (0300:10de:1f06) Display controller nVidia Corporation TU106 [GeForce RTX 2060 SUPER]
> Installing video-nvidia-455xx...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia-455xx/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-450xx-utils breaks dependency 'nvidia-utils' required by cuda
Error: pacman failed!
Error: script failed!
[manjaro /]# 

P.S.
Yep. I have fast boot switched off. I’ve done this before already since it was affecting network connections whenever I boot to Manjaro before.

Remove cuda first. if you need this tool then you can install it afterwards.

In chroot:

pacman -Rsn cuda

Now you know why I put that :scream: on @Wollie’s post above. :face_with_hand_over_mouth:

@Aragorn, this is not something new and can be fixed. The repo’s have been updated. We start to remove whatever is given behind required by as long as it’s not getting some system relevant. So, some steps might be needed.

1 Like

I know, but it’s just that I consider Nvidia the spawn of Satan. :face_with_hand_over_mouth:

3 Likes

We can be happy - no hybrid graphics here :grin:

1 Like