View previous topic :: View next topic |
Author |
Message |
netboy1977 Tux's lil' helper
Joined: 29 Mar 2005 Posts: 76 Location: Muenster/Germany
|
Posted: Tue Mar 29, 2005 3:40 pm Post subject: Moving to a bigger harddisk |
|
|
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 |
|
|
masteroftheuniverse Apprentice
Joined: 20 Jan 2005 Posts: 259
|
Posted: Tue Mar 29, 2005 3:54 pm Post subject: |
|
|
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 |
|
|
|