Update
I was able to update with pacman -Syyu and everything looked fine. The only package I had to overwrite was systemd-libs. I also did update-grub, as instructed on the original post. This had some warnings (I can run the command again if needed) but it also finished.
After rebooting, grub was completely gone, and I was met with a completely black screen while the fans were spinning up. I left it for about 5 minutes and nothing happened, also tried to log into tty to see if anything worked but it was unresponsive. I had to go into BIOS and change the boot order manually to boot back into either windows or the live manjaro boot from usb, both of which still work fine. If I choose to boot Manjaro from the BIOS I get the black screen.
What can I do to investigate? Thanks again for the help and patience.
Maybe I phrased it wrong out of ignorance, what I meant is that the menu prompting whether to boot Manjaro or windows wasnāt there anymore. Is there some way I can check the state of grub to provide more information?
Hi, hereās another update. I followed the steps at the link you sent, basically boot into live mode, enter su environment and then chroot with manjaro-chroot -a, then run the various commands. Everything finished properly, besides the last part, e.g. install-grub. Running this results in
WARNING: EFI directory not found! Grub couldn't be installed.
This to me is pretty strange. Whenever I chroot, I see
both inside and outside chroot. I also tried rebooting into the original Manjaro from the BIOS after running the other commands and I still get a completely black unresponsive screen. Sorry to keep bothering, but how can I debug this? Thanks again for all the help!
Also just to clarify, is there a specific place from where I should be calling these commands? For this I tried both in the root and under /mnt, with the same results.
Something else I just remembered and tried which I think is worth mentioning. When the update initially crashed, I was updating with pamac update, not pacman. If I try to run it again within chroot, it fetches all the packages, but then immediately crashes as soon as the update starts:
Edit build files : [e]
Apply transaction ? [e/y/N] y
Building docker-desktop...
[manjaro /]#
I couldnāt find a way to make the command verbose in order to see if there is some error being reported. Should I also be updating these one by one with --overwrite?
Thanks, with this the pamac update finished successfully. However, I still have the grub issue, and the system still boots to a black screen when I select manjaro from the BIOS.
Also when trying to pacman -Syu grub, I get
(2/3) Installing Grub to MBR/EFI
WARNING: EFI directory not found! Grub couldn't be installed.
even if, as I stated in one of my previous posts, the efi directory seems to be mounted properly. How can I try to fix that?
Installing for x86_64-efi platform.
Installation finished. No error reported.
but nothing changes when booting the old system. The other commands also still fail. I also saw this post about Ventoy possibly being the issue. Iām using 1.0.99 so the error described there shouldnāt apply. I did initially boot with normal mode and only later switched to grub2, so Iām not sure if that makes a difference.
The boot order in the BIOS is fine, Iām booting from there directly into Manjaro and I get the black screen.
when updating the grub package youāre actually only update GRUB partly. This also creates some issues with your system if an older grub got installed but doesnāt match configurations and scripts. This script fixes most of our installation cases
I did see that, I was asking how to fix it because I donāt really know how
As I said earlier Iām pretty new to this so thereās a lot that I canāt interpret myself, which is why Iām asking for help.
cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=2ADE-507B /boot/efi vfat umask=0077 0 2
UUID=c0382431-3b04-4e3b-82d0-8eec3d9f6e2c / ext4 defaults,noatime 0 1
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
I did follow the steps you sent to reinstall GRUB as stated earlier, and I get stuck at pacman -Syu grub specifically because it fails due to the same error.
I also tried install-grub, and it fails due to the same error.
create the directory would be my answer - if it indeed isnāt there
check first
It likely failed because you didnāt use the full command - just: install-grub wonāt do the job
you have the reference in my last post
the link to the wiki explaining how to install grub as well
Yes. As I said earlier, pacman -Syu grub fails, which is where I stopped. If I continue, grub-install --force --target=i386-pc --recheck --boot-directory=/boot /dev/sdy finishes properly, and then I get
grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.9-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.9-x86_64.img
Found initrd fallback image: /boot/initramfs-6.9-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.8-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.8-x86_64.img
Found initrd fallback image: /boot/initramfs-6.8-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.6-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.6-x86_64.img
Found initrd fallback image: /boot/initramfs-6.6-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-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.
/etc/udev/udev.conf:9: Unknown key 'event_timeout', ignoring.
/etc/udev/udev.conf:9: Unknown key 'event_timeout', ignoring.
/etc/udev/udev.conf:9: Unknown key 'event_timeout', ignoring.
/etc/udev/udev.conf:9: Unknown key 'event_timeout', ignoring.
/etc/udev/udev.conf:9: Unknown key 'event_timeout', ignoring.
/etc/udev/udev.conf:9: Unknown key 'event_timeout', ignoring.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
Root filesystem isnāt btrfs Iām assuming this is not good?
My bad - that was a misclick on my part. With grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck and later grub-mkconfig -o /boot/grub/grub.cfg I get fundamentally the same output:
[manjaro /]# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
Installation finished. No error reported.
[manjaro /]# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.9-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.9-x86_64.img
Found initrd fallback image: /boot/initramfs-6.9-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.8-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.8-x86_64.img
Found initrd fallback image: /boot/initramfs-6.8-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.6-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.6-x86_64.img
Found initrd fallback image: /boot/initramfs-6.6-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-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.
/etc/udev/udev.conf:9: Unknown key 'event_timeout', ignoring.
/etc/udev/udev.conf:9: Unknown key 'event_timeout', ignoring.
/etc/udev/udev.conf:9: Unknown key 'event_timeout', ignoring.
/etc/udev/udev.conf:9: Unknown key 'event_timeout', ignoring.
/etc/udev/udev.conf:9: Unknown key 'event_timeout', ignoring.
/etc/udev/udev.conf:9: Unknown key 'event_timeout', ignoring.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done