View previous topic :: View next topic |
Author |
Message |
richk449 Guru
Joined: 24 Oct 2003 Posts: 345
|
Posted: Mon May 28, 2007 10:33 pm Post subject: Transfer OS to new HD |
|
|
The hard drive on my gentoo computer finally died. Or is very nearly dead. When I turn it on, it makes a loud, high pitched noise, and sometimes it starts clicking. Sometimes I can boot though.
So my question is this: Since I have had this operating system for something like 5 years now, can I just buy a new HD and copy the old one to it? Is it as easy as using dd? Or will there be details that will trip me up if I try it? The new HD will be much bigger (old one is 80 GB), and will probably be SATA (old one is PATA).
I don't want to reinstall from scratch if I can help it. Too much else to do. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Mon May 28, 2007 10:39 pm Post subject: |
|
|
best thing abt linux is everything is a file...
you can use "dd" but if you want different partition schemes just make the relevant partitions and use cp (using the preserve permissions option - bar /dev,/proc/,/tmp/,/media,/mnt...). Then just edit /mnt/NEW_DRIVE/etc/fstab as well as the copy of grub.conf before finally re-writing thej MBR _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
bilbravo Guru
Joined: 30 May 2003 Posts: 319 Location: Baltimore, MD
|
Posted: Mon May 28, 2007 11:37 pm Post subject: |
|
|
I bought an 80gb SATA to replace an 80gb IDE and used 'dd'. Worked fine. Not sure how it will work if your drives are different sizes though. I'm sure it can be made to work. _________________ me |
|
Back to top |
|
|
Zepp Veteran
Joined: 15 Mar 2004 Posts: 1246 Location: Ontario, Canada
|
|
Back to top |
|
|
Shadow Skill Veteran
Joined: 04 Dec 2004 Posts: 1023
|
Posted: Tue May 29, 2007 4:29 am Post subject: |
|
|
bilbravo wrote: | I bought an 80gb SATA to replace an 80gb IDE and used 'dd'. Worked fine. Not sure how it will work if your drives are different sizes though. I'm sure it can be made to work. | The size of the drives does not matter as long as the data can fit it will work fine. I've done it before so I can speak from first hand experience. Just make sure you make the appropriate adjustments for the differences in sata and ide mount points and drivers if need be. _________________ Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.
"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it." |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Tue May 29, 2007 2:42 pm Post subject: |
|
|
Moved to dups, please continue on the other thread. _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
|