Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
new hard disk
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
bennysp
n00b
n00b


Joined: 25 Nov 2004
Posts: 4

PostPosted: Thu Nov 25, 2004 5:31 am    Post subject: new hard disk Reply with quote

OK, after installing a stage1 and many days of compiling other programs on it, i want to know if there is an easy way to move the files to another harddrive. Same hardware except a different harddrive. Is there any way to do this without recompiling a whole bunch of stuff?

would i just have to change a few configs like grub, fstab ???

thanks
ben
Back to top
View user's profile Send private message
Valhlalla
Apprentice
Apprentice


Joined: 22 Sep 2003
Posts: 161
Location: Sydney, Australia.

PostPosted: Thu Nov 25, 2004 5:37 am    Post subject: Reply with quote

This is not a big drama either way, but are you replacing the HDD alltogether or are you adding the new one in?
_________________
Pork Chop Sandwiches, Oh Sh*t!
Back to top
View user's profile Send private message
bennysp
n00b
n00b


Joined: 25 Nov 2004
Posts: 4

PostPosted: Thu Nov 25, 2004 8:36 am    Post subject: probably replace Reply with quote

I will probably replace the hard drive. The only thing I DONT want to have to do is take the time to do all the compiling again. I just got done with openoffice... took a good 6hrs hahaha.

thanks
ben
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Thu Nov 25, 2004 10:07 am    Post subject: Reply with quote

You can pretty much just copy everything over.
Good howto:
http://www.tldp.org/HOWTO/Hard-Disk-Upgrade/index.html
Back to top
View user's profile Send private message
bennysp
n00b
n00b


Joined: 25 Nov 2004
Posts: 4

PostPosted: Fri Nov 26, 2004 4:59 am    Post subject: Great Reply with quote

Great! I will give that a shot.

Thanks
Ben
Back to top
View user's profile Send private message
david.birch
n00b
n00b


Joined: 26 Nov 2004
Posts: 13

PostPosted: Fri Nov 26, 2004 7:30 am    Post subject: Reply with quote

you can also use rsync (which is perhaps teh coolest copy thing on earth...),
just partition & mount ur new disk, then use "rsync -a <excludes> / <dest>" to copy, excluding the /proc & wherever you have mounted the new disk... (use --exclude <xx> )

is really easy & fast ;)

ps: you get some error flowing forth when it tries to copy /dev, but don't sweat it, doesn't seem to hurt =)
Back to top
View user's profile Send private message
bennysp
n00b
n00b


Joined: 25 Nov 2004
Posts: 4

PostPosted: Fri Nov 26, 2004 4:14 pm    Post subject: rsync is awesome Reply with quote

Hmmm... rsync eh? I actually use that to "mirror" some websites I use. I really like it as well... may have to give that a shot.

Thanks for the help!

Ben
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