This is an old revision of the document!
Copy Linux to a new Harddisk
- stop any running services like apache, mysql etc. on the source system.
- partition and format the new harddisk
- rsync - for each partition
- edit fstab and /boot/grub/menu.lst and update UUID according to harddisks_by_uuid_in_debian_lenny
- install grub
sudo grub
find /boot/grub/menulst
(if you have an own partiton for boot, you can leave boot away in the above command)
root (hd0,0) setup (hd0) * reboot your system