Windows 10 boot settings are no longer available once Ubuntu is installed on a different hard drive.
Windows 10 boot settings are no longer available once Ubuntu is installed on a different hard drive.
I tried setting up an empty 1 TB hard drive on my PC and installing Ubuntu 18.04, expecting a dual-boot setup. The installation went through, but when I power on the machine, it always boots into Ubuntu by default. I was worried I might have mistakenly installed it on the main SSD that runs Windows. After checking the drive in the Ubuntu file system, everything looks fine with the Windows files intact. Anyone know how to resolve this issue?
Update GRUB on the Ubuntu disk to add Windows support. Alternatively, at startup you can instruct the system to boot from the Windows drive. To test the update, open a terminal and run: sudo apt-get install os-prober update-grub. Ensure the process displays Windows after execution. Reboot and select the option when prompted.
Generating grub setup file... Detected Linux image: /boot/vmlinuz-4.15.0-42-generic. Initialized initrd: /boot/initrd.img-4.15.0-42-generic. Linux image loaded: /boot/vmlinuz-4.15.0-29-generic. EFI firmware menu entry added successfully.
It seems you missed a step. Once you install os-prober, run sudo os-prober and then attempt sudo update-grub.
The Linux installation checks if the Windows storage drive is recognized before proceeding.
Both solid-state drives appear in different directories. The operating system with Windows 10 is the one you're focusing on.
I notice the first boot device is listed as UEFI:ubuntu, followed by an internal boot device, then a third boot device also named ubuntu. Under hard disk drives it shows the order as 1st Boot - ubuntu, 2nd Boot - UEFI OS (probably Windows), and 3rd Boot - ubuntu. Adjusting this sequence hasn’t changed the outcome, which is why you keep landing on Ubuntu.