Make sure you replace each instance of “/dev/sdb” with your actual Windows partition names. This will automatically detect and add Windows 10 in the grub bootloader. Reboot your system and take a look at the Grub bootloader. If the above steps were successful, Ubuntu will show you Windows 10 as a boot option.