Grub all entries duplicated & Windows won't boot (Grub says UUID not found?)

I've setup Manajro on my wife's laptop a few months ago and back then both the older Windows installation and Manjaro could be booted without a problem by selecting them in Grub.

Now the first time we would need the Windows installation again after a long time it won't boot. Grub says that the UUID can't be found. I've tried to replace it with /dev/sda1 (directly in the Grub editor) but that didn't help though maybe that would need a different format..

Can somebody help me fix that?

From Manjaro system, terminal:
sudo update-grub

did that. didn't help.

I also tried this command from that wiki page:
https://wiki.manjaro.org/index.php/Restore_the_GRUB_Bootloader

sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck

also didn't change anything.

I'm unsure if this mess is normal:

$ ls /etc/grub.d/
00_header
02_grub-customizer_menu_color_helper
10_linux
10_linux_proxy
20_linux_xen
30_os-prober
40_custom
40_custom_proxy
41_custom
41_linux_proxy
43_linux_xen
44_os-prober_proxy
45_custom_proxy
46_os-prober_proxy
47_custom
60_memtest86+
backup
bin
proxifiedScripts
README

what? The duplicate menu entries, or the Windows issue? Because i'm sure it did help with the duplicate menu ... Now, regarding

Is referring to the resume UUID or something else?

Search that and fix it.
And install grub-vanilla, especially if you have windows + manjaro only.
Search that too.

2 Likes

it didn't help with neither.

The UUID of /dev/sda1 which is the Windows UEFI partition. And it seems Grub doesn't find it..

Ähm, could you elaborate on that?

Okey. Found that in Octopi. Currently installing it (and removing normal grub in the process) and will report back on my success.

UPDATE: the duplication seems to be the same with grub-vanilla as with default grub version:

$ sudo update-grub 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.1-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.1-x86_64.img
Found initrd fallback image: /boot/initramfs-5.1-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.1-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.1-x86_64.img
Found initrd fallback image: /boot/initramfs-5.1-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found linux image: /boot/vmlinuz-5.1-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.1-x86_64.img
Found initrd fallback image: /boot/initramfs-5.1-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
done

Gonna try rebooting into windows now to see if that issue changed.

No, not so simple. But since you tried to fix, the reference is here
And with installing grub-vanilla, the steps modified as follows...

sudo pacman -R grub-customizer
sudo mv /etc/default/grub /etc/default/grub.bad
sudo mv /etc/grub.d /etc/grub.d.bad
sudo pacman -S grub-vanilla
sudo grub-install /dev/sda
sudo update-grub
sudo rm /boot/grub/grubenv
sudo grub-editenv /boot/grub/grubenv create

Good luck.

1 Like

because of this

@gohlip provided the best information you can get to solve your problem. :slight_smile:

:wink:

Well that didn't went as planned. Writing this from another laptop now.

Windows boot issue didn't change, but Manjaro now also won't boot anymore.

Screen reads now:

ERROR: resume: no device specified for hibernation
mount /new_root: can't find UUID=....
You are now being dropped into an emergency shell.
sh: can't access tty: job control turned off
[rootfs ]#

If you have problems, booting , use this to boot.

You will need to use the complicated setup section to boot it.
not the simple set up.
When booted, see my post 2 up from here and do again.
Not so simple to to just uninstall grub-customizer.
It will have traces in /etc/grub.d and will still disrupt.

Promise you will never use grub-customizer again.
I have my hands full unnecessary to fix people with it.
And nobody else wants to help or can help, including the developers who let this happen.

@c00ter, you want to heltp?
You've no problems right?

2 Likes

Okey, sorry. Didn't know it was that bad.

Okey. currently downloading an iso to put it on an usb stick.

You don't have a install-usb?
You can use the grub menu (your bad one, with double entries and bad grub version).
Just at grub menu, go to grub prompt (grub> ) by pressing 'c'
Then proceed as per the post.

okey. well I got a live usb install media now, but

search.file /etc/manjaro-release

gives

error: no such device: /etc/manjaro-release

UPDATE: I just remembered maybe I should have mentioned that my manjaro root partition is luks encrypted..

when starting into the broken grub which is setup in a way that lets me enter the LUKS key before grub I get

$ls
(crypto0) (proc) (hd0) (hd0,gpt2) (hd0,gpt1)

but the same

$search.file /etc/manjaro-release
error: no such device: /etc/manjaro-release

I have no problems whatsoever using it to set pretty custom GRUB boot screens. Are we there yet?
But this involves Windows and dual-borking.

Call me when we get to "pretty."

  1. grub> search.file /etc/manjaro-release
    Any output?
  2. If yes,
    grub> search.file /etc/manjaro-release root
    grub> echo $root
  3. Continue
    grub> linux /boot/vmlinuz-5.2-x86_64 root=/dev/sda4 rw
    grub> initrd /boot/initramfs-5.2-x86_64.img
    grub> boot

Ah... damn. not easy...

Take a look at this then

As noted there, I don't use encryption.
And grub-customizer with encryption is as c00ter puts it, the devil's spawn.
If you have no success there, I can't help further.
But call c00ter pretty. He might help.
Just kidding. Doubt anyone can.
Good luck though.
Take care.

error: no such device: /etc/manjaro-release

cryptouuid/464e5311ef284f459.....

......

Check the uuid's (pqr and abc) from screen shots in linked posts (/etc/crypttab)
Manually input them (carefully) .

I won't go further at this point.

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

Forum kindly sponsored by