At first I had an SSD with windows 10 in it and a HDD for data. Then I partitioned the HDD for data for windows and 150 GB with Linux mint. I was booting through grub by choosing either windows or Linux mint.
Then I bought another HDD so I transferred windows data on the new HDD and I proceeded to install ubuntu on the old HDD.
During the Ubuntu installation I formatted the whole HDD and I installed Ubuntu no problem. However now I can't boot in windows as there is no windows entry in GRUB menu. I searched solutions in stackoverflow but nothing worked.
Any idea?
Edit1: From what I understand I have to make a boot partition in the HDD in order to see windows from GRUB again. Anyone has directions for this?
sudo update-grub
in a terminal window of Ubuntu (and reboot)? Of course, at the update operation, the SSD with Windows must be connected. – sudodus Jun 27 '20 at 15:48
– Nick Alexis Jun 27 '20 at 15:52Sourcing file `/etc/default/grub'Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-39-generic Found initrd image: /boot/initrd.img-5.4.0-39-generic Found linux image: /boot/vmlinuz-5.4.0-26-generic Found initrd image: /boot/initrd.img-5.4.0-26-generic done
karel's advice didnt help it says "error: no such device: /EFI/Microsoft/Boot/bootmgfw.efi"
– Nick Alexis Jun 29 '20 at 05:27sudo update-grub
; 5. If it does not 'see' Wiindows' and add it to the grub boot menu, maybe the problem is that Windows was shut down in semi-hibernation mode alias 'fast startup'. In that case you might fix that using the repair mode when booted into a Windows installer drive.