15 minute ssd upgrade

Ever since the native boot blog post from Scott Hanselman I’ve been running my Windows from a VHD. When my new machine arrived I upgraded to VHDX as that would support TRIM. I was preparing my machine for a SSD upgrade, waiting for the right time. And that was 15 minutes ago 😉

intel_330_series_180gb

Together with the SSD I ordered a USB 3.0 case for my soon to be old drive. Wise choice as the speed improvement is huge, like adding SSD to your laptop.

First I popped the bottom of my HP Probook and unscrewed the HDD, then added the SSD and put the HDD in the usb case.

Making sure I’ve plugged the HDD case in a USB 3.0 port, I booted from an Windows 8 installation USB and headed to the command prompt. (Repair your computer > Troubleshoot > Advanced options > Command Prompt) Then started the DISKPART fun.

DISKPART
SELECT DISK 0
CREATE PARTITION PRIMARY
FORMAT QUICK FS=ntfs LABEL=harddrive
ASSIGN LETTER=c
EXIT

Copy the VHDX to the c-drive. My 40Gb file only took 8 minutes!

DISKPART
SELECT VDISK FILE=c:\win8.vhdx
ATTACH VDISK
LIST VOLUME
SELECT VOLUME <vol_nr_of_vhdx>
ASSIGN LETTER=v
EXIT
cd v:\windows\system32
bcdboot v:\windows /s c:

DONE. Stop the time.

About erictummers

Working in a DevOps team is the best thing that happened to me. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Tooling. Bookmark the permalink.

2 Responses to 15 minute ssd upgrade

  1. Pingback: Disable Hyper-V internal virtual switch to get instant internet after boot-up | Erictummers's Blog

  2. Pingback: Hyper-V legacy hardware | .NET Development by Eric

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.