[SOLVED] Manjaro boot menu chooses wrong Windows?

T_L_O_T_D

Distinguished
Dec 11, 2008
21
0
18,510
recently I've installed manjaro kde alongside my windows 10.
my windows location is on dev/sda2 location. but grub use this instead dev/sdb1 maybe long time ago i had a windows 7 on this partition but i want to select windows 10 instead.
used grub update command and i got this on grub GUI windows 7 boot


Code:
savedefault
insmod part_msdos
insmod ntfs
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  7812ECF212ECB5F2
else
  search --no-floppy --fs-uuid --set=root 7812ECF212ECB5F2
fi
parttool ${root} hidden-
chainloader +1
how can i fix this?
 
Solution
You're saying Grub menu contains wrong partition for your Windows setup. With Grub Customizer, it's easy to edit this entry. You can even duplicate it, and change /dev/hda1 to /dev/hda2 (or whatever the difference is), save and reboot.