My hard drive has been occasionally making noises (spinning-type sounds ??? ), so I want to move _Everything_ over to a new hard drive.
I'm stuck, and could use a little feedback.
My new drive is bigger, and naturally, I wanted to use the extra space, so I fired up the "systemrescueCD", ran qtparted, and recreated my partitions on the new drive, except I made all of them larger (heck, I now have so much space to spare, I even made the swap partition larger!) Then, I used dd to write the contents of the old drive to the new drive, partition by partition. This worked, re-installed grub, the machine booted up, and I was greeted by my familiar desktop. Everything looked ok, but.... df showed that the sizes are still the old ones - ie, although a partition is shown to be "newsize" by parted,fdisk,et al, df shows me that the partition is still "oldsize". Well, the system worked for a while... Running fsck gave me errors. And then finally, a crash, and on restarting, the system wanted to do a fsck, which I let it do, and fsck basically gave up, and said my data was toast.
OK, no problem, at this point I had only lost a couple of days. And, this is just my home desktop, nothing that important on it. Popped the old hard drive back in, and back to square one. (Funny thing, the sounds have not come back yet)
I thought, well, why not just dd the whole drive, and then resize the partitions using parted. Good idea, I suppose, but didn't work. Parted reported "filesystem has incompatible feature enabled", and refused to resize my (ext3) partitions. I googled for this error, and found some posts that said to turn off journaling, resize, then turn it back on. However, this didn't work for me, still got the same error.
I looked into partimage, but it requires same size partitions, so again not an optimal solution.
I suppose I could do it the windows way, re-install, but I am hoping that I don't have to go that route.
tar seems to be the best candidate for what I want to do, but something in its documentation has me wondering. Since I want to restore my entire system, I want all ownerships and permissions to remain the same. In tar's documentation, it is stated it is the default behavior to preserve these, but it needs a copy of /etc/passwd to achieve this. If I am completely restoring my system on to a new drive, I don't see how it is going to find /etc/passwd. Hopefully, I missed something on reading the documentation.
This whole thing has taken many hours already, and I am thinking maybe I could use a little advice/feedback before going further. Any suggestions would be appreciated.