Migrate Ubuntu to a bigger disk on a laptop

Asif Iqbal vadud3 at gmail.com
Sat Feb 21 21:34:29 UTC 2009


Hi All

I have ubuntu 8.10 running on my laptop. It is a 40gb disk. I want to
upgrade it to 250gb drive.

I am thinking of doing the migration like this

1. copy over my home dir to another machine on same subnet using tar/ssh
2. generate a list of all the pkgs and save it on a file on another machine
3. boot from a liveCD and wipe the disk clean
4. replace the 40g disk with new 250g disk
5. fresh install ubuntu 8.10
6. copy my home dir content back from remote machine
7. take the pkg list file from remote machine and pipe it through
aptitude to install all the new pkgs

Am I missing anything?

Now what is the best way to do step 2 and step 7?

Also what is the best method of wipe clean a hard drive in step 3?

How do I make sure the rc scripts are setup same way? There are few
apps where I ran
the `sudo update-rc.d -f <appname> remove'. So the rc scripts are not
at default state

Thanks for your help

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?




More information about the ubuntu-users mailing list