Clone hard drive to ssd using linux2/11/2024 ![]() ![]() Important: Don't do anything to the other Windows partitions. ![]() Largest partition) to the Windows data partition on new disk Y (again, the Start Linux GPARTED and copy on disk X the Windows data partition (the ![]() ![]() Important: the unallocated space consumes the initial sectors on disk Y.īoot a Linux disk, flash disk recommended. Is unallocated space before any other partitions on the disk, usually 500GB is The desired location on disk Y for the Windows install The target disk Y with sufficient disk space gets a new Windows 10 install Windows or GPARTED, deleting data to gain space. Other issues: disk errors, hibernation file, swap file, partition shrinking in The size required to be smaller than the target partition size. The Win 8.1 example source partition is 87.38GB. This partition contains all appsĪnd settings, windows 10 system files, documents, downloads, user files, etc. Windows 10 might have partitions ordered differently: the largest partition can be first.Īssume the source partition is on disk X. Displayed in the image below are 4 partitions for Windows 8.1. To get a bootable Win 10/8/7 disk, especially GPT disks, but also MBR disks, then try If earlier suggestions do not work for you, to copy several partitions with GPARTED Note that windows may report a conflict or have other issues if it detects the presence of the new and old drives because they share the same GUID so you should remove the old one (or format it if you don't need the backup). You should now have a copy of the drive that you can install into the machine. You can now use GParted to resize the main windows partition to use all of the space on the new disk if necessary. Go back to the GParted program and select the reload devices menu option and verify the copied drive shows up correctly. #if it is corrupted enter the following commandsĮ #copy partition structures to end of disk #will start interactive tool and warn you about corrupted partition Depending on the drive configuration you may need to follow these steps even if you don't get a disk full error. You can fix this in the terminal using the gdisk tool (see here). This is fine, but it will probably mean your new main partition is corrupted. If your new drive is smaller than the original drive then the dd command will end with a disk full error. Sudo dd if=/dev/sda of=/dev/sdb bs=16M status=progress Enter the following command: # Double-check the device locations or you could corrupt your drives! This will take a long time (but less time the more you can shrink the partition on the original drive). Now open the terminal and use the dd command to copy your old drive to your new drive. (I suggest that you do NOT MOVE your main partition, just SHRINK it or you may be unable to boot from the drive again.) If your current drive is bigger than the new one, you should now use GParted to shrink its partition and move any other partitions so that the sectors from the first through the last partition can fit on the new disk. Double click GParted to start it up and use the File -> Devices menu to verify the device name of each drive (usually /dev/sda for the internal drive and /dev/sdb for the external drive, but you should verify this or you could write over the wrong drive). Once GParted Live has started up its graphical interface, you will see icons for the terminal and GParted program (there's also an option to change the resolution to something more readable if you have a hi dpi screen). In most cases, you can just press enter to accept all of the defaults. During startup, you might be prompted about keymaps, language, etc. Once the computer restarts and you are in the UEFI settings, you should be able to set an option to make the computer boot from the USB stick.Įxit UEFI and you will boot into GParted Live. Now reboot your computer using the advanced restart options (start menu → power menu → hold the shift key + press restart) to get into your UEFI options and change your boot options (from the advanced restart options, choose Troubleshoot → Advanced options → UEFI firmware settings). Plug in your USB stick and then run unetbootin to install the downloaded ISO to your USB stick. Start your PC and log in normally with both new and old drives attached. Here's how I do it using open-source software, a USB stick, and an external drive enclosure to temporarily host your new SSD. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |