SSD Migration and Troubleshooting: Difference between revisions

(→‎Reinstall the same operating system: Reference Magical Jelly Bean Keyfinder as a way of helping find serial numbers before a reinstall of Windows.)
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This page covers  everything you might need to know about Solid-State Drives.
Replacing a hard disk with an SSD can make a dramatic difference, and breathe new life into an old laptop or PC. In this page we show you how.  
<div class="showtoc">
__TOC__
</div>


==Summary==
==Summary==


Solid-state drives (SSDs) have become much more affordable and can offer a considerable speed advantage over conventional magnetic hard disk drives (HDs). They can be highly reliable, in particular, they are very much more resilient to physical shocks than hard disks as they have no moving parts. Replacing the HD by an SSD can give a new lease of life to your computer by making typical use much faster.
[[Glossary:Solid State Disk|Solid-state drives]] (SSDs) have become much more affordable in recent years and can offer a considerable speed advantage over conventional magnetic [[Glossary:Hard Disk|hard disk]] drives (HDs). They can be highly reliable, in particular, they are very much more resilient to physical shocks than hard disks as they have no moving parts. Replacing the HD by an SSD is an easy upgrade and can give a new lease of life to your computer by making typical use much faster.
 
Before starting you will do well to at least skim-read [[All about SSDs]]. The section [[All about SSDs#Under the Bonnet|Under the Bonnet]] will give you valuable insights into how they work, and [[All about SSDs#Problems and Solutions|Problems and Solutions]] may help you if things don't quite go as they should.


===Safety===
===Safety===
Line 9: Line 14:
[[File:Warning03.png|30px|left]]
[[File:Warning03.png|30px|left]]


::Always ensure that the user's data is fully backed up before attempting a migration or any kind of investigation or repair. It is good practice in any case to regularly back up your data.
::Always ensure that the user's data is fully backed up before attempting a migration or any kind of investigation or repair. (It goes without saying that regular backup is essential anyway, though often neglected until it's too late.)


==SSD Migration==
==SSD Migration==
Line 15: Line 20:
In most instances, migrating from a hard disk (HD) to a solid-state drive (SSD) will offer a substantial speed improvement. It is important though to check other issues that may affect performance; see how to deal with a [[slow laptop]] for Windows computers and how to speed a [[slow OS X computer]] for ones running OS X.
In most instances, migrating from a hard disk (HD) to a solid-state drive (SSD) will offer a substantial speed improvement. It is important though to check other issues that may affect performance; see how to deal with a [[slow laptop]] for Windows computers and how to speed a [[slow OS X computer]] for ones running OS X.


Installing an SSD is usually easy and with ensuring there's enough memory is usually easy to do. Migrating the operating system, if the original hard disk is still in good working condition, takes longer and adds some complexity.
Physical installation of an SSD is usually easy to do. Migrating the operating system (assuming the original hard disk is still in good working condition) takes longer and adds some complexity.


===Which SSD do you need?===
===Which SSD do you need?===


You need to get an SSD of the right size and with the right interface (or with an adapter). You can usually find this information in the specifications for your computer or by looking at the installed hard drive. Most modern laptops, from 2008-9 onwards, need a 2.5" SATA SSD and desktops can accommodate a 2.5" SATA SSD. SATA is the name of the interface and specify the connector on the SSD that will connect to your computer. Older computers used mostly a PATA interface.  
You need to get an SSD of the right size and with the right interface (or with an adapter). You can usually find this information in the specifications for your computer or by looking at the installed hard drive. Most modern laptops, from 2008-9 onwards, need a 2.5" [[Glossary:SATA|SATA]] SSD and desktops can accommodate a 2.5" SATA SSD, perhaps with a 3.3" to 2.5" mechanical adapter. SATA is the name of the interface and the connector on the SSD that will connect to your computer. Older computers used mostly a [[Glossary:PATA|PATA]] interface.  


As 2.5" SATA SSDs are the most common ones, best if possible is to go for one of these and use an adapter if needed (you can obviously fit a smaller size SSD in a larger space). As for the capacity of the SSD, smaller is cheaper so it will depends on your usage and what you can afford. Several SSDs are sold with a five years warranty which can be used as a proxy for quality.
As 2.5" SATA SSDs are the most common ones, it's simplest (if possible) to go for one of these and use an adapter if needed. (You can obviously fit a smaller size SSD in a larger space). As for the capacity of the SSD, smaller is cheaper so it will depend on your usage and what you can afford. Several SSDs are sold with a five years warranty which can be used as a proxy for quality.


Older computers may support PATA disks requiring a SATA to PATA adapter, and very small laptops may only be able to fit an 1.8" disk with the mSATA interface (be careful that the mSATA interface is not the same as the μSATA one!).
Older computers may support PATA disks requiring a SATA to PATA adapter, and very small laptops may only be able to fit an 1.8" disk with the [[Glossary:MiniSATA|mSATA]] interface (be careful that the mSATA interface is not the same as the μSATA one!).


{|
{|
Line 32: Line 37:
|}
|}


This table shows options for SSDs depending on the interface of your computer and the size of the existing HD.
This table shows options for SSDs depending on the interface of your computer and the size of the existing HD. The detailed list below is ordered by commonality and simplicity. Option (a) being the most common and very simple.


{| class="wikitable"
{| class="wikitable"
Line 45: Line 50:


!SATA
!SATA
|(a) 2.5" SATA SSD with 3.5" holder
|(b) 2.5" SATA SSD with 3.5" holder
|(b) 2.5" SATA SSD
|(a) 2.5" SATA SSD
|(c) mSATA SSD with an mSATA to 16-pin 1.8" Micro SATA adapter
|(d) mSATA SSD with an mSATA to 16-pin 1.8" Micro SATA adapter


|-
|-


!PATA
!PATA
|(d) 2.5" SATA SSD with 3.5" holder and PCI SATA card
|(e) 2.5" SATA SSD with 3.5" holder and PCI SATA card
|(e) mSATA SSD  with an mSATA to 44-pin IDE/PATA (3 or 5 V) and possibly a 2.5" enclosure.
|(c) mSATA SSD  with an mSATA to 44-pin IDE/PATA (3.3 or 5 V) and possibly a 2.5" enclosure.
|(f) mSATA SSD with an mSATA to 40-pin 1.8" ZIF adapter
|(f) mSATA SSD with an mSATA to 40-pin 1.8" ZIF adapter
|}
|}
Line 59: Line 64:
Before embarking on a migration, you should ensure your BIOS is up to date. As soon as you have installed your new SSD you should check the SSD manufacturer's website or the tools that come with the SSD for a utility to ensure you have the latest firmware.
Before embarking on a migration, you should ensure your BIOS is up to date. As soon as you have installed your new SSD you should check the SSD manufacturer's website or the tools that come with the SSD for a utility to ensure you have the latest firmware.


====(a) Upgrading from a 3.5" SATA HD (e.g., modern desktop)====
[[File:SATA SSD (front).jpg|thumb|80px]]
====(a) Upgrading from a 2.5" SATA HD (e.g., modern laptop)====
 
Most computers since 2008-9 have been sold with 2.5" SATA HD. To physically replace the HD with a 2.5" SATA SSD consists of simply taking out the HD and putting the SSD in. Usually the drive bay is accessible via a trap door so there's no need to open the computer and this is very easy to do.
 
[[File:SATA SSD (front).jpg|thumb|80px]]
====(b) Upgrading from a 3.5" SATA HD (e.g., modern desktop)====


Considering that 2.5" SATA SSDs are most common, best would be to for one of these and get an SSD Holder to make it fit without moving in the 3.5" space. The holder is a cheap bit of plastic that holds the SSD in place.
Considering that 2.5" SATA SSDs are most common, best would be to for one of these and get an SSD Holder to make it fit without moving in the 3.5" space. The holder is a cheap bit of plastic that holds the SSD in place. [http://www.ebay.co.uk/sch/i.html?_odkw=2.5+inch+3.5+inch+holder+ssd&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0.H0.X2.5+to+3.5+Inch+SSD++hard+Disk+Mounting+Adapter.TRS0&_nkw=2.5+to+3.5+Inch+SSD++hard+Disk+Mounting+Adapter&_sacat=0 (Purchase Here)]


====(b) Upgrading from a 2.5" SATA HD (e.g., modern laptop)====
[[File:mSATA SSD.jpg|thumb|50px]]
====(c) Upgrading from a 2.5" PATA HD (e.g., old laptop)====


Most computers since 2008-9 have been sold with 2.5" SATA HD. To physically replace the HD with a 2.5" SATA SSD consists of simply taking out the HD and putting the SSD in. Usually the drive bay is accessible via a trap door so there's no need to open the computer and this is very easy to do.
Different laptops use different voltage for their IDE/PATA interface so before getting a converter you need to figure out if your laptop requires 5 V as is most common, [http://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR0.TRC0.H0.XmSATA+SSD+to+44+Pin+IDE+Converter+as+2.5+Inch+IDE+HDD+5+Volt.TRS0&_nkw=mSATA+SSD+to+44+Pin+IDE+Converter+as+2.5+Inch+IDE+HDD+5+Volt&_sacat=0 (Purchase here)] or 3.3 V as is used for IBM/Lenovo ThinkPad X40, X41, X41T laptops. [http://www.ebay.co.uk/sch/i.html?_odkw=mSATA+SSD+to+half+height+2.5%22+1.8%22+IDE+PATA+adapter++IBM+X40+X41&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0.H0.XPCI-E+mSATA+SSD+5cm+3.3V+to+1.8%22+IDE+3.3V+44pin+SSD+for+IBM+X40+X41+HDD+Adapter.TRS0&_nkw=PCI-E+mSATA+SSD+5cm+3.3V+to+1.8%22+IDE+3.3V+44pin+SSD+for+IBM+X40+X41+HDD+Adapter&_sacat=0  (Purchase here)] Do not get the wrong one or you risk to damage your SSD. So you will need an mSATA SSD, an mSATA to 44-pin IDE/PATA (3.3 or 5 V), and for some laptops also a 2.5" enclosure. [http://www.ebay.co.uk/sch/i.html?_odkw=PCI-E+mSATA+SSD+5cm+3.3V+to+1.8%22+IDE+3.3V+44pin+SSD+for+IBM+X40+X41+HDD+Adapter&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0.H0.XmSATA+to+2.5%22+PATA+%2FIDE+Enclosure+Adapter+Case.TRS0&_nkw=mSATA+to+2.5%22+PATA+%2FIDE+Enclosure+Adapter+Case&_sacat=0  (Purchase here)]


====(c)  Upgrading from a 1.8" μSATA HD (e.g., some recent laptops)====
[[File:mSATA SSD.jpg|thumb|50px]]
====(d)  Upgrading from a 1.8" μSATA HD (e.g., some recent laptops)====


This is rare, but if this is your laptop, you'll need an mSATA SSD and an mSATA to 16-pin 1.8" μSATA adapter. [http://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR0.TRC0.H0.XMini+PCIe+MSATA+3+x+5cm+SSD+To+1.8%22+Micro+SATA.TRS0&_nkw=Mini+PCIe+MSATA+3+x+5cm+SSD+To+1.8%22+Micro+SATA&_sacat=0  (Purchase Here)]
This is rare, but if this is your laptop, you'll need an mSATA SSD and an mSATA to 16-pin 1.8" μSATA adapter. [http://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR0.TRC0.H0.XMini+PCIe+MSATA+3+x+5cm+SSD+To+1.8%22+Micro+SATA.TRS0&_nkw=Mini+PCIe+MSATA+3+x+5cm+SSD+To+1.8%22+Micro+SATA&_sacat=0  (Purchase Here)]
Line 73: Line 86:
Note that μSATA is sometimes written uSATA or microSATA. This is different from mSATA.
Note that μSATA is sometimes written uSATA or microSATA. This is different from mSATA.


====(d) Upgrading from a 3.5" PATA HD (e.g., old desktop PC)====
[[File:SATA SSD (front).jpg|thumb|80px]]
====(e) Upgrading from a 3.5" PATA HD (e.g., old desktop PC)====


As old desktop computers do not have any SATA sockets, so to use a SATA SSD, you need to install a SATA interface using a a PCI card. So you will need a 2.5" SATA SSD, a plastic holder so it fits in a 3.5" slot and a PCI SATA card. [http://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR0.TRC0.H0.TRS0&_nkw=PCI+SATA+card&_sacat=0 (Purchase here)]
As old desktop computers do not have any SATA sockets, so to use a SATA SSD, you need to install a SATA interface using a a PCI card. So you will need a 2.5" SATA SSD, a plastic holder so it fits in a 3.5" slot and a PCI SATA card. [http://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR0.TRC0.H0.TRS0&_nkw=PCI+SATA+card&_sacat=0 (Purchase here)]


====(e) Upgrading from a 2.5" PATA HD (e.g., old laptop)====
[[File:mSATA SSD with ZIF adapter.jpg|thumb|80px]]
 
Different laptops use different voltage for their IDE/PATA interface so before getting a converter you need to figure out if your laptop requires 5 V as is most common, [http://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR0.TRC0.H0.XmSATA+SSD+to+44+Pin+IDE+Converter+as+2.5+Inch+IDE+HDD+5+Volt.TRS0&_nkw=mSATA+SSD+to+44+Pin+IDE+Converter+as+2.5+Inch+IDE+HDD+5+Volt&_sacat=0 (Purchase here)] or 3.3 V as is used for IBM/Lenovo ThinkPad X40, X41, X41T laptops. [http://www.ebay.co.uk/sch/i.html?_odkw=mSATA+SSD+to+half+height+2.5%22+1.8%22+IDE+PATA+adapter++IBM+X40+X41&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0.H0.XPCI-E+mSATA+SSD+5cm+3.3V+to+1.8%22+IDE+3.3V+44pin+SSD+for+IBM+X40+X41+HDD+Adapter.TRS0&_nkw=PCI-E+mSATA+SSD+5cm+3.3V+to+1.8%22+IDE+3.3V+44pin+SSD+for+IBM+X40+X41+HDD+Adapter&_sacat=0  (Purchase here)] Do not get the wrong one or you risk to damage your SSD. So you will need a "mSATA SSD, an mSATA to 44-pin IDE/PATA (3.3 or 5 V), and for some laptops also a 2.5" enclosure. [http://www.ebay.co.uk/sch/i.html?_odkw=PCI-E+mSATA+SSD+5cm+3.3V+to+1.8%22+IDE+3.3V+44pin+SSD+for+IBM+X40+X41+HDD+Adapter&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0.H0.XmSATA+to+2.5%22+PATA+%2FIDE+Enclosure+Adapter+Case.TRS0&_nkw=mSATA+to+2.5%22+PATA+%2FIDE+Enclosure+Adapter+Case&_sacat=0  (Purchase here)]
 
[[File:mSATA SSD with ZIF adapter.jpg|thumb|mSATA SSD]]
 
====(f) Upgrading from a 1.8" PATA HD (e.g, old small laptop)====
====(f) Upgrading from a 1.8" PATA HD (e.g, old small laptop)====


This is rare case, but if this is your laptop, you'll need a 1.8" mSATA SSD and an mSATA to 40-pin 1.8" ZIF adapter. [http://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR0.TRC0.H0.TRS0&_nkw=Mini+mSATA+PCI-E+SSD+to+40pin+ZIF+CE+Cable+Adapter+Card&_sacat=0 Purchase here.]  
This is rare case, but if this is your laptop, you'll need a 1.8" mSATA SSD and an mSATA to 40-pin 1.8" ZIF adapter. [http://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR0.TRC0.H0.TRS0&_nkw=Mini+mSATA+PCI-E+SSD+to+40pin+ZIF+CE+Cable+Adapter+Card&_sacat=0 (Purchase here)]  


In all cases, when switching the HD with an SSD, you usually need to transfer the four screw (two on each side) of the HD to the SSD that are there to hold the drive in place. As mSATA SSD with an adapter is smaller than 1.8" hard disk space, you may add some cushion with cardboard etc to stablise the SSD.
In all cases, when switching the HD with an SSD, you usually need to transfer the four screw (two on each side) of the HD to the SSD that are there to hold the drive in place. As mSATA SSD with an adapter is smaller than 1.8" hard disk space, you may add some cushion with cardboard etc to stabilise the SSD.


===Starting from fresh or cloning===
===Starting from fresh or cloning===
Line 94: Line 103:


Note that if you want to clone your HD or copy data from the HD to the SSD you will need to connect both to your computer simultaneously. To do this, assuming you get a SATA SSD, you need a SATA to USB adapter cable or a USB enclosure for SATA drives so one drive will be installed in the machine and the other will be connected to a USB port. You can then reuse this cable or enclosure with your old HD to use as a large USB key. Be careful to get the source and destinations right when doing any cloning, reformatting or reinstalling.
Note that if you want to clone your HD or copy data from the HD to the SSD you will need to connect both to your computer simultaneously. To do this, assuming you get a SATA SSD, you need a SATA to USB adapter cable or a USB enclosure for SATA drives so one drive will be installed in the machine and the other will be connected to a USB port. You can then reuse this cable or enclosure with your old HD to use as a large USB key. Be careful to get the source and destinations right when doing any cloning, reformatting or reinstalling.
====Partitioning====
If you have a Linux CD or USB key, this will likely include the [http://gparted.sourceforge.net GParted] partition editor. On Windows, you can use a product such as [https://www.partitionwizard.com/free-partition-manager.html MiniTool Partition Wizard Free Edition] or [http://www.easeus.com/partition-manager/epm-free.html EaseUS Partition Master Free Edition]. And OS X has [http://arstechnica.co.uk/apple/2015/09/os-x-10-11-el-capitan-the-ars-technica-review/6/#h3 Disk Utility].


====Cloning====
====Cloning====


If you intend to clone your old HD to your new SSD, for most cloning software to work, your SSD needs to be the same capacity or larger than your HD. You can usually clone a larger HD on a smaller SSD as long as the aggregate size of the partitions you are cloning are smaller than the capacity of the SSD.  
If you intend to clone your old HD to your new SSD, for most cloning software to work, your SSD needs to be the same capacity or larger than your HD. You can usually clone a larger HD on a smaller SSD as long as the aggregate size of the partitions you are cloning are smaller than the capacity of the SSD.  
If you have a Linux CD or USB key, this will likely include the [http://gparted.sourceforge.net GParted] partition editor. On Windows, you can use a product such as [https://www.partitionwizard.com/free-partition-manager.html MiniTool Partition Wizard Free Edition] or [http://www.easeus.com/partition-manager/epm-free.html EaseUS Partition Master Free Edition]. And OS X has [http://arstechnica.co.uk/apple/2015/09/os-x-10-11-el-capitan-the-ars-technica-review/6/#h3 Disk Utility].


Also you check the health of your HD before attempting to clone it as bad sectors might cause the cloning to fail.  You should also fix any other issues that may affect performance; see how to deal with a [[slow laptop]] for Windows computers and how to speed a [[slow OS X computer]] for ones running OS X.
Also you check the health of your HD before attempting to clone it as bad sectors might cause the cloning to fail.  You should also fix any other issues that may affect performance; see how to deal with a [[slow laptop]] for Windows computers and how to speed a [[slow OS X computer]] for ones running OS X.


Often cloning software is provided with the SSD, otherwise there's free software running on Linux such as Clonezilla.
Often cloning software is provided with the SSD, otherwise there's free software running on Linux such as Clonezilla. For OS X, you can use the shareware applications [http://bombich.com Carbon Copy Cloner] or [http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html SuperDuper!] (to clone the hard disk in full, SuperDuper! can be used for free).


====Reinstall the same operating system====
====Reinstall the same operating system====


If you are using Windows and want to keep using Windows, you may want to reinstall Windows and your applications from fresh onto the new SSD and then copying your data. Performance of Windows tend to degrade with time, so a new install will give you an additional boost of performance. You will need all your original software and serial numbers to proceed.
If you are using Windows and want to keep using Windows, you may want to reinstall Windows and your applications from fresh onto the new SSD and then copying your data. Performance of Windows tend to degrade with time, so a new install will give you an additional boost of performance. You will need all your original software and serial numbers to proceed - [https://www.magicaljellybean.com/keyfinder/ Magical Jelly Bean Keyfinder] can help you find your serial numbers.


====Install Linux====
====Install Linux====
Line 115: Line 126:
====Dual boot====
====Dual boot====


This allows you to experience the speed and convenience of Linux while give you full access to your previous operating system allowing you to take your time to decide what option suits you best.
This allows you to experience the speed and convenience of Linux while giving you full access to your previous operating system. This will be useful if you still depend on one or two Windows programs not availble under Linux. Detailed instructions are beyond the scope of this article except to say that you may be given a dual boot option during the installation of a Linux to your hard disk. But make doubly sure you have everything backed up first, just in case it goes wrong and you loose the ability to boot your old Windows system.
 
[To be written.]
 
==Understanding the technology of SSDs==
 
Hard disks drives as the name implies are mechanical as they have rotating disks, while solid-state drives have no mechanical moving parts. As nothing moves access to any data is much faster than on a HD. That's not the only difference under the hood. Whereas in a hard disk, the act of writing to a sector (typically 512 bytes or 4 KB ) erases the previous content, an SSD must erase a page (the equivalent of sectors, typically 4 KB) before it can be written to and it can only erase blocks of several pages.
 
Modern File systems use 4KB cluster, see [https://en.wikipedia.org/wiki/Solid-state_drive  File systems suitable for SSDs]; [https://support.microsoft.com/en-us/kb/140365 Default cluster size for NTFS, FAT, and exFAT] if you format and partition in Windows Vista later, you have no issues. [http://us.hardware.info/reviews/4583/5/how-to-copy-hdd-to-ssd-with-correct-4k-alignment-alignment-issues] However, if you use older windows or 3rd party software, copy a partition to SSD, or changing a partition size/location, for best performance ensure that [https://www.partitionwizard.com/help/align-partition.html partitions are aligned on a 4 KB boundary].
 
 
'''TRIM (The modern SSD support this command, required by OS support as well, see the below)'''
 
Unlike hard disk drives, SSD requires to erase old data first then write new data to the same location. The Trim command enables an OS to inform an SSD which deleted data blocks are reusable. Accordingly the SSD internally reclaims the data block in advance before reusing the blocks. TRIM can improve the overall performance and durability because the SSD performs time consuming erase command timely and effectively in background to avoid read-modify-write operations. [http://www.thessdreview.com/daily-news/latest-buzz/garbage-collection-and-trim-in-ssds-explained-an-ssd-primer/2/] [http://kb.sandisk.com/app/answers/detail/a_id/8145/kw/trim]
 
TRIM is not essential, as the modern SSD has an intelligent build-in garbage collection mechanism, but can help prolong the life of an SSD and keep it best performing. For a more detailed explanation see [http://arstechnica.com/gadgets/2015/04/ask-ars-my-ssd-does-garbage-collection-so-i-dont-need-trim-right/ Ask Ars: “My SSD does garbage collection, so I don’t need TRIM… right?”].  


===Windows===
===Windows===
Line 149: Line 145:
===OS X===
===OS X===


Apple supports TRIM for third party SSDs since OS X 10.10.4. For more information see [http://arstechnica.com/apple/2015/06/latest-os-x-update-allows-you-to-enable-trim-for-third-party-ssds/ Latest OS X update allows you to enable TRIM for third-party SSDs].
Apple supports TRIM for third party SSDs since OS X 10.10.4. It's important to ensure it's enabled as OS X may not enable it by default. For more information see [http://arstechnica.com/apple/2015/06/latest-os-x-update-allows-you-to-enable-trim-for-third-party-ssds/ Latest OS X update allows you to enable TRIM for third-party SSDs].


===Linux===
===Linux===


Ubuntu 14.10, LinuxMint 18 onwards, TRIMming happens automatically every week on all SSDs supported by fstrim.[https://askubuntu.com/questions/18903/how-to-enable-trim#19480] These Linux distributions recognise an SSD automatically, you don't need take any action.
Ubuntu 14.10, LinuxMint 18 onwards, TRIM happens automatically every week on all SSDs supported by fstrim.[https://askubuntu.com/questions/18903/how-to-enable-trim#19480] These Linux distributions recognise an SSD automatically, you don't need take any action.
 
==Problems and solutions==
 
An SSD should give trouble-free service and in particular, it will be much less prone to damage through physical shocks than a hard disk. Nevertheless, if it should fail, it may do so catastrophically, with little chance of getting your data back. Bear this in mind if your data is vital to you, and make sure you back it up regularly.
 
SSD vendors often supply a SSD utility programme, which includes health monitor program and S.M.A.R.T Diagnostic Tool. The S.M.A.R.T is an industry standard disk reliability test program.[http://en.wikipedia.org/wiki/S.M.A.R.T] If any problems encounters, run these program first, In case if you would find any error, backup important data first and Contact vendors technical support immediately with the test results, which helps to perform quick diagnostics by vendor support. Linux users can use a GUI Linux disk utility.[http://www.howtogeek.com/howto/37659/the-beginners-guide-to-linux-disk-utilities/]
 
'''Intermittent Freezing or Blue Screen'''
 
Intermittent freezing can sometimes be caused by a conflict with the way the host SATA controller deals with power management for the SSD. AHCI Link Power Management is a technique where the SATA AHCI controller puts the SATA link to the SSD into a very low power state when there is no IO (input/output) activity for a period of time. The controller automatically puts the link back into active power state when the workload resumes. This is done to save power consumption by the SSD. On some host computers this can cause the SSD to freeze intermittently when returning to a full power state.[http://www.sevenforums.com/tutorials/177819-ahci-link-power-management-enable-hipm-dipm.html]
 
(copy from SanDisk Support page, no link is available)
 
'''9mm thick Hard Disk replacement'''


(under construction)
==Troubleshooting==
Normally, everything goes smoothly, but should you run into difficulties, see [[All about SSDs]]. The section on [[All about SSDs#Under the Bonnet|Under the Bonnet]] may give you an insight into the problem and this is followed by a [[All about SSDs#Problems and Solutions|Problems and Solutions]] section.


[[Category:Fixing]]
[[Category:Fixing]]

Latest revision as of 16:24, 25 November 2022

Replacing a hard disk with an SSD can make a dramatic difference, and breathe new life into an old laptop or PC. In this page we show you how.

Summary

Solid-state drives (SSDs) have become much more affordable in recent years and can offer a considerable speed advantage over conventional magnetic hard disk drives (HDs). They can be highly reliable, in particular, they are very much more resilient to physical shocks than hard disks as they have no moving parts. Replacing the HD by an SSD is an easy upgrade and can give a new lease of life to your computer by making typical use much faster.

Before starting you will do well to at least skim-read All about SSDs. The section Under the Bonnet will give you valuable insights into how they work, and Problems and Solutions may help you if things don't quite go as they should.

Safety

Warning03.png
Always ensure that the user's data is fully backed up before attempting a migration or any kind of investigation or repair. (It goes without saying that regular backup is essential anyway, though often neglected until it's too late.)

SSD Migration

In most instances, migrating from a hard disk (HD) to a solid-state drive (SSD) will offer a substantial speed improvement. It is important though to check other issues that may affect performance; see how to deal with a slow laptop for Windows computers and how to speed a slow OS X computer for ones running OS X.

Physical installation of an SSD is usually easy to do. Migrating the operating system (assuming the original hard disk is still in good working condition) takes longer and adds some complexity.

Which SSD do you need?

You need to get an SSD of the right size and with the right interface (or with an adapter). You can usually find this information in the specifications for your computer or by looking at the installed hard drive. Most modern laptops, from 2008-9 onwards, need a 2.5" SATA SSD and desktops can accommodate a 2.5" SATA SSD, perhaps with a 3.3" to 2.5" mechanical adapter. SATA is the name of the interface and the connector on the SSD that will connect to your computer. Older computers used mostly a PATA interface.

As 2.5" SATA SSDs are the most common ones, it's simplest (if possible) to go for one of these and use an adapter if needed. (You can obviously fit a smaller size SSD in a larger space). As for the capacity of the SSD, smaller is cheaper so it will depend on your usage and what you can afford. Several SSDs are sold with a five years warranty which can be used as a proxy for quality.

Older computers may support PATA disks requiring a SATA to PATA adapter, and very small laptops may only be able to fit an 1.8" disk with the mSATA interface (be careful that the mSATA interface is not the same as the μSATA one!).

SATA SSD
SATA SSD (the SATA connector is visible at the top)
mSATA SSD

This table shows options for SSDs depending on the interface of your computer and the size of the existing HD. The detailed list below is ordered by commonality and simplicity. Option (a) being the most common and very simple.

SSD options
3.5" 2.5" 1.8"
SATA (b) 2.5" SATA SSD with 3.5" holder (a) 2.5" SATA SSD (d) mSATA SSD with an mSATA to 16-pin 1.8" Micro SATA adapter
PATA (e) 2.5" SATA SSD with 3.5" holder and PCI SATA card (c) mSATA SSD with an mSATA to 44-pin IDE/PATA (3.3 or 5 V) and possibly a 2.5" enclosure. (f) mSATA SSD with an mSATA to 40-pin 1.8" ZIF adapter

Before embarking on a migration, you should ensure your BIOS is up to date. As soon as you have installed your new SSD you should check the SSD manufacturer's website or the tools that come with the SSD for a utility to ensure you have the latest firmware.

SATA SSD (front).jpg

(a) Upgrading from a 2.5" SATA HD (e.g., modern laptop)

Most computers since 2008-9 have been sold with 2.5" SATA HD. To physically replace the HD with a 2.5" SATA SSD consists of simply taking out the HD and putting the SSD in. Usually the drive bay is accessible via a trap door so there's no need to open the computer and this is very easy to do.

SATA SSD (front).jpg

(b) Upgrading from a 3.5" SATA HD (e.g., modern desktop)

Considering that 2.5" SATA SSDs are most common, best would be to for one of these and get an SSD Holder to make it fit without moving in the 3.5" space. The holder is a cheap bit of plastic that holds the SSD in place. (Purchase Here)

MSATA SSD.jpg

(c) Upgrading from a 2.5" PATA HD (e.g., old laptop)

Different laptops use different voltage for their IDE/PATA interface so before getting a converter you need to figure out if your laptop requires 5 V as is most common, (Purchase here) or 3.3 V as is used for IBM/Lenovo ThinkPad X40, X41, X41T laptops. (Purchase here) Do not get the wrong one or you risk to damage your SSD. So you will need an mSATA SSD, an mSATA to 44-pin IDE/PATA (3.3 or 5 V), and for some laptops also a 2.5" enclosure. (Purchase here)

MSATA SSD.jpg

(d) Upgrading from a 1.8" μSATA HD (e.g., some recent laptops)

This is rare, but if this is your laptop, you'll need an mSATA SSD and an mSATA to 16-pin 1.8" μSATA adapter. (Purchase Here)

Note that μSATA is sometimes written uSATA or microSATA. This is different from mSATA.

SATA SSD (front).jpg

(e) Upgrading from a 3.5" PATA HD (e.g., old desktop PC)

As old desktop computers do not have any SATA sockets, so to use a SATA SSD, you need to install a SATA interface using a a PCI card. So you will need a 2.5" SATA SSD, a plastic holder so it fits in a 3.5" slot and a PCI SATA card. (Purchase here)

MSATA SSD with ZIF adapter.jpg

(f) Upgrading from a 1.8" PATA HD (e.g, old small laptop)

This is rare case, but if this is your laptop, you'll need a 1.8" mSATA SSD and an mSATA to 40-pin 1.8" ZIF adapter. (Purchase here)

In all cases, when switching the HD with an SSD, you usually need to transfer the four screw (two on each side) of the HD to the SSD that are there to hold the drive in place. As mSATA SSD with an adapter is smaller than 1.8" hard disk space, you may add some cushion with cardboard etc to stabilise the SSD.

Starting from fresh or cloning

Swapping the hard disk with an solid-state drive is an opportunity to consider how you use your computer and decide whether you want to stick with your current operating system installation (often Windows or OS X) and clone it to the new drive, reinstall the same operating system and copy your essential data or installing Linux. Another option is to set up a dual boot between the system you were using and Linux. SSDs often, but not always, come with tools to simplify the process.

Note that if you want to clone your HD or copy data from the HD to the SSD you will need to connect both to your computer simultaneously. To do this, assuming you get a SATA SSD, you need a SATA to USB adapter cable or a USB enclosure for SATA drives so one drive will be installed in the machine and the other will be connected to a USB port. You can then reuse this cable or enclosure with your old HD to use as a large USB key. Be careful to get the source and destinations right when doing any cloning, reformatting or reinstalling.

Partitioning

If you have a Linux CD or USB key, this will likely include the GParted partition editor. On Windows, you can use a product such as MiniTool Partition Wizard Free Edition or EaseUS Partition Master Free Edition. And OS X has Disk Utility.

Cloning

If you intend to clone your old HD to your new SSD, for most cloning software to work, your SSD needs to be the same capacity or larger than your HD. You can usually clone a larger HD on a smaller SSD as long as the aggregate size of the partitions you are cloning are smaller than the capacity of the SSD.

Also you check the health of your HD before attempting to clone it as bad sectors might cause the cloning to fail. You should also fix any other issues that may affect performance; see how to deal with a slow laptop for Windows computers and how to speed a slow OS X computer for ones running OS X.

Often cloning software is provided with the SSD, otherwise there's free software running on Linux such as Clonezilla. For OS X, you can use the shareware applications Carbon Copy Cloner or SuperDuper! (to clone the hard disk in full, SuperDuper! can be used for free).

Reinstall the same operating system

If you are using Windows and want to keep using Windows, you may want to reinstall Windows and your applications from fresh onto the new SSD and then copying your data. Performance of Windows tend to degrade with time, so a new install will give you an additional boost of performance. You will need all your original software and serial numbers to proceed - Magical Jelly Bean Keyfinder can help you find your serial numbers.

Install Linux

See Linux migration.

Dual boot

This allows you to experience the speed and convenience of Linux while giving you full access to your previous operating system. This will be useful if you still depend on one or two Windows programs not availble under Linux. Detailed instructions are beyond the scope of this article except to say that you may be given a dual boot option during the installation of a Linux to your hard disk. But make doubly sure you have everything backed up first, just in case it goes wrong and you loose the ability to boot your old Windows system.

Windows

As Windows7 and later version have native support for SSDs, Windows will automatically detect SSDs [1] and optimise accordingly such as Trim, no background defragmentation as a default. See File systems suitable for SSDs You don't need to take any action.


To check that TRIM is enabled in Windows, launch a command prompt as Administrator, and type the command:

fsutil behavior query DisableDeleteNotify

This should return a value of zero. If it returns 1 then type:

fsutil behavior set DisableDeleteNotify 0

Also, check the BIOS settings and find the SATA Mode. This should be AHCI, if your hardware support this. (This has to be done before SSD installation)

OS X

Apple supports TRIM for third party SSDs since OS X 10.10.4. It's important to ensure it's enabled as OS X may not enable it by default. For more information see Latest OS X update allows you to enable TRIM for third-party SSDs.

Linux

Ubuntu 14.10, LinuxMint 18 onwards, TRIM happens automatically every week on all SSDs supported by fstrim.[2] These Linux distributions recognise an SSD automatically, you don't need take any action.

Troubleshooting

Normally, everything goes smoothly, but should you run into difficulties, see All about SSDs. The section on Under the Bonnet may give you an insight into the problem and this is followed by a Problems and Solutions section.