cilbuper
April 3rd, 2010, 04:25 AM
I need to use the drive which currently hosts an Ubuntu 9.10 server install. The Os install was the default Ubuntu partitioning. It created sda1, sda2 and sda5, Linux, Extended and Linux/Swap partitions, respectively. The start and end blocks for sda2 & 5 are the same.
I am trying to figure out which method of migration would be the best. I have used ddrescue to clone hard drives and am not sure how this would work when migrating to a smaller HD (Moving from a 74GB to a 36GB). Would it be a good idea to shrink the partition with Gparted or something? The OS is only about 3-4GB.
The other way I could migrate is to use the tar backup I made. It should have everything needed as I used the notes from the Ubuntu Backup How To page. I just don't know how this works when installing to a new hard drive. Would I need to create or edit the MBR of the new hard drive? Can a tar backup capture any of the MBR info?
I guess it shouldn't make much of a difference as to which method I use so I am open to suggestions as to which to try and any suggestions as to things to make sure to do. Much thanks!
I am trying to figure out which method of migration would be the best. I have used ddrescue to clone hard drives and am not sure how this would work when migrating to a smaller HD (Moving from a 74GB to a 36GB). Would it be a good idea to shrink the partition with Gparted or something? The OS is only about 3-4GB.
The other way I could migrate is to use the tar backup I made. It should have everything needed as I used the notes from the Ubuntu Backup How To page. I just don't know how this works when installing to a new hard drive. Would I need to create or edit the MBR of the new hard drive? Can a tar backup capture any of the MBR info?
I guess it shouldn't make much of a difference as to which method I use so I am open to suggestions as to which to try and any suggestions as to things to make sure to do. Much thanks!