Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Moving Gentoo to another partition (same computer)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Mosor
n00b
n00b


Joined: 18 Sep 2002
Posts: 15

PostPosted: Tue Jun 07, 2005 7:36 pm    Post subject: Moving Gentoo to another partition (same computer) Reply with quote

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
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Tue Jun 07, 2005 7:49 pm    Post subject: Reply with quote

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.:D
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
View user's profile Send private message
bkunlimited
l33t
l33t


Joined: 18 Jun 2004
Posts: 672

PostPosted: Tue Jun 07, 2005 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mosor
n00b
n00b


Joined: 18 Sep 2002
Posts: 15

PostPosted: Tue Jun 07, 2005 7:58 pm    Post subject: Reply with quote

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.:D
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
View user's profile Send private message
Mosor
n00b
n00b


Joined: 18 Sep 2002
Posts: 15

PostPosted: Tue Jun 07, 2005 8:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
hgerstung
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2004
Posts: 123
Location: Northwestern Germany (OWL)

PostPosted: Tue Jun 07, 2005 8:19 pm    Post subject: Reply with quote

Maybe you want to check out this:
https://forums.gentoo.org/viewtopic-t-312817-highlight-stage4.html

It describes how to create a full backup... Works nice and helps by allowing you to configure a number of directories you want to exclude.

Kind regards,
Heiko
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum