SSD - Install and Transfer the Operating System

How to Physically Install a SSD and Transfer the Operating System


Introduction

If you never owned an SSD, you have missed something. Yes, they are not cheap, but Dollar per Dollar there is no other piece of hardware that can give you as much additional performance than an SSD.

Because SSDs are expensive, their current use is for placing the operating system. That’s how you get the best mileage. Although XP and Vista can be installed on SSDs, it is recommended to use them for Windows7, which is the first system to support Trim.

For desktops, an SSD with a 60GB capacity is usually sufficient. The user data can be moved to the HDD – I will explain the procedure later. Should you have very large programs, e.g., games, you should move their program files during the installation of the game to the HDD too.

For laptops, the situation is more complicated because you usually have only one disk bay. I use 80GB and 90GB SSDs on my laptops. In addition, I use the HDD that I recovered from the laptop after I installed the SSD in an external USB enclosure. But, if you move around a lot with the laptop, that may not be so convenient and a bigger SSD (120GB or 250GB) may be in order (budget allowing).


Hardware Installation

For a desktop, you will need a bracket if it is a 2.5” SSD (like most today). But, there are also 3.5” SSDs that will fit without adaptor brackets into the disk bays. You also need a cable to attach the SSD to the motherboard. For electricity, there is usually an extra plug at the PSU which you can use for the SSD’s.

Once you have all those bits, you can install the SSD in an available disk bay – or if none available, some self-adhesive Velcro will also do. The SSDs are light and do not produce any vibration or heat.

For a laptop, you need an external enclosure that attaches to a USB port. That will allow you to make the initial SSD setups. The one I linked attaches via USB2 and eSata, which may be practical later to use as external drive with the HDD that you recovered from the laptop. Also for hot swapping bare bone HDDs. But there are cheaper enclosures for USB2 only and also some that allow attachment to USB3.

Transfer the Operating System

There are two ways to transfer the operating system from your current HDD to the SSD:
1. The Geeky way which comes for free and
2. The easy way that costs $19.95.

1.The Geeky way requires the following steps:

Prepare the SSD – You first have to initialize the SSD to create the MBR. You can do that with Disk Management or with this program (which you will need later anyhow).

Then you need to align the SSD and define an active partition on it. You use an elevated Command Prompt with the following commands:

Diskpart
List disk
Select disk n (where n is the number that was given for your SSD in List disk)
Clean
Create partition primary align=1024
Format fs=ntfs quick
Active (assuming you want to install an OS)
Exit

Note: If you are more comfortable working with Disk Management, you can also define a primary active partition with Disk Management. On a SSD, the partition will be automatically aligned by 1024.


If you want to verify that the alignment is correct, you use these commands:

Diskpart
List disk
Select disk n
List partition



You should see a result like this:

Partition ### Type Size Offset


------------- ---------------- ------- -------
Partition 1 Primary 59 GB

1024 KB - but 64KB or any number divisible by 4 is also good. The offset has to be divisible by 4.

In Windows7, you may have the 100MB active boot partition. The easiest way to deal with that is to move the bootmgr to the C: partition using EasyBCD. That you do on your HDD before you transfer anything to the SSD. Then you do not have to worry about it and you need only transfer the C: partition to the SSD.


But if you care to keep the 100MB partition, then the partition you just created on the SSD is for that 100MB partition. The next step is to shrink the partition you just created to a 100MB size (make sure it is not any smaller). With Disk Management you will have trouble to do that. I recommend this program for the operation.

From the free space you gained, you create the C: partition for the OS. This partition must not be active and need not be a primary (because the 100MB partition contains the boot manager).

Alternatively and easier is if you first create the 100MB partition with these commands:

Diskpart
List disk
Select disk n (where n is the number that was given for your SSD in List disk)
Clean
Create partition primary size=100 align=1024
Format fs=ntfs quick
Active
Exit

Note: The unit in the size parameter is MB

After this action you can use Disk Management to create the C partition from the remaining unallocated space. That can be a logical partition.

If there is no 100MB partition, things are easy. The partition you created with Command Prompt will receive the C partition including boot manager and all.

There may be more partitions on your factory HDD – e.g., the Recovery partition and a Tools Partition. Those you should not transfer to the SSD because of space constraints. I would back them up – e.g., with an imaging program. The Recovery Partition you can also burn to DVDs.

The OS transfer

This is done with an image. There are a variety of free imaging programs (e.g., the free editions of Macrium, Paragon, Acronis, etc.) that are suitable for the task. You can also use the Windows7 imaging, which has the advantage that it deals with the 100MB active boot partition automatically. Disadvantage is that you never know exactly what it does.

You image your partitions to an external disk (you may have to assign a drive letter to the 100MB partition so that the imaging program can identify it) and then pull the images back in to the SSD (using the bootable recovery program of the imaging program).
The recovery is partition by partition. So you have to make separate runs for the 100MB partition (if any) and the C: partition.

Note: Many free imaging programs cannot shrink the originating partition to fit into the usually much smaller C: partition on the SSD - even if the amount of data in that partition would fit. In that case you will need to shrink the C: partition on the HDD prior to imaging it. The HDD C: partition must be smaller or equal in size to the designated partition on the SSD. For that operation I also recommend this program because Disk Management might not be able to shrink it enough. Note: Free Macrium can image to a smaller disk if the data fits.

It is, of course, understood, that the amount of data on your HDD C: partition must not exceed the capacity of the designated C: partition on the SSD. Should you have more data on your HDD C: partition than the size of the SSD C: partition can hold, I suggest you first create a data partition on the HDD system and move the user data there. Here is my video tutorial that explains how this is done. When you finally are on the SSD system, you then right click on the user folders in the data partition (Documents, Pictures, etc.) and Include them into the appropriate library. That approach does not require you to move the user folders later.

Next step is to change the boot sequence in the BIOS to set the SSD as second boot device (leave the CD/DVD reader as first boot device) and, hopefully, your system will boot.

2.The easy way for transferring the OS requires you to purchase this program. It does everything for you – alignment, deals with the 100MB partition, transfers C:, shrinks the originating partition, etc. All you will have to do is change the boot sequence.

Note: Before you activate the SSD, it is recommended to set the BIOS to AHCI. Best time to do that is just before you change the boot sequence. Once Windows7 is running, you make the corresponding settings in the OS. Here is a tutorial on how to do that.
Many people claim that there is a significant performance gain with AHCI. I, however, did not see that. But it may be different from system to system.

Settings after the OS transfer

Disk Defragmentation makes no sense on an SSD. For a laptop, go into Services, navigate to Disk Defragmenter, right click on it and go to Properties. Here you set the service to Disabled.
For a desktop, you may want to disable defrag in the Disk Defragmenter and only for the SSD so that the remaining HDDs can still be defragmented.

Note: As long as Defrag Service is turned off, you cannot shrink any partition. The partition shrink process requires the Defrag service. If you need to shrink a partition later, turn the Defragmentation Service temporarily on.

Hibernation File – most of us do not use Hibernation, but Sleep instead. But, the hiberfile takes precious space on your SSD – to the same tune as the size as your RAM. To get rid of it, run the following command in elevated Command Prompt: powercfg –h off. If you ever want it back, it is powercfg – h on.

Superfetch – many “experts” suggest to turn Superfetch off. I think that is not appropriate. Fetching a program or data from RAM is still a lot faster than fetching it from a disk – even from an SSD.

There are no other settings that are necessary. On the SSD forums you will find a lot of tweaks. I recommend you stay away from them.


Move the user folders to the HDD

To move the user folders to the HDD is very simple. Create a Data partition on the HDD. Define folders in that partition – e.g., Documents, Music, Pictures, etc. One for each folder you want to move off the SSD. The name of those folders can be anything. The system will rename them anyhow. It is just more obvious if you call them by the same name as the originating folders.

Then, open the Explorer and right click on, e.g., My Documents folder (not the Documents Library) in the left pane. Go to Properties and click on the Location tab. Here you click on Move and navigate to the corresponding folder in your Data Partition on the HDD. Then you Select that folder and Apply it.

Very Important: You must move the SSD folder to the corresponding Data Partition folder – NOT to the root of the partition itself. That would create a mess.








 
Last edited:
Thanks for the great tutorial. I'm about to try it out. My system is Win 7 Home Premium SP1 32 bit with 300 GB HDD divided into four partitions C:, D:, E:, F:. Just recently I bought two new drives: one is Samsung SSD 850 PRO - 128 GB, another is HDD 1 TB.

What I want is to clone my C: drive (58.13 GB) to SSD (119.24 GB), and to continue to use my old and new HDD drives. When the new Windows 10 arrives, I want it to be installed on SSD as well.

I have already initialize my new drives in Disk Management window.
My first question - what should I do with partition called WinXP (14.0 GB) on my old drive (see the attached capture)? As far as I can recall, it's a redundant partition that was created long ago by Acronis Backup & Recovery (as a hidden partition) and never used since I uninstall the application. Some time ago I shrunk it from ~50 GB to the current size of 14 GB with 7.89 GB free space. Is it possible to see the content of this WinXP partition ? Can I just delete it?

I have already applied the AHCI in windows registry, but not in BIOS yet. I'll set the BIOS to AHCI prior to activating SSD. My second question - does it matter that in my registry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services
the value msahci was initially set to 0 (zero). Actually, I only changed the iaStorV from 3 to 0.
 

Attachments

  • 2015-06-08_Drives.jpg
    2015-06-08_Drives.jpg
    79.8 KB · Views: 90
  • 2015-6-7_Disk-Management.jpg
    2015-6-7_Disk-Management.jpg
    184.3 KB · Views: 95

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Home Premium 32bit
CPU
Intel Core i5-2500K
Motherboard
Asus P8Z68-V
Memory
4 GB (2x2) DDR3-1333 Ram
Graphics Card(s)
ASUS nVidia GeForce GT630 2 GB DDR3 128 bit
Hard Drives
300GB Seagate Barracuda 7200.9 16MB SATA-II NCQ
Antivirus
AVG free
Browser
Chrome
XP is booting the Win7 drive as signified by the System Active flags on it's partition.

Move the Bootmgr - Move to C:\ with EasyBCD - Windows 7 Forums
following the steps exactly in the tutorial.

Once Win7 reboots check again Disk Mgmt to see if the System Active flags are now on C. If so it is ready to be cloned or imaged over to the 120 gb drive by itself without any other.

To do this easier I would suggest using our favorite free imaging app here Macrium Imaging - Windows 7 Help Forums. Install Macrium and save the image of C to the large drive you have in DISK1, after formatting it in Disk Mgmt for storage: Partition or Volume - Create New

Then from the Macrium app select Recover, browse to the image, select the SSD as target drive. Drag the C partition to the SSD. From the link that appears just below it adjust the size to take up the whole 120gb drive. Then apply the image with all default settings.

Now reboot into BIOS setup to change the SSD to be first hard drive to boot, reboot into the new SSD Win7.

If the SSD starts to get crowded with the OS and programs, move the User folders to the hard drive following User Folders - Change Default Location.
 
Dear gregrocker, thanks for the reply.

I probably wasn't patient enough, and have just finished migrating my win7 o/s to the new SSD using Paragon Hard Disk Manager 15 Premium. All went smoothly and I'm already booted from SSD.

Granted that, there are two issues I'd like to clear up.

1. My SSD is currently partitioned to: C: and WinXP (see the attached captures) as shown in Computer Management.
And the WinXP partition is also on my old HDD now shown as WinXP (H:) in Windows Explorer (capture I). Now I can access its content (shown in capture II).

Is it still possible to run the EasyBCD to move/copy the bootmgr to C:/ (on SSD) ? Although, looking at the content of WinXP (H:) - I don't see it there.

2. Re: AHCI

As mentioned in my initial post, I was planning to set the BIOS to AHCI prior to activating SSD. So, after migrating my win7 o/s to SSD, I went to BIOS and was unable to find AHCI in my BIOS settings. Also, I noticed that my SSD was already set as second boot device in the boot sequence. CD/DVD reader remained as the first boot device.

How could I verify if AHCI is enable/disable on my PC ? Or how to find the setting for AHCI in BIOS ?
 

Attachments

  • 2015-06-09_My-PC.jpg
    2015-06-09_My-PC.jpg
    111.3 KB · Views: 83
  • 2015-06-09_mysterious-ex_WINXP-partition.jpg
    2015-06-09_mysterious-ex_WINXP-partition.jpg
    56 KB · Views: 81
  • 2015-06-09_Disk-Mngmt.jpg
    2015-06-09_Disk-Mngmt.jpg
    238.8 KB · Views: 80

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Home Premium 32bit
CPU
Intel Core i5-2500K
Motherboard
Asus P8Z68-V
Memory
4 GB (2x2) DDR3-1333 Ram
Graphics Card(s)
ASUS nVidia GeForce GT630 2 GB DDR3 128 bit
Hard Drives
300GB Seagate Barracuda 7200.9 16MB SATA-II NCQ
Antivirus
AVG free
Browser
Chrome
Another capture of My computer after I have aligned partitions:
 

Attachments

  • 2015-06-09_mysterious_WINXP_H.jpg
    2015-06-09_mysterious_WINXP_H.jpg
    110.5 KB · Views: 80

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Home Premium 32bit
CPU
Intel Core i5-2500K
Motherboard
Asus P8Z68-V
Memory
4 GB (2x2) DDR3-1333 Ram
Graphics Card(s)
ASUS nVidia GeForce GT630 2 GB DDR3 128 bit
Hard Drives
300GB Seagate Barracuda 7200.9 16MB SATA-II NCQ
Antivirus
AVG free
Browser
Chrome
1. I would not worry too much about AHCI. It would give you some minor performance advantage but it is not a critical item. IDE is just as good.

2. Do what Greg suggested. Copy the bootmgr to C and then you can delete the XP partition.
 

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
This is how my Computer Management looks after I copied the Bootmgr to C:/ using EasyBCD.
Is it OK? Can I delete the WinXP partition now?
 

Attachments

  • 2015-06-09_215344.jpg
    2015-06-09_215344.jpg
    225.2 KB · Views: 66

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Home Premium 32bit
CPU
Intel Core i5-2500K
Motherboard
Asus P8Z68-V
Memory
4 GB (2x2) DDR3-1333 Ram
Graphics Card(s)
ASUS nVidia GeForce GT630 2 GB DDR3 128 bit
Hard Drives
300GB Seagate Barracuda 7200.9 16MB SATA-II NCQ
Antivirus
AVG free
Browser
Chrome
It's OK. The XP partition is no longer needed. The question is what you are going to do with the 14GBs after you deleted the XP partition.
 

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
Thanks for the prompt reply, whs.

I am glad that I finally can reclaim the space. I'm not sure what to do with it yet. Any suggestions?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Home Premium 32bit
CPU
Intel Core i5-2500K
Motherboard
Asus P8Z68-V
Memory
4 GB (2x2) DDR3-1333 Ram
Graphics Card(s)
ASUS nVidia GeForce GT630 2 GB DDR3 128 bit
Hard Drives
300GB Seagate Barracuda 7200.9 16MB SATA-II NCQ
Antivirus
AVG free
Browser
Chrome
The screenshot above after you tried moving Bootmgr shows it did not move. Otherwise as I said eariler both the System and Active flags would be on C and not still on XP. Please look closely. The System flag signifies which partition is actually booting the OS.

Had you rebooted the PC when you posted the last screenshot? Do so now and check again.

If so and it hasn't moved then try the steps again and this time don't miss any.

If that fails the Mark Partition C Active, boot the Win7 disk or System Repair Disk to run Startup Repair - Run 3 Separate Times until the System flag moves to C. You must unplug the data cable from all other drives before doing this.

You can then delete the XP partition. It isn't enough space to bother extending XP into.

If you want to know what to do with extra space, you can shrink C to make a Data partition to its right, then move the User folders there. This way you can keep a backup image of only the OS and Programs so that if it ever becomes irreparable, you can reimage C in 20 minutes and your data will still be safe and current in its own partition which would not be the case if the data is kept on the image which may have been made months earlier. User Folders - Change Default Location
 
Greg seems to be seeing something that I don't see. But I am half blind. So you better check.
 

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
Dear gregrocker, thanks for the reply.

I am confused, because there are two partitions named WinXP.
One is on SSD called WinXP - marked as Healthy(System, Primary Partition)
and another is on HDD called WinXP (H:) - marked as Healthy(Active, Primary Partition)

The previous capture was taken prior to reboot. Here is the capture after reboot.

Now there are WinXP (J:) on SSD - Primary Partition
and WinXP (H:) on HDD - Active, Primary Partition
But since hdd drive isn't in the boot sequence, it doesn't matter, unless I go back to boot with HDD.

Please advise.
 

Attachments

  • 2015-06-09_after-reboot.jpg
    2015-06-09_after-reboot.jpg
    227.2 KB · Views: 81

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Home Premium 32bit
CPU
Intel Core i5-2500K
Motherboard
Asus P8Z68-V
Memory
4 GB (2x2) DDR3-1333 Ram
Graphics Card(s)
ASUS nVidia GeForce GT630 2 GB DDR3 128 bit
Hard Drives
300GB Seagate Barracuda 7200.9 16MB SATA-II NCQ
Antivirus
AVG free
Browser
Chrome
Please comment on my last post!
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Home Premium 32bit
CPU
Intel Core i5-2500K
Motherboard
Asus P8Z68-V
Memory
4 GB (2x2) DDR3-1333 Ram
Graphics Card(s)
ASUS nVidia GeForce GT630 2 GB DDR3 128 bit
Hard Drives
300GB Seagate Barracuda 7200.9 16MB SATA-II NCQ
Antivirus
AVG free
Browser
Chrome
You are right. The XP partition on the HDD has no function as long as you don't boot from the HDD. The XP partition on the SSD is no more active and thus can be dealt with like a data partition. The SSD should boot from the C partition which is active.

To double check that this works I suggest you disconnect the HDD (Disk 2) and boot from the SSD. If that works, it would tell us that the active XP partition on the HDD has no function when booting from the SSD.
 

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
I was referring to the XP partition on the SSD which is the drive at issue here. You can delete it now in Disk Mgmt since it is no longer the System partition. System is the signifier for the partition which is booting Win7 on the drive, not Active. Active only points to the partition you'd like to have as System. It still must be made bootable and it is not until the System flag is moved there. This has been accomplished.

You can now delete XP partition using Disk Mgmt or Partition Wizard and if you want extend C into the space by following How to extend partition easily with Partition Wizard - video help.
 
Thanks for the confirmation, Greg.
Here is my last Disk Management screenshot...

And thank you all for the help.
 

Attachments

  • 2015-06-10_last.jpg
    2015-06-10_last.jpg
    207.4 KB · Views: 68

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Home Premium 32bit
CPU
Intel Core i5-2500K
Motherboard
Asus P8Z68-V
Memory
4 GB (2x2) DDR3-1333 Ram
Graphics Card(s)
ASUS nVidia GeForce GT630 2 GB DDR3 128 bit
Hard Drives
300GB Seagate Barracuda 7200.9 16MB SATA-II NCQ
Antivirus
AVG free
Browser
Chrome
Looks good. You can format the 1tb drive now to use as storage. I'd start with saving a backup image there of the SSD install once it's all set up and running perfectly.

Later if the SSD fills up you can move User folders to the HD and not lose any performance advantage. User Folders - Change Default Location
 
Thank you.
I am planning to install Win 10 on the SSD first, and then put its backup image on the 1TB drive.
Is it recommended to partition big drives?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Home Premium 32bit
CPU
Intel Core i5-2500K
Motherboard
Asus P8Z68-V
Memory
4 GB (2x2) DDR3-1333 Ram
Graphics Card(s)
ASUS nVidia GeForce GT630 2 GB DDR3 128 bit
Hard Drives
300GB Seagate Barracuda 7200.9 16MB SATA-II NCQ
Antivirus
AVG free
Browser
Chrome
Thank you, Greg.
I am planning to install Win 10 on the SSD first, and then put its backup image on the 1TB drive.
Is it recommended to partition big drives?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 7 Home Premium 32bit
CPU
Intel Core i5-2500K
Motherboard
Asus P8Z68-V
Memory
4 GB (2x2) DDR3-1333 Ram
Graphics Card(s)
ASUS nVidia GeForce GT630 2 GB DDR3 128 bit
Hard Drives
300GB Seagate Barracuda 7200.9 16MB SATA-II NCQ
Antivirus
AVG free
Browser
Chrome
Back
Top