Monday, March 11, 2013

Migrate to SSD

October 2012

I've got an Intel Solid-State Drive, 330 Series, 240 GB, and I want to migrate my existing Dell Optiplex 760 WinXP on C:\ 300GB to it. Everything you need is available online.

The drive comes with a mini-CD that contains only the waranty and install guide, which is available online. It explains how to attach the tiny SSD drive to a mounting adaptor so it will fit in your ancient desktop case. Before you connect it you should download the migration software. You probably want the first option: tih_s_english_14133.exe, which is ongly 93megs but takes ~4min to download. The download page also provides a migration manual for the software.

Basically you hookup your new SSD as a slave, then run the software which detects your old and new drives. This is supposed to painlessly clone your old HD to your new SSD as long as your old HD doesn't contain more data then will fit on your new SSD.

Install The Hardware

Borrow a screwdriver. Power off your tower. Leave the power cabel connected. Open the tower. You'll see a hard disk at the bottom left. Benieth it there is a second empty slot with a blue plastic mounting tray. Pull out the mounting tray. Touch the case to ground yourself. With the provided packet of small screws, mount the SSD in the provided metal frame. Snap the metal frame into the blue plastic tray. Slide the tray back into the tower. Connect the existing power cable to your SSD. Because the SSD power isn't directly below the other drive's power, this is a tight fit, but it worked for me. Don't connect the provided data yet. Power on. Near the end of the display of the DELL logo, hit F2 a few times to enter the bios.

Your mother-board has four SATA plugs. Two are in the top-right corner. Two are at the top-right of the center of the board. Reading the plugs from top-left, top-right, bottom-left, bottom-right, they are SATA0, SATA1, SATA2, SATA3. My HD was in SATA0 and my DVD was in STAT1. You can see this in the bios: Settings > Drives > Drives. My SATA2 and SATA3 were unchecked, meaning disabled. I tried several configurations unsuccessfully. It appears that your boot HD must come first and any other HDs must come next prior to any DVDs, etc.

Here's what worked. Check SATA2 so that 0,1,2 are checked and 3 isn't. Apply. Exit. You're computer will reboot. Shut it off with the power button. Unplug the DVD from SATA1 (top-right). Mine was hard to reach. It was an old data cable without a stay-in clip, so I could just tug it out. Plug your new SDD into SATA1 (top-right). Plug your DVD into SATA2 (bottom-left, white plug). Power on your tower.

Migrate Data

Confrim your new drive is connected. Start > Administrative Tools > Computer Management > Device Manager > Disk drives.

Install the migration software.

Double-click > Run > Install Intel Data Migration Software > Accept License > Don't participate in ACEP > Typical > Install for all users > Proceed > Close > Exit

This creates a link on your desktop: Intel® Data Migration Software powered by Acronis > Register Later > Start Now > Run Clone Wizard > Automatic > Proceed > Restart

The reboot takes you to an old chkdisk style display that clones the disk while the OS isn't running. This takes about 30min for 120gb of data. If your source drive has more data than your SSD then you have to do a more complicated process. To make this easy you could temporarily move the extra data to a network drive. When the migration is complete it says press any key to shutdown. Once your computer is shutdown, you need to swap the data cables so your SSD is SATA0 (master) and your HD is SATA1 (slave). For me it was easier to swap the connectors at the disks instead of at the motherbord.

Close your case and power-on your computer. Start > Administrative Tools > Computer Management > Storage > Disk Management, to see that your SSD is now the master.

You can now delete the OS files from your old drive and use it for extra storage.

March 2013

Now I'm migrating to a new tower with windows7 and want to swap in the SDD. The process is similar. My new tower had sata 0,1,2,3 clearly labeled on the mother board. My existing harddrives were in sata0,1 and my DVD was in sata2. I moved the DVD to sata3 and plugged the SDD into sata2. There was no slot for the new SSD, so I fastened it to an empty DVD bay with twist ties. I rebooted and used F2 to see setup, but no action was required as all for SATA were enabled and it was reading them correctly.

[Start > Search > Create and format hard disk partions] will take you to Disk Managment which will show existing Disk0 partitioned into C: and D: and existing Disk1 partitioned as E: and the new SSD.

I tried using the same migration software as was used on WinXP, but the Intel® Data Migration Software doesn't support cloning of GPT disks and refused to let me select mine as the clone source.

In order to clone the disk we must change the the SSD from MBR to GPT. Be careful, diskpart can nuke your disks without warning.

Start > Search > diskpart.exe

list disk
sel disk 2
cle

Start > Search > Create and format hard disk partions (to get to Disk Management). A dialog immediately pops up asking you to initialize the disk with GPT. We're now ready to clone the disk.

Preamble

According to howtogeek.com we should clean up before the migration.

Remove any unwanted software

Explorer > C: > Properties > Disk Cleanup
 Files to delete: [all checked]
 > Ok

Explorer > C: > Properties > Disk Cleanup > Cleanup System Files

Empty Recycle Bin

Explorer > C: > Properties > Tools > Defragmet C:

Apparently data alignment is a big deal for SSD. We will set up the partitions and alignment on the SSD before we clone. Be careful, diskpart can nuke your disks without warning. In order for this to work there most not be an allocated volume already on the disk. You can use Disk Managment to delete any existing volume. Also because our disk isn't MBR we can't execute the "active" command.

Start > Search > diskpart.exe

list disk
select disk 2
create partition primary align=1024

After Much Thrashing I Did This

HDClone can do the job but it's painful becasue they only let you do a disk copy in the free version, so if you have two partitions like me, you'll have to manually nuke the unwanted partition after the fact and grow the wanted partition.

Free Edition > Download > Setup For Windows > Requires Reboot > Run HD Clone > Close the "Information Free Edition" popup > Copy disk > Select source drive > Select target drive > Leave all advanced options as defaults > Keep original layout (which just crops the second partion).

Reboot after HDClone shows that we're still using the old 100mb/C/D drive and we have a truncated clone of it 100mb/F/H. Shutdown and unplug SATA1 causes us to boot into the SSD now labeled 100mb/C/D, but with the following startup delay.

>> Start PXE over IPv4     // hangs for ~60s
PEX-E18: Server response timeout.
>> Start PXE over IPv6     // hangs for ~60s

This is resolved as suggested by dell.com by restart the F2 at DELL logo and removing "UEIF IP4" and "UEIF IP6" from the boot order.

Next, shutdown again and plug back in SATA1 and now both drives are visible in disk managment.

[right-click] (cloned D) > Delete Volume > Yes > Yes
[right-click] (cloned C) > Extend Volume > Next > Next > Finish
[right-click] (original D) > Change Drive Letter and Paths > Change > Assign > D:/ > Ok > Yes
[right-click] (original C) > Delete Volume > Yes
[right-click] (original D) > Extend Volume > Next > Next > Yes

The drive swap is complete but my ClearCase is now busted. Checking in services shows that the "Atria Location Broker" service is not running, so none of my views are connected. Starting it manually succeeds. This is a known issue with SSD.

Services > Atria Location Broker > Recovery
 First failure: Restart the Service
 Second failure: Restart the Service
 Subsequent failures: Restart the Service

Start > regedit
 HKLM > SYSTEM > CurrentControlSet > services > Albd > DependOnService
  RpcSs
  Tcplp
  PolicyAgent
  seclogon
  Netlogon

Firmware (failed)

For "Intel Solid-State Drive, 330 Series", download the Intel® SATA Solid-State Drive Firmware Update Tool. Insert a blank disc and in Windows Explorer right-click the .iso > Open with > Windows Disc Image Burner > Burn > Close.

This is a bootable disc. Restart and hit F12 at the DELL prompt to choose to boot from DVD. Agree to the prompts. This failed to find an SSD on my system. I went to device manager and assigned a partition and drive letter to it and tried again but it still failed.

Clonezilla (failed)

Download the latest stable release .iso of Clonezilla Live and burn it to a DVD (right-click the .iso > Open with > Windows Disc Image Burner > Burn). Use F12 at DELL logo to boot from DVD.

Lanugage: English
Keymap: Don't touch keymap
Start Clonezilla
Device-Device
Beginner Mode
Part To Local Disk
Choose Source and Destination Carefully

That appeard to work but just ended up with a primary partition on my SSD that was useless. I googled around and found several posts that made the whole thing seem extreemely complicated and error prone: ubuntuforums, tomshardware, sourceforge.

{ "loggedin": false, "owner": false, "avatar": "", "render": "nothing", "trackingID": "UA-36983794-1", "description": "", "page": { "blogIds": [ 249 ] }, "domain": "holtstrom.com", "base": "\/michael", "url": "https:\/\/holtstrom.com\/michael\/", "frameworkFiles": "https:\/\/holtstrom.com\/michael\/_framework\/_files.4\/", "commonFiles": "https:\/\/holtstrom.com\/michael\/_common\/_files.3\/", "mediaFiles": "https:\/\/holtstrom.com\/michael\/media\/_files.3\/", "tmdbUrl": "http:\/\/www.themoviedb.org\/", "tmdbPoster": "http:\/\/image.tmdb.org\/t\/p\/w342" }