update-grub wrong entry, how to remove it?

One time I used timeshift accidentally with the option to install grub again, yes.
And from that time always when I do
"update-grub" I got "grub-probe: error: cannot find a GRUB drive for /dev/sdj1. Check your device.map."
My OCD can't handle that error message, so I decided to ask on this because I couldn't find anywhere how to remove the entry.

Is there some easy way to remove the entry from grub?

Log
[arisa@arisa-pc:>>/home/arisa >= sudo update-grub
[sudo] password for arisa: 
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.2-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.2-x86_64.img
Found initrd fallback image: /boot/initramfs-5.2-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
grub-probe: error: cannot find a GRUB drive for /dev/sdj1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdj1.  Check your device.map.
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

What entry? Do you have any multiboot systems except Windows?
If not, then the message is informational.
Only if the answer is "yes", post drive/partition info.

lsblk -f
inxi -SMDxxxz

No, I don't have anything else expect Windows

Then, is there some way to remove that informative message?

image
The command doesn't exist, at least that's what system is telling me

Aah might have been dropped with grub2, it’s been a long time :thinking:

Let’s see if our resident grub master is around... @gohlip plz help us mere mortals if you can :grin:

1 Like

@Yorper
I think you want to know the grub version,
"grub-install -V" should do it.

@Arisa
What device is /dev/sdj ?
A usb thumb drive formerly used for cd/dvd image?
Why not just unplug it?
You said you only have windows (other than Manjaro).

4 Likes

grub-install (GRUB) 2.04~manjaro

just now I found out it is a USB stick with flashed Linux installation

That solved the problem, thank you very much all of you
I did not expect it would USB stick because it started to appear only after the timeshift restore with install grub, I had always the USB stick in my computer, before the timeshift restore and it did not show it, but when I unplug it now, it doesn't show anymore, thank you once more all of you

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