I have a laptop (ASUS harman/kardon) that has two drives, a small SSD, and 1TB HDD. It came with Windows installed on the SSD, and I installed linux on the HDD.
Since I almost exclusively use the linux partition, is there any way to simply switch the linux partition over to the other drive and put Windows on the HDD (I don't want to lose my windows license).
I would like to keep the linux image how it is, I'm fine if I have to restore windows from scratch.
I understand that I may need extra space, and I have a large enough external drive to accommodate both partitions.
So is it possible to swap linux to the SSD and Windows to the HDD without having to start over on both?
Attempt 1
I shrank the linux partition on the HDD to make room for a windows partition. I then created a windows install disk to install Windows on the HDD. Unfortunately, this install disk picks up the other Windows install. It also only gives me an "Install now" button, which is very useless as I have no clue where it will install.
Looks like I have to physically remove the SSD, save my linux stuff from the HDD somewhere else, and then run the windows install and let it take control (because what kind of user needs control of the operating system anyways?). Any other ideas? Is there a way to force Windows to install somewhere specific?
Update
I made a partition on the HDD and managed to install windows on it. I then reformatted the SSD (leaving the boot partition intact) and used rsync (from the linked question) to copy all the data from the old drive to the new drive.
I then ran sudo grub-install <SSD>, but on boot, grub picks up only the installation on the HDD (and also windows boot manager, which it always has).
Am I missing a step? Do I somehow need to run grub-install when booted from the new 'install'? If so, how do I boot from it?
Edit: Looks like I need to chroot to the new 'install'. However, when doing this, I lose the disk (/dev/nvme0n1) that I want to install grub onto. Is there a way to set up grub so that when it boots and this disk exists (I know it will), it will work?