Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am about to move to a new Lenovo X201 from current X61. Current setup has separate \home, separate swap file, also separate \Data partition. Am currently running 10.04 32 bit. Am considering running 64 bit on new machine because I will now have 8 GB of RAM. And would like to also move to 10.10.

Ideally I would like preserve as much of my current setup as possible...

New machine has Win7 on it, but will blow that away, as I've made a clonezilla copy of it, and will use VirtualBox for when I need Windows.

Can someone suggest a good step by step for me? I'm networked to a NAS and also have plenty of external USB storage in case I need intermediary steps.

So do I set up new machine first with 64bit 10.10, with partition scheme I want? then rsnyc over \home from old machine (over write target home)?

Do I need to upgrade the X61 first to 10.10?

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

Yes, rsync is a good way to copy your files to the new computer. If you want the same set of packages installed, you might also want to run synaptic and File -> Generate Package Download script on the old machine, and load it into the new machine.

share|improve this answer
    
If I go down this route via generate package, will it matter that I'm moving from 32-bit to 64-bit? –  Kendor Jan 8 '11 at 17:35
add comment

Given that plenty of space is available, use a live system (usb stick) to create a tar archive of each of the two partitions you want to migrate - home and data - and store them on the NAS or the external disk. Install Ubuntu the normal way, creating the relevant partitions. Then untar the archive on the new computer, possibly from a live system. That way you can be sure that the permissions, special files etc. are preserved. This page gives a sample tar command line.

You should be able to reuse the old home partition as is; any incompatibility would be the result of a bug. Discard the root partition, which holds /usr etc. The configuration files in your home partition should be agnostic as to 32bit or 64bit.

If your old user had User ID 1001 and your new user ID 1000, you need to change the permissions of the files in your /home.

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.