Upgrade a laptop from HDD to SSD is probably the best investment for performance. I have done it for a lot of them for my friends and relatives. For most of time, it is always a good idea to take the opportunity to clean up the system by reinstalling the OS. But today, my friend handed me a 2nd hand laptop with Windows 7 and Office 2010 on it but there is neither COA in the back of the computer, nor does she have the product keys.
So I was challenged to downsize her 320GB HDD to 128G SSD. I started the venture and finally done now although there were quite some bumpers along the way. I will not go through every each mistakes that I have made but thought should document the correct process for someone else or myself will need to do the same again.
Backup Your Computer
Use an external HDD or NAS to back up your computer, Windows 7 have build-in support to do this. Go to Control Panel and search for “Back and Restore”.
Preparation
- You can either use DVD Writer drive or USB drive if your computer can boot from USB HDD. I used two microSD card with a tiny USB card reader. I have a batch of 4GB/8GB microSD cards but essentially one used 4GB and another used 2GB. You may be able to fix all into one 4GB or 8GB card.
- You’ll need to somehow attach both disk to the computer. Either your computer can fit both or use an external HDD enclosure. This was easy for me because the SSD was mSATA so Thinkpad X220 can fit in both HDD and SSD.
- Windows 7 installation DVD, or bootable USB Drive. I have Windows 7 installer in one of microSD cards. To create one, you’ll need a 4GB+ USB memory stick, or any memory card with an USB card reader, and use the tools below
- ISO to USB was the tool I used long time back to create a bootable USB memory stick from an ISO image
- If you don’t have Windows 7 installation DVD ISO image, you maybe able to download one somewhere or create on from the installation DVD, I have used both Win32 Disk Imager (just for that) and DAEMON Tools Lite (plus a virtual drive) with great success.
- You can also mix this with next two items for this purpose, but I already and also prefer to have a separate one for Windows Installer.
- GParted for resizing partition. The site has instruction to created a dedicated CD or USB. It also come with most of Linux DVD. I used my existing Ubuntu ISO.
- Clonezilla for disk cloning. Similarly, the site has instruction to created a dedicated CD or USB. But I used Easy2Boot to combine it with Ubuntu image into one bootable USB. If you don’t have and need Ubuntu, you can just combine GParted and Clonezilla with Easy2Boot. You can possibly further combine Windows 7 Installer into the same Easy2Boot disk if you’d like.
In Action
- Again, backup your computer. You can backup system after the clean up in next step but you risk the mistake you may take during the clean up.
- Clean up your existing HDD to make sure the C drive is much less than the size of new SSD so you have enough free space after downsizing. This was not a problem for me as existing HDD has only 45GB data in it. Having larger free size can also help with defragmentation and resize later. Sometime, you just need to move videos and images to external storage first.
- Defragment the C drive. This will take a long while.
- Attached new SSD drive to the computer, initialize the disk with MGR. I don’t have much experience with GPT and my the existing disk was MBR too.
- Boot into GParted, resize the C partition (not System Reserved partition that is only 100M) on HDD to be able to fit into SSD. You can check the SSD size in GParted, I resized C on HDD to be 1GB less than SSD capacity.
- Reboot computer normally into Windows 7, it will most likely run check disk on C, or even run system recovery. Let it complete what it need to do. You should have a much smaller C drive now.
- Reboot into Clonezilla, go to command line and run ‘sudo fdisk’. First record the exact parameter of the 100M system reserved partition. Exit and fdisk the SSD drive. Create first partition with exactly same parameter as we recorded for system reserved partition. Create another partition for the remaining space. Make system reserved partition active and make sure to change ID to 7 for both partitions. Exit command line and back to Clonezilla
- Use local partition to partition clone option to copy the 100MB system reserved partition first, then use the same process to copy C partition from HDD to SDD.
- Remove the old HDD now and try to boot from SSD. If everything get up and running and you have C drive, Congrats! But
- But I got an error screen in text immediately attempting to boot from SSD. Need to boot from Windows installer DVD or USB and run repair. This should allow you to boot into Windows.
- In my case, it took a long time to log in to an empty screen. Press Ctl-Alt-Delete and select Start Task Manager. Use File->New Task (Run…) menu item and click on Browse button. I noticed that the C driver was missing and my primary partition as E drive, yours may be a different drive. Please remember the driver letter as we’ll need it later. You can start explore.exe or cmd.exe from there but what you can do with the computer is greatly limited. the real problem is that you cannot start regedit.exe.
- Fix the driver letter problem! Boot with your Windows Installer DVD or USB again into recovery console, follow the instructions here, but you need to open SYSTEM hive instead, give name as NEWSYSTEM
- You need to edit the registry key to change the drive letter of your primary partition. Replace HKEY_LOCAL_MACHINE\SYSTEM\ in the instruction with HKEY_LOCAL_MACHINE\NEWSYSTEM\
- Restart the computer and now all is good. I add the old HDD back and re-partitioned to be a large spare drive.
6 comments:
mysql> select @rn := if( @prev_col1 = t.deptno, @rn+1, 1) as rownum,
-> t.* ,
-> @dense:=if(@prev_col1 = t.deptno, if(@prev_col2 = t.sal, @dense, @dense+1),1) as dnse,
-> @rank :=if(@prev_col1 = t.deptno and @prev_col2 = t.sal, @rank, @rn) as rnk,
-> @prev_col1 := t.deptno,
-> @prev_col2:=t.sal
-> from (select * from emp order by deptno, sal,empno) t, (select @rn:=1, @dense:= 1, @prev_col1:=NULL, @prev_col2 = null) var;
+--------+-------+--------+-----------+------+----------+------+------+--------+------+------+------------------------+-------------------+
| rownum | empno | ename | job | mgr | hiredate | sal | comm | deptno | dnse | rnk | @prev_col1 := t.deptno | @prev_col2:=t.sal |
+--------+-------+--------+-----------+------+----------+------+------+--------+------+------+------------------------+-------------------+
| 1 | 7934 | MILLER | CLERK | 7782 | NULL | 1300 | NULL | 10 | 1 | 1 | 10 | 1300 |
| 2 | 7782 | CLARK | MANAGER | 7839 | NULL | 2450 | NULL | 10 | 2 | 2 | 10 | 2450 |
| 3 | 7839 | KING | PRESIDENT | NULL | NULL | 5000 | NULL | 10 | 3 | 3 | 10 | 5000 |
| 1 | 7369 | SMITH | CLERK | 7902 | NULL | 800 | NULL | 20 | 1 | 1 | 20 | 800 |
| 2 | 10000 | SMITH | CLERK | 7902 | NULL | 800 | NULL | 20 | 1 | 1 | 20 | 800 |
| 3 | 10000 | SMITH | CLERK | 7902 | NULL | 800 | NULL | 20 | 1 | 1 | 20 | 800 |
| 4 | 7876 | ADAMS | CLERK | 7788 | NULL | 1100 | NULL | 20 | 2 | 4 | 20 | 1100 |
| 5 | 7566 | JONES | MANAGER | 7839 | NULL | 2975 | NULL | 20 | 3 | 5 | 20 | 2975 |
| 6 | 7788 | SCOTT | ANALYST | 7566 | NULL | 3000 | NULL | 20 | 4 | 6 | 20 | 3000 |
| 7 | 7902 | FORD | ANALYST | 7566 | NULL | 3000 | NULL | 20 | 4 | 6 | 20 | 3000 |
| 1 | 7900 | JAMES | CLERK | 7698 | NULL | 950 | NULL | 30 | 1 | 1 | 30 | 950 |
| 2 | 7521 | WARD | SALESMAN | 7698 | NULL | 1250 | 500 | 30 | 2 | 2 | 30 | 1250 |
| 3 | 7654 | MARTIN | SALESMAN | 7698 | NULL | 1250 | 1400 | 30 | 2 | 2 | 30 | 1250 |
| 4 | 7844 | TURNER | SALESMAN | 7698 | NULL | 1500 | 0 | 30 | 3 | 4 | 30 | 1500 |
| 5 | 7499 | ALLEN | SALESMAN | 7698 | NULL | 1600 | 300 | 30 | 4 | 5 | 30 | 1600 |
| 6 | 7698 | BLAKE | MANAGER | 7839 | NULL | 2850 | NULL | 30 | 5 | 6 | 30 | 2850 |
+--------+-------+--------+-----------+------+----------+------+------+--------+------+------+------------------------+-------------------+
16 rows in set (0.02 sec)
mysql>
Quickbooks is the advanced acounting software to manage small and medium sized business. This software allows users to create online backups to restore the data. Restore quickbooks backup
One of the easiest ways to register your account on wwwhotmail.co.uk. Follow this guide to Sign up and Log in to https:///mailtuts.co.uk/
.
Fantastic post from you guys, which astonished me since I learned a lot from your blog. It is truly extremely useful and original stuff for everyone who want to get knowledge from the post. Thank you for providing this information. slope game
Great Post. Thanks for the blog.
Linux course in Pune
Post a Comment