I have resize the HDD partitions with Gparted Live and copy the reduced-size partitions(only file system on it) to the smaller SSD with Clonezilla live , and both of them are successful already.now I try to use the boot partition(dev/sda1) on HDD to boot my SSD system, and is it correct?

share|improve this question
    
I remove the HDD but the SSD can't be booted, I haven't install the boot partition on SSD, should I do that? – wind Jan 5 '15 at 4:29
    
can I directly copy the boot/efi file on HDD to SDD, use cp command? – wind Jan 5 '15 at 4:34
    
EFI may be complicating things... did you copy the EFI boot partition along with the data partition? That may have been easier – Xen2050 Jan 5 '15 at 9:48
up vote 0 down vote accepted

Now that your drive is copied to the new media, before removing the original drive you need to download and burn this boot repair cd. After swapping out your old and new hard drives you will need to boot to this CD and let it configure your new drive to boot your system.

If you do not disconnect the original hard drive, the Boot Repair CDrom will not be able to prepare the SSD as your boot device. If at a later time you wish to reconnect your HDD or format it as free space, I'd be happy to help you with that, but first we must complete this step.

share|improve this answer
    
I already download the boot repair and it works. Boot successfully repaired, the following URL:paste.ubuntu.com/9671442. I got two choice,ubuntu14.04(should be HDD) and ubuntu14.04(/dev/sdb1)(it's ssd, sure be that.), when I chose the second, I entry the system , but I realize it is still the HDD system – wind Jan 5 '15 at 6:11
    
I foresaw this difficulty and thought I made myself clear. I've added a second paragraph to my answer to help you understand what you must do. – gyropyge Jan 5 '15 at 6:25
    
Boot-Repair can easily run from any live Ubuntu, or Debian-based distro, no need for a whole disk just for it. That's even the Boot-Repair recommended way to get it: "Recommended: boot on a Debian (or derivatives: Ubuntu, Linux Mint...) disk, either normal session, or live-CD, or live-USB. Then install Boot-Repair in it, either via PPA for Ubuntu/Mint, or DEBs for Debian." – Xen2050 Jan 5 '15 at 9:45
    
@Xen2050, if boot repair is being included in live ubuntu disks this is news to me. Happy news actually, but nonetheless news I was until now unaware of. Are you certain of this? – gyropyge Jan 5 '15 at 10:56
    
Not included by default, but installable like the quote says. The info was from the link you pasted, on the main Boot-Repair page sourceforge.net/p/boot-repair/home/Home with the PPA link going here help.ubuntu.com/community/Boot-Repair – Xen2050 Jan 5 '15 at 11:34

dd command should works.

dd if=[Input file or Device] of=[Output file or Device] bs=[Byte Per Seconds]

dd if=/dev/sda of=/dev/sdb bs=4m

where sda is for old hard disk and sdb is your new SSD.

dd command copy byte by byte from an storage to new storage.

share|improve this answer
    
The drives aren't the same size, the new one's smaller – Xen2050 Jan 5 '15 at 11:35
    
So you should Copy Partition to new partition and make ssd bootable. – Vahid Jan 5 '15 at 11:36
    
That's what wind's trying... How? – Xen2050 Jan 5 '15 at 12:24
    
"dd if=/dev/sda1 of=/dev/sdb1 bs=4m" sda1 is source partition and sdb1 is destination partition. Attention! double check your command. It's dangerous. – Vahid Jan 5 '15 at 12:44
    
I think dd command not be worked,you can resize the partition on HDD first with the tools named Gparted live USB/CD , it's easy to use. And then you can use the clonezilla live USB/CD to clone the file system from HDD to SSD , I just did that. finally, set the boot partition on SSD , it's ok. – wind Jan 5 '15 at 13:34

When you ran clonezilla, you also cloned your /etc/fstab file so that it you boot off the ssd, the fstab there tells linux that the / and /home (if separate partitions) are looking to the spinning HD. You just neet to change /etc/fstab on sdb to to have the UUID of the ssd.

You can test it like so...

sudo nano /etc/fstab

Be sure you are on your ssd and comment out the line that has / right after the UUID by putting a # at the start of the line. Create a net line below it with everythig the same, except change the UUID to the one of your SSD.

alt-o alt-x Will save and exit (letter o not number) reboot and check it out.

share|improve this answer
    
why I don't feel faster than HDD when installed SSD, though the startup machine time seems get a little speed – wind Jan 5 '15 at 14:02
    
If you are haven't changed the fstab, you are using the hdd right after the ssd starts to boot. The ssd is handing off the majority of boot to the hdd. – Scott Goodgame Jan 5 '15 at 16:49
    
I only use the SSD on my laptop,I can feel the startup time is faster, but the time of titanium build is still so slow, some suggestions? – wind Jan 6 '15 at 12:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.