I use a dual boot system Ubuntu/Windows. Windows for gaming only, Ubuntu for serious work. The OS's share one SSD: Ubuntu on /dev/sda5, Ext4 partition and Windows on /dev/sda4, ntsf partition. In addition one separate SSD /dev/nvme0n1p1, ntsf, shared, to shuffle files and images between the two OS's (but mostly used for storing large windows game files). This setup has been running merrily for quite a while. After Win 11 upgrade there has risen a need for a separate windows drive, certain games won't run from shared drive. There lies my question: If I delete partition /dev/sda4, re-format to ext4. Shut down the computer, Install a new SSD and re-install windows on the new drive - Will the Grub boot loader recognise the new drive after reboot or just boot straight into Ubuntu? The uefi/boot CSM is disabled, secure boot is set to other OS and boot option 1 is set to Ubuntu on "old" SSD. I would love to have the same boot loader option as before, with Ubuntu as priority and Windows as second option when all is done.
Asked
Active
Viewed 39 times
grub-update
or if it isn't availsudo grub-mkconfig -o /boot/grub/grub.cfg
expect your Uefi starts only windows then you have to live boot and chroot to your Ubuntu partition and install grub again – lucki1000 Jul 22 '23 at 12:09