copy_linux_to_a_new_harddisk

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
  • copy_linux_to_a_new_harddisk.1294181709.txt.gz
  • Last modified: 04.01.2011 23:55
  • by Pascal Suter