Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to replace a hard disk in my desktop with a smaller SSD. This hard disk has the following partition setup:

  • Linux ext4 partition (and related swap partitions)
  • Windows 7 NTFS partition
  • miscellaneous partition for file storage

I have tried manually copying partitions to the SSD and recreating the boot sector, but this has not worked well.

I would like to make a near identical copy of the hard disk onto the SSD minus the miscellaneous partition -- this way, all of the data will fit on the smaller SSD.

Is it possible for me to clone the hard disk, including the bootloader, to the new SSD EXCEPT for this "miscellaneous" partition?

share|improve this question
add comment

2 Answers

Sure, make an Ubuntu Live USB or something similar. Boot it, start gparted and delete your miscellaneous partition. If space isn't sufficient with deleting that partition you can even shrink another partition with gparted.

Then make Live CD or USB of Clonezilla. It is pretty much straight forward and easy to use. It does all the cloning for you, including bootloader,MBR,etc.

share|improve this answer
    
Won't that delete my files though?? I don't want to delete the data on the partition, I just don't want to copy it to the new drive. –  Ryan Rosario Feb 19 '13 at 22:01
    
Now I get you. You just want to keep that miscellaneous partition on HDD and clone the other partitions to SSD. In this case just use Clonezilla in expert mode (its not that difficult) and clone just the partitions you want. –  kschurig Feb 19 '13 at 23:46
    
Thanks. Will that still clone the bootloader? –  Ryan Rosario Feb 20 '13 at 4:15
    
I guess it is possible but I cannot say for sure. –  kschurig Feb 21 '13 at 22:46
add comment

Do a bit copy of the drive (using dd for example), until the new drive runs out of space. Then delete the half-baked last partition on the new drive.

share|improve this answer
add comment

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.