[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: replacing hard disk



> Are there any tips on moving the whole system from the old disk to
> the new one? Or do I just have to re-install ubuntu, re-install
> any updates and extra programs which are installed, find and copy
> modified config files, mails, bookmarks, etc?

If you can connect both disks at the same time, and boot off of a Live
CD (or a USB key), then the simplest option is:

- connect both disks
- boot off of your rescue USB/CD.
- dd if=/dev/[olddisk] of=/dev/[newdisk]
- wait


        Stefan


PS: This presumes the new disk is at least as large as the old one.
And it will leave the additional space free: you can later on change
your partitioning (resize the last partition, or add another one) to
make use of the extra space.


Reply to: