Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Moving to a bigger harddisk
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
netboy1977
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2005
Posts: 76
Location: Muenster/Germany

PostPosted: Tue Mar 29, 2005 3:40 pm    Post subject: Moving to a bigger harddisk Reply with quote

Hi! I successfully installed gentoo on my via epia box and now want to substitue my old 30 GB Harddisk on /dev/hdb1 (the only harddisk in the system) by a 250 gb ide model.
Is it possible to just copy all the files on / to the new disk and then reinstall grub on the new disk? If so which parameters to use for cp? Many thanks in advance!!

Cheers!

Dominik
Back to top
View user's profile Send private message
masteroftheuniverse
Apprentice
Apprentice


Joined: 20 Jan 2005
Posts: 259

PostPosted: Tue Mar 29, 2005 3:54 pm    Post subject: Reply with quote

You can certainly use that method, that's what i did to mine. make sure you preserve permissions and ownership of every file and folder otherwise you'll get really annoying errors. either
Code:
 cp -gpRv /[foldername] /mnt/[newdrive]/

(you shouldn't just do the root directory since everything that's mounted will get copied, except the mounted hard drive will copy itself to itself recursively and that's a really bad thing...)
or, tar your files and untar them on the new drive. then install grub and everything's happy.
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