Hot answers tagged

45

PartedMagic UPDATE: since circa 2014, PartedMagic is no longer free to download, although still technically FOSS (in the sense that you can build it from source). PartedMagic is a free (FOSS actually) Linux-based tool that can perform almost any operations with disk drives, including copying, resizing and moving partitions. It can be booted from CD, USB ...


25

64k seems to be a good pick: Results: no bs= 78s 144584+0 records bs=512 78s 144584+0 records bs=1k 38s 72292+0 records bs=2k 38s 36146+0 records bs=4k 38s 18073+0 records bs=5k 39s 14458+1 records bs=50k 38s 1445+1 records bs=500k 39s 144+1 records ...


22

Clonezilla clonezilla is a free Linux based tool made for hard disk backups.


19

You can directly create an image with VBoxManage convertfromraw. First unmount the device, then: VBoxManage convertfromraw /dev/sda MyImage.vdi --format VDI Replace /dev/sda with whatever disk or partition you want to clone. You may need to do this as root to gain access to the device. If so, then you should change ownership of the finished image.


16

dd will happily copy using the BS of whatever you want, and will copy a partial block (at the end). Basically, the block size (bs) parameter seems to set the amount of memory thats used to read in a lump from one disk before trying to write that lump to the other. If you have lots of RAM, then making the BS large (but entirely contained in RAM) means that ...


15

Windows 7 actually behaves differently when it is installed on an SSD: When a solid state drive is present, Windows 7 will disable disk defragmentation, Superfetch, ReadyBoost, as well as boot and application launch prefetching. http://www.tomshardware.com/news/windows-solid-state-drives-ssd,7717.html I'm not sure if all this will be done ...


14

Nope. By definition, cloning is making an exact copy. So if you're really cloning, reinstallation of the OS and programs should not be necessary. See Wikipedia on disk cloning.


13

After cloning partitions containing Windows operating systems, it is necessary to fix up the boot configuration data if the cloned partitions are not in exactly the same position on the cloned disc as they are on the original. The Windows boot mechanism, since Windows Vista, stores its configuration as "Boot Configuration Data" (BCD) and this refers to ...


12

Paragon Backup & Recovery Paragon Backup & Recovery 2011 (Advanced) Free has "Restore with Shrink" to restore a backup image into a smaller disk, taking into account only the amount of actual data of the image. That means that the amount of used space on the HDD be smaller than the full size of the SSD, with a few gigabytes still left free as a ...


11

Don't forget to check with your SSD vendor. Both Intel and Western Digital (and probably most name brand SSDs) offer free, limited versions of Acronis software (or similar). Search for "Intel data migration software" and you'll find the Intel page with the free download. The catch is that this software will only work with an Intel SSD connected to the PC, ...


11

There is. Go back to the place where you cloned the MAC address and restore the default. Some background: A MAC address is a unique identifier. Much like a serial number it is set by the manufacturer. When identifying a piece of a local network this unique 48 bits value will be used. You just cloned (copied) it and it is no longer unique, thus breaking ...


9

I have used CloneZilla with great success many many times. Not newbie friendly but very powerful and very useful, either copies from one drive to another, or image one disk then restore to another.


9

I successfully upgraded my laptop drive to an SSD. It’s much faster now. Instructions: Make sure you get an SSD that is bigger than your HD. I bought the Intel 520 SSD 240GB for about $250. Back up your laptop just in case. In Control Panel, open the Bitlocker Driver Encryption applet, go to Tools and print out the Bitlocker Recovery key (about 48 digits)....


8

For those that end up here via Google, even if this discussion is a bit old... Keep in mind that dd is dumb for a reason: the simpler it is, the fewer ways it can screw up. Complex partitioning schemes (consider a dual-boot hard drive that additionally uses LVM for its Linux system) will start pulling bugs out of the woodwork in programs like Clonezilla. ...


7

For Linux this depends upon the cloning software and OS used (Ubuntu in your case), but any static settings relating to network interfaces is a big one. IPs and (sometimes) hardware addresses will be stored in text files in the event of static addressing which you will have to change. In Red Hat-based distros there is a tool called sys-unconfig which will ...


7

According to this unofficial documentation on BCD internals, partitions in the BCD store are actually identified by the disk signature and the partition offset. You copied the disk signature (MBR bytes 440–443), but most likely changed partition offsets when putting partitions on a smaller disk, therefore BOOTMGR was no longer able to find these partitions.


6

I would: resize the filesystem in-place with something like resize2fs -p /dev/<device_name_fs_is_on> 20G It will undoubtedly refuse to run first time, suggesting that you run fsck first. You can force it to run, but the fsck operation is strongly recommended as trying to resize a filesystem with errors (even minor ones) could lead to disaster. Rerun ...


6

Use a backup solution which can do bare metal bit-for-bit backups of the entire disk. Clonezilla is fully capable of this and would be my first choice.


6

You could use something like Gparted to resize the partition on the 500GB drive to a size that will fit on the SDD and then copy the partition from one drive to the other.


6

With HTTrack you can have it uses a cookies.txt file when downloading. I've used it to successfully mirror a moodle site.


6

Quick trick to copy over a network: use linux netcat (nc). Using this method you do not have to convert to a raw image as dd will copy literally everything from the source drive. Use your choice of linux live discs to boot both the physical machine and virtual machine, make sure both have network access and write down the IP addresses of both. Switch to ...


6

Clonezilla works great for me.


6

As long as the size of your current actual data is less than the size of the new SSD, and your cloning software lets you resize (most do, even downsize), you will have no problems. If not, you can use a partition manager software to downsize first, then clone it. http://clonezilla.org/downloads.php http://www.partition-tool.com/download.htm


6

I was able to make my system boot by doing the following: 1) Take note of the device(s) the system cannot find. 2) Answer "n" to that question. It should take you to a command prompt. 3) Run this command: cd /dev/disk/by-id 4) Run this command: ls 5) Rename all files in this folder replacing there current name with the name of the device you took note ...


6

Windows Sysinternals Disk2vhd can clone live Windows systems to a VHD file. Disk2vhd is a utility that creates VHD (Virtual Hard Disk - Microsoft's Virtual Machine disk format) versions of physical disks for use in Microsoft Virtual PC or Microsoft Hyper-V virtual machines (VMs). The difference between Disk2vhd and other physical-to-virtual tools is that ...


6

If you have to re-activate an installation depends on several factors. Usually this is tied to certain hardware identification parameters (such as the MAC address of the primary network adapter). If too many of these parameters change, a reactivation is required. The Windows website itself has this to offer on the question: Do I need to activate Windows ...


6

In principle, you could use either. There are few important differences, but none that apply here. When you use > redirection, the target file is opened, and truncated. Only then it is written to. However this does not apply to block devices — they have a fixed size, so “truncation” doesn't do anything to them. With cat you can not easily tell it to ...


5

Virtualization is definitely the answer here. If you want multiple OSes at once, you have to go the virtualization route. It would be very time consuming to have to continually ghost, or even reboot a machine to boot into a new OS. The only drawback I see is machine resources. Get a big machine with lots of memory if you plan on using several virtual OSes....


5

In general, yes, cloning a hard-drive will just work (like all other people already said). On Linux, it will work. No doubt about that. However, I'm not sure about how Windows will behave, because Windows might detect that the hard-drive has changed (by looking at the serial number - which CAN'T be changed by software) and thus might give some trouble. I ...



Only top voted, non community-wiki answers of a minimum length are eligible