Hi! I installed Manjaro alongside Windows a couple of weeks ago. It was working fine and I was able to choose between Windows and Manjaro at the Grub screen.
Today I started up my machine and the Grub menu was missing. Manjaro started immediately.
I checked /etc/default/grub and that seems okay:
# GRUB boot loader configuration
GRUB_DEFAULT=saved
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="udev.log_priority=3"
GRUB_CMDLINE_LINUX="nvidia_drm.fbdev=1 nvidia_drm.modset=1"
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Set to 'countdown' or 'menu' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"
# Uncomment to get a beep at GRUB start
GRUB_INIT_TUNE="480 440 1"
# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT="true"
# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU=y
# Uncomment this option to enable os-prober execution in the grub-mkconfig command
GRUB_DISABLE_OS_PROBER=false
# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use 'fsck' by default, which
# needs 'rw' as boot parameter, to avoid delay in boot-time. 'fsck' needs to be
# removed from 'mkinitcpio.conf' to make 'systemd-fsck' work.
# See also Arch-Wiki: https://wiki.archlinux.org/index.php/Fsck#Boot_time_checking
#GRUB_ROOT_FS_RO=true
What else can I check/change to get back the Grub menu?
Thanks for any help.
I tried both. With Shift, nothing happens, Manjaro boots up. With ESC I get a black screen and I can only get out of it with Ctrl-Alt-Del.
Is my Grub corrupted?
How can I check that?
I made the suggested changes but it still not working.
By the sudo update-grub there is a warning at the end.
GRUB-Konfigurationsdatei wird erstellt …
Linux-Abbild gefunden: /boot/vmlinuz-6.9-x86_64
Initrd-Abbild gefunden: /boot/amd-ucode.img /boot/initramfs-6.9-x86_64.img
Found initrd fallback image: /boot/initramfs-6.9-x86_64-fallback.img
Warnung: Zur Erkennung anderer bootfähiger Partitionen wird os-prober ausgeführt.
Dessen Ausgabe wird zur Erkennung bootfähiger Programmdateien und Erzeugen neuer Boot-Einträge verwendet.
Windows Boot Manager auf /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi gefunden
Bootmenü-Eintrag für UEFI-Firmware-Einstellungen wird hinzugefügt …
Detecting snapshots ...
Found snapshot: 2024-07-01 12:54:37 | timeshift-btrfs/snapshots/2024-07-01_12-54-37/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2024-06-17 10:46:28 | timeshift-btrfs/snapshots/2024-06-17_10-46-28/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found 2 snapshot(s)
Unmount /tmp/grub-btrfs.ENByRa16b2 .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: Warnung: Unbekannter Gerätetyp nvme0n1.
Found memtest86+ EFI image: /boot/memtest86+/memtest.efi
/usr/bin/grub-probe: Warnung: Unbekannter Gerätetyp nvme0n1.
abgeschlossen
Warning: unknown device type nvme0n1
One thing which I also noticed is, that my BIOS boot message also dissapeared. I have an Asus main board and the logo was always visible. Now it is also gone.
I don’t get the message to press DEL to enter Bios anymore and Manjaro boots up immediately. Very strange as I have not made any BIOS update or any change to the system. (Neither to Windows nor to Manjaro.)
This is absolut PC insanity!
I forgot to mention that I replaced an aging HDMI cable with a DP cable. (I did not thought it is relevant)
Now, as long as the DP cable was connected to the PC (even though I also added an HDMI cable and set this as source on my monitor) the BIOS Fastboot option was set. (I explicitly disabled it when I installed Manjaro).
Only when I physically removed the DP cable, was I able to enter the BIOS and disable fast boot.
But now I have the problem, that only windows is booting up. (Grub doesn’t show). When I set the boot device to the M2 drive where I installed Manjaro, it tells me that there is no bootable system there.
This whole dual boot s…t sucks.
Is there a way to make the Manjaro M2 drive bootable again without reinstalling it?
I would then rather choose from the BIOS boot menu, which OS Disk I want to start. (Instead of relying on GRUB).
Then you probably have somehow reset the motherboard and need to reinstall GRUB again for the entry to be properly created in the UEFI, if you can’t boot Manjaro anymore. Do you see an entry called “Manjaro” in the boot device selection menu? Or do you see “UEFI blabla something something” for the Manjaro drive?
To reinstall GRUB it is 15 seconds if you have a bootable Manjaro USB.
If it can’t boot the first in the list it, will try the second, and so forth. Which could be what is happening here. So I would undo whatever you did here, and get it back to booting your grub drive.
I could only get the grub menu going by using GRUB_TIMEOUT_STYLE. Mine is just:
I can’t really undo what I have done, as I don’t understand what I have done.
I disconnected the M2 drive ( Manjaro) and booted only with the Windows SSD. I only got a black screen. Then I connected an HDMI cable to my monitor (as this was the only change I made to the system in recent weeks) and got the same result. Then I disconnected the DP cable from my PC and then I was presented with the BIOS screen where I was able to disable fast boot (which I explicitly turned off after I installed Manjaro) and after that windows booted up.
Why and how on earth is a connected DP cable able to completely mess up BIOS settings? I never experienced this.
After I reconnected the M2 drive, GRUB is no longer loading. I guess Windows 11 messed up the boot settings when I started it with the M2 removed.
Can I restore GRUB settings from windows?
How can I make the Manjaro partition bootable from a Manjaro live ISO stick?
I have enough of this GRUB nonsense. (I guess GRUB is okay but windows is messing it up).
Especially as I would like to also add another SSD with tiny windows 10 on it. (11 sucks).
I would rather select the boot order from BIOS and start whichever OS I need. But it would be great if I would not need to completely reinstall Manjaro.
As I said it is 15 seconds to restore a working boot entry in the motherboard, but not answering questions asked by others, leads to not having more answer for the new questions you ask after ignoring the previous questions.
From Manjaro USB in a terminal (lines starting with # are comments, obviously don’t type that in the terminal):
# we chroot
manjaro-chroot -a
# we reinstal GRUB efi
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
# or GRUB mbr where /dev/sdy is the target
# grub-install --force --target=i386-pc --recheck --boot-directory=/boot /dev/sdy
# we update GRUB
grub-mkconfig -o /boot/grub/grub.cfg
# we exit chroot to unmount the system
exit
# we reboot
reboot
It is expected if the menu is “hidden”, that it doesn’t show. The setting “menu” is the proper one if you want to show the menu (and with “hidden” you can still see the menu, if you press the appropriate key, it just doesn’t display the menu while the countdown/timeout progresses).
Also this is not a GRUB menu issue, he said it is a DP port/cable issue that messes up the motherboard.
Well with the information provided we can’t really say much more. What BIOS motherboard manufacturer and BIOS version do you have, or laptop model + BIOS version?
Did you even get into it? Other people said keys like shift. But I found F1, DEL, F2 are more common. But they can really be anything, especially in quirky laptops. The above question can answer which hotkey you need to get in.
Just note that most BIOS configurations let you boot down a list. If you attempt to boot the Manjaro drive, and it doesn’t boot properly, your BIOS will often attempt to boot the next one down the list.
But you were booting the Manjaro drive before, and without even able to get into the BIOS, it stopped? The cable could be a red herring, what GPU? It should use the one hooked up, but I’ve seen where that’s not the case. But just go back to the working one, and pin that problem. Which it looks like your have been, back to booting first.
Did this problem start around when you did the recent Stable Updates ?
What’s your output of lsblk -f, contents of /etc/fstab and /boot/grub/grub.cfg ?u
Nobody said to press Shift to enter the BIOS, it was about GRUB menu.
Also from the last information we have, it seems it is related to his DP cable that messed up motherboard settings. Manjaro does not boot, so back to my question about the entry in the UEFI first, this is the starting point. Is the UEFI entry for “Manjaro” exists? If not then, back to the procedure from the live USB I gave. Then from here we may go forward, but I don’t think asking random question like the content of FSTAB file will help in any way.
I think I may know what happened, but I will not ask more thing and provide more suggestion for now, first things first.
You’re not even comprehending the questions asked. I think you are lacking the understanding of Linux in general, and/or English.
With Manjaro, you need to understand a few basic things first.
You did not supply enough information for anyone to debug. You don’t even know what you did yourself. And you are the one being not that nice to other people trying to help.
Indeed, dmt said to press Shift or Esc key, to show the GRUB menu if it is hidden while waiting for the menu timeout. Yes, indeed.
I’m not sure who’s not understanding here. You can’t quote only part of a post to change what happened. There is the whole discussion, the replies, the context.
//EDIT the next day: hum, previous post mysteriously doesn’t show anything I’m replying to… how weird…