View previous topic :: View next topic |
Author |
Message |
Mosor n00b
Joined: 18 Sep 2002 Posts: 15
|
Posted: Tue Jun 07, 2005 7:36 pm Post subject: Moving Gentoo to another partition (same computer) |
|
|
I kindofa screwed my partition sizes, and Partition Image, for some strange reason, won't resize my Windows partition. So, all I can do is totaly wipe my HDD and repartition it. Of course, i want to preserve my current Gentoo instalation.
I was thinking of somehow 'tar'-ing my /*, burning it onto a DVD, then decompresing it on another partition and setting Grub properly. Is that all I have to do? Any other tricks I should perform, or black voodoo magic I should do before venuring into this ? Also, what tar flags to use, if I wan't to preserve everything (from owner UID/GID, mod-date, and such...)?
Ofcourse, if someone has a better idea, I'll be glad to hear it.
Thanks a lot guys. |
|
Back to top |
|
|
overkll Veteran
Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Tue Jun 07, 2005 7:49 pm Post subject: |
|
|
Probably easiest, and best in the long run to buy a new disk and transfer the data from old one to the new one. When you are done, you have a second harddrive to use to back up your system. Backups are always a good thing.
Tar and Rsync are both good tools to transfer the files. Search the forums, I've seen a bunch of posts on this subject.
HTH |
|
Back to top |
|
|
bkunlimited l33t
Joined: 18 Jun 2004 Posts: 672
|
Posted: Tue Jun 07, 2005 7:51 pm Post subject: |
|
|
boot from live cd, mount all partitions of your gentoo system and then tar them using -p flag. copy the tar file to a safe place and after repartitioning the drive do the same procedure the other way round. |
|
Back to top |
|
|
Mosor n00b
Joined: 18 Sep 2002 Posts: 15
|
Posted: Tue Jun 07, 2005 7:58 pm Post subject: |
|
|
overkll wrote: | Probably easiest, and best in the long run to buy a new disk and transfer the data from old one to the new one. When you are done, you have a second harddrive to use to back up your system. Backups are always a good thing.
Tar and Rsync are both good tools to transfer the files. Search the forums, I've seen a bunch of posts on this subject.
HTH |
Ummmm... not an option, i can barely fill up my current 250 GB HDD . I'll do as bkunlimited sugested. |
|
Back to top |
|
|
Mosor n00b
Joined: 18 Sep 2002 Posts: 15
|
Posted: Tue Jun 07, 2005 8:07 pm Post subject: |
|
|
bkunlimited wrote: | boot from live cd, mount all partitions of your gentoo system and then tar them using -p flag. copy the tar file to a safe place and after repartitioning the drive do the same procedure the other way round. |
Thanks for the tip, I'll do that (and I hope I wont f*ck something up) . |
|
Back to top |
|
|
hgerstung Tux's lil' helper
Joined: 22 Nov 2004 Posts: 123 Location: Northwestern Germany (OWL)
|
|
Back to top |
|
|
|