drive change

NoOp glgxg at sbcglobal.net
Tue Sep 28 23:27:16 UTC 2010


On 09/28/2010 03:08 PM, Bill Wright wrote:
> how can i change hard drives to another and retain o/s and data
> 

Similar to what Alan suggests:

1. Power down & connect both drives.[1]
2. Boot to the Ubuntu liveCD (live use mode, not install mode) - do
*not* mount the drives.
3. Open gparted (System|Administration|gparted) and use the copy
function to copy from the old drive to the new. Note: this will
effectively do the same as if you were to use dd from the terminal to do
the copy and will copy bit for bit).
4. Exit the liveCD, power down, disconnect the old drive, make sure that
the new drive jumpers are properly set (Master) & power up with the new
drive. Immediately go to bios & make sure that the drive is showing up
properly etc.
5. Continue to boot to the new drive & you should be good to go.

Note: if you plan to use the old drive in the same machine as well need
to change the UUID of the old drive so that it doesn't conflict with the
drive that you just mirrored/copied, see:
<http://permalink.gmane.org/gmane.linux.ubuntu.user/202144>

[1] If it is not possible to connect both drives in the same machine
(for example if it is a laptop drive & you are installing to a desktop
drive), I use a nifty usb-sata-ide adapter from vantec:
<http://www.vantecusa.com/front/product/view_detail/266>
to connect via USB. Well worth the small investment IMO.





More information about the ubuntu-users mailing list