Question: I got a new HDD and want to move an existing Linux installation(more specific: OpenSUSE 11.1) from a partition on the old HDD to a partitionon the new HDD.

My plan is:

  • boot using a boot CD (let’s say it’s the OpenSUSE boot CD)

    EDIT As suggested by many people (thanks to all)1a. copy all of the files from one drive to the other

  • modify /etc/fstab (add mount points to new partitions)
  • modify /boot/grub/menu.conf (add boot partition)
  • reinstall grub
  • Am I right? Is that’s it?Or did I mis some important step? (I’m pretty sure I did)

    Answer: I would say there is one thing you missed.

  • boot using a boot CD (let’s say it’s the OpenSUSE boot CD)

    1a. copy all of the files from one drive to the other

  • modify /etc/fstab (change mount points to new partitions)

  • modify /boot/grub/menu.conf (change boot partition)
  • reinstall grub
  • I would say if you set up the partition on the new drive to be compatible with the old setings, this should be pretty straightforward. ?It might be a little more complicated if you have to edit the mount point locations inside of the OS files. ?I would recommend keeping the partitions similar enough that all you must do is boot, mount the new drive, copy, change boot partition, re-install grub on new drive. remove old drive and you are done!