#How do I reinstall grub and put in a linux hard drive?

17 messages · Page 1 of 1 (latest)

faint vigil
#

So here's the situation: I first installed Windows 11 on my NVMe M.2 and then I installed Linux Mint on the separate SATA SSD. No problems there; however, I noticed that my grub bootloader lives in the Windows SSD. My mistake was not removing the physical NVMe M.2 on the motherboard while installing Linux Mint. I don't want to clean install Linux Mint again because I am done setting up my Linux Mint. Is it possible to migrate the grub bootloader from the Windows 11 SSD to the Linux SSD? 'Cause I have heard that Windows updates tend to mess up the GRUB bootloader. TYIA!

merry wyvern
#

Yes you can

#

you'll need to boot live usb,

#

then copy the ubuntu folder from the windows drive to the 530 MB partition on the smaller drive sda

#

then go in gparted, and make sure sda1 has the esp and boot flags set

#

then take out nvme

#

then boot live again, run Boot Repair tool

#

it will finalize loader onto sda

#

then test boot linux.

#

(from sda)

#

then put nvme back, delete ubuntu folder from its EFI partition

#

then boot back to sda linux, and do sudo update-grub so it detects Windows and updates the efi on sda1

#

make sure ur bios is preferring the 'ubuntu' entry on sda1, and not the old ubuntu entry on nvmep1

#

or just leave it all as is cuz u can just run boot repair if windows messes up. keep rescue usb in drawer

faint vigil
#

Is there a video? I don't want to mess up my partitions