0

I have Western Digital 250GB Blue SSD. I want to transfer my operating systems to it. I have Fedora on one 1TB hard disk and Windows 7 on another one 1TB hard disk. I don't know where the GRUB2 boot files are.

Will locating them, and using dd to clone GRUB2 first, then Windows 7 and Fedora work?

Please help. Thanks

1

2 Answers 2

0

Moving Windows and Linux installations is too broad a topic to cover in a single answer. In brief, you need to ensure the following after physically moving and resizing the partitions:

  • BIOS boot settings now point to the new drive
  • GRUB2, or whatever boot loader you're using, is installed into the new drive's boot metadata (MBR/PBR/whatever) and can find the new installations
  • Assigned drive letters and mount points stay valid / change them appropriately
    • In Windows, assigned drive letters reside in HKLM\System\MountedDevices. The format of the entries there is undocumented. You can either
      • edit them with some programs that run from a boot CD (I know that Acronis Disk Director can), or
      • delete the entries under the key altogether, then strategically unplug disks and optionally hide partitions so that Windows kernel assigns letters right at boot time (at least, for the system partition - others you can change afterwards)
    • In Linux, mount points are at /etc/fstab except the root FS which is passed to the kernel by the boot loader. Partitions can be identified by either their device name or a filesystem-specific ID or label.
5
  • How would I find the assigned drive letter and mount points of my OSes? Do you recommend cloning Windows 7 or installing new one, as they seem to contain configurations for SSD.
    – want2code
    Aug 18, 2017 at 19:07
  • @want2code see update. I told you, it's too much to explain all at once. Aug 18, 2017 at 19:23
  • @ivan_pozdeev Please do explain
    – Ramhound
    Aug 18, 2017 at 19:24
  • @want2code Do you recommend cloning Windows 7 or installing new one - You said in the freakin' question that you need to clone. Installing anew is a different task altogether, with a completely different answer! Aug 18, 2017 at 19:29
  • @want2code see the update Aug 18, 2017 at 20:07
-1

Instead of moving everything, it will be better to use the Fedora backup software and make a backup of your OS and than install a new fresh OS on the SSD. With Windows 7, use the "backup and restore menu" in "control panel" and make a copy of the whole "C" drive (tick include a system image of drive C), than restore it to the new install.

Before you erase anything from the drives, first test is everything OK with the SSD.

This tutorial shows how to backup Windows 7: https://www.howtogeek.com/howto/1838/using-backup-and-restore-in-windows-7/

1
  • 1
    You should quote and cite all relevant information from your link. Link-only answers are subject to be removed by the community. Your welcome to come into the chat to discuss how to improve some of your answers
    – Ramhound
    Aug 18, 2017 at 20:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .