Install bootloader to new drive

So I have 2 drives

  1. Is the Windows drive along with the Zorin bootloader
  2. Zorin root and home drive.

Windows drive failed and I bought a new disk.
How do I install a new bootloader to the new drive?

I booted with the Zorin OS installer and opened boot repair but there is no option to install bootloader. And in the zorin installation process, there is no option to install bootloader only not unless you also want to install the OS

You can boot from the LiveUSB, then mount where you need to install grub and install it with a terminal command.

You can use lsblk to list the blocks.
You need to know your /dev/Device-ID
For example, if you are installing to /dev/sda3
or to
/dev/nvme01p3

Once you have that, mount the partitions using terminal. I will use my example of sda3 above - change this to your actual device ID

sudo mount /dev/sda3 /mnt/boot/efi

Change Root

sudo chroot /mnt

Then run your grub-install commands.

You could try it with simply run Boot Repair because it creates it - or it should create it.

Just to confirm, I must install it to the same partition of EFI of windows (usually 100mb) right?

Yes, you want to keep your EFI entries all together in the EFI partition - I recommend that partition be around 500megabytes in size.
If it is too cramped, a file may run out of space during write and that can create a situation where you cannot boot.

@Ponce-De-Leon. Your recommendation was invalid at first because all buttons here are grayed out to me.

But @Aravisian gave a clue that I need to mount the disks.

After that, I still couldn't make it work using grub commands.

But Repair Boot buttons and disks went available after mounting them.

I have installed grub to the new SSD.
Thanks for your help.

2 Likes