I am having double grub menu entry of windows 10. I am not saying that 40_custom grub file located in /etc/grub.d
That is a different case. Here Windows has double entries and fun fact that both the entries load the same OS.(I have one windows installation)
Sourcing file /etc/default/grub
Sourcing file /etc/default/grub.d/init-select.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.11.0-27-generic
Found initrd image: /boot/initrd.img-5.11.0-27-generic
Found linux image: /boot/vmlinuz-5.11.0-25-generic
Found initrd image: /boot/initrd.img-5.11.0-25-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Recovery Environment on /dev/sda1
Found Windows 10 on /dev/sda2
Found Windows 10 on /dev/sda3
done
This is what I get from sudo update-grub
Both entries load the same OS. From disks app it shows that windows is on /dev/sda3/ and on /dev/sda2 there is system reserved partition. And on /dev/sda1/ there is system recovery partition.
IDK how it can boot from reserved partition and I also don't know which entry to remove. So please suggest and if data loss of only windows happens then okay. I formatted windows(resetted).
[EDIT]
Here is what I get from sudo nano /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=``lsb_release -i -s 2> /dev/null || echo Debian
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""