I have some specific needs and have scoured the internet, as well as this site, to figure out what I have to do. I would like to check to see if I have the right idea and if there are suggestions. I have two SSDs and two HDDs. I have one SSD and one HDD for Windows 10 (call them SSDWin, HDDWin) and the same for Ubuntu Server 17.04 (SSDU, HDDU). The Windows side is entirely for entertainment, games, movies, web, etc. The Linux side will be for learning Linux, learning programming, possibly some entertainment. My setup is Ryzen 1700X CPU, ASUS X370 Pro MB, 16 GB RAM.
My wife wants nothing to do with Linux. So, each time the computer starts up it should either go directly to Windows or give her a choice of OS. I will also need to access the computer remotely and have the use of either operating system, with the ability to switch between them during a remote session. I don't need Ubuntu to have access to the Windows stuff and vice-versa, though it would definitely be a plus if Ubuntu could access the media in HDDWin.
What I have so far is this:
- Disable Fast Boot in Windows.
- Disconnect SSDWin and HDDWin.
- Connect SSDU and HDDU.
- Install Ubuntu Server on SSDU.
- Reconnect SSDWin and HDDWin.
- Reboot into Ubuntu.
- ?
- Remotely switch between OSs using the advice here: How to remotely control which OS Grub boots?
I am unsure what to do in Step 7 to set up the dual boot with my needs above. I have read something about doing a Grub update to get Ubuntu to recognize Windows, but am unsure what that entails. Thanks.
sudo update-grub
If UEFI you also have the UEFI boot menu. – oldfred Aug 26 '17 at 17:26sudo update-grub
in terminal. Could install GRUB in all SSDs/HDDs, but better not. More later if no other answer. – vasilis74 Aug 26 '17 at 17:44GRUB_TIMEOUT=5
, the other to set the default OSGRUB_DEFAULT=
the Windows OS name, as it is in the GRUB menu, e.g.Windows10. 8)OK, I did not know the
sudo grub-reboot 4 && sudo reboot, you can do it to go Linux > Windows. Run
sudo update-grub` after any /etc/defaul/grub edit, as it has been told. – vasilis74 Aug 26 '17 at 18:57sudo grub-reboot 4 && sudo reboot
the number 4 won't be 4 forever, after new kernels upgrades the GRUB numbers change. You will need to use from the link you postedgrub-reboot N
whereN
is the Windows boot entry. The exact name is in /boot/grub/grub.cfg, mine for dual boot is 'Windows 7 (loader) (on /dev/sda2)'. – vasilis74 Aug 26 '17 at 19:54