Ubuntu – Moving GRUB from HDD to SSD – Dualboot Windows 8.1 + Ubuntu

dual-bootgrub2hard drivessd

Recently I acquired an SSD and decided to install Windows 8.1 and Ubuntu on it and use my HDD as Data Storage. However, I seem to have installed GRUB onto the HDD and not the SSD, which has not created any problems – both Windows and Ubuntu work just fine – but I would like to move GRUB to the SSD, so that if I need to replace my HDD (clicking…) I will not have to format everything and start over.

I ran bootinfoscript and the result said "Grub2 (v1.99) is installed in the MBR of /dev/sda". My HDD is dev/sda and my SSD is dev/sdb.

So how can I do that? I need to move it completely so that removing the HDD won't harm the installation.

Also, if you would like me to post anymore information just tell me what to do and I will post it.

Best Answer

You can install GRUB to your SSD using the command sudo grub-install /dev/sdb.

Related Question