I just installed a new SSD and I want to move all the files from the HDD to my SSD. I cloned the partitions from the hdd to the ssd. I run on a dual boot - windows 10 and ubuntu 15.10. So, now I have the exact same files on the ssd and hdd. What I want to do is change the MBR of the ssd drive and make it the default drive that I boot to.
This is an image of the partitions on the SSD drive:
When I boot right now, it goes to the grub2 that sits on the HDD drive.
What do I need to do in order to boot from the ssd drive and have the grub2 point to the windows partition(/dev/sda2) and linux partition(/dev/sda5) instead of the hdd drive (/dev/sdb*)?
EDIT:
This it the fstab of the new partition: (sda)
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda8 during installation
UUID=fa170041-7a3a-487f-8b90-3551fa4c132a / ext4 errors=remount-ro 0 1
# /home was on /dev/sda10 during installation
UUID=358504e1-f708-49bf-9c21-c407ab8538a2 /home ext4 defaults 0 2
# swap was on /dev/sda9 during installation
UUID=7a87f53e-4f86-4ebb-8a5e-02952d00cf8f none swap sw 0 0
UUID=4CAF-DDF2 /boot/efi vfat defaults 0 1
This it the fstab of the old partition: (was sda and now it is sdb)
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda8 during installation
UUID=36e9e347-3000-4771-bfb7-d950b67b1be9 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
#UUID=4CAF-DDF2 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda10 during installation
UUID=358504e1-f708-49bf-9c21-c407ab8538a2 /home ext4 defaults 0 2
# swap was on /dev/sda9 during installation
UUID=3443992d-49a2-4687-9e83-4bfa5ddcb7e4 none swap sw 0 0
UUID=4CAF-DDF2 /boot/efi vfat defaults,noauto 0 1
What I can see is that the operating system is booting from the old partition(sdb) but the /home directory is of the new partition(sda). My problem is, how do I make the grub boot on the new operating system
grub-install <target>
? There is a lot of information available. For example dedoimedo.com/computers/grub-2.html#mozTocId232162 gives an explanation on GRUB2. Perhaps a bit out-dated but a nice start.grub
. install rEFInd. stop wasting your time w/ redundant bootloaders.