'moving' ubuntu to new laptop...

albi albi at scii.nl
Sat Dec 10 12:39:13 UTC 2005


On Sat, 10 Dec 2005 13:24:15 +0100
Mario Splivalo <msplival at jagor.srce.hr> wrote:

> I just partimaged the partitions originaly set up by IBM, and I want
> to have just one big ext3 partition. When I do mkfs.ext3, may I just
> copy the files from the old laptop to the new laptop (old laptop also
> had only one partition, and new laptop has 20 Gigs more of the hard
> disk space)? I tought i could use tar|nc to copy the files. What am I
> supposed to do with grub to be able to boot on new laptop?

boot from a live-cd, chroot into your "new" install, run
grub-install /dev/hda and cross fingers etc.

> Or would it be better to put in the Ubuntu Install CD, install the
> system, then copy the .deb packages installed on old laptop
> to /var/cache/apt/archives, and install all of them, and at the end
> just move the home directory?
> 
> Somehow first option seems significantly faster, I'm just not sure how
> much fuss is to set up the system when I just copy the files?

i'd go for the new install and copy over your home-dir,
you can use kickstart to speed up the install (read : answer far less
questions during install so you can do other things)

https://wiki.ubuntu.com/KickstartCompatibility

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import




More information about the ubuntu-users mailing list