I installed Mint and Windows in different partitions on the same disk about a year ago, I had updated Mint and never had to go back to Windows until now some apps that I need to uwe, and when I tried to boot the Windows OS it doesnt do anything, like the OS isnt there.
The config shows that it the partition is in hd0, gpt2 but when I run a ls on the grub all the gpt’s show on hd1.
Hi Oscar,
Grub does not differentiate between HDD and SSD devices, so
everything is labelled hd, beginning eith hd0
Do you perhaps also have an SSD disk?
We need to see the outout of lsblk which @ihasama asked for.
I would suspect that your Mint update has done an update-grub and that it has not found the Windows OS.
What you could check is
cd to /etc/default
and look at the file called grub
does it contain a line grub_disable_os_prober=FALSE
if not, add that line
then do update-grub
then reboot and see if your grub menu contains windows.
How many disks you have? Sda2 has the efi boot. In your original message you said you have one disk with win and mint on different partitions. What are the sdb-sdf?
Can you run sudo os-prober separately. Does it find anything? Or please list what sudo update-grub shows
sudo update-grub
Sourcing file /etc/default/grub' Sourcing file /etc/default/grub.d/50_linuxmint.cfg’
Sourcing file `/etc/default/grub.d/init-select.cfg’
Generating grub configuration file …
Found linux image: /boot/vmlinuz-5.15.0-97-generic
Found initrd image: /boot/initrd.img-5.15.0-97-generic
Found linux image: /boot/vmlinuz-5.15.0-94-generic
Found initrd image: /boot/initrd.img-5.15.0-94-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings …
done
So grub(osprober) detects the Windows boot manager
but it is adding it to the UEFI bios, instead of to the grub menu?
I think you need to go to the BIOS and boot the windows
bootloader from there.
I do not understand why it did not make a grub menu entry?
Select the Windows Boot, go into edit mode (type e), then you can see the grub.cfg file entry for Windows.
Inspect it and see if you can see what is wrong… I cant even guess, I have no experience with Windows, but if it was Linux I would look at the location of the root filesystem and the kernel boot parameters. If you can see the mistake, you can
edit it, then ‘escape’ ( ie ESC key) and it will boot.
Editing changes are temporary… next time you boot they will be gone. To make a change permanent you have to change the grub configuration in Linux.