New Hard Drive

Les Mikesell lesmikesell at gmail.com
Tue Aug 14 05:39:29 UTC 2007


Karl Larsen wrote:
> John Wendel wrote:
>> Karl Larsen wrote:
>>>    I discovered I can buy a new IDE 160 GB Western Digital Hard Drive 
>>> for $83.00 plus shipping. I would like to replace this old 160 GB 
>>> with a new one. What method would you suggest for putting all the 
>>> stuff on the old hard drive on this new one? It seems that dd could 
>>> do it but I wonder how fast it would be?
>>>
>>>    Any experience will be appreciated.
>>>
>>
>> Do a little more shopping at newegg.com and save a few bucks
>>
>> Seagate 250 GB  $69 + free shipping
>> Hitachi 250 GB  $59 + free shipping
>>
>>
>    OK John you have me hooked. I had forgot newegg and they are the best 
> for parts. I will order from them.
> 
>    Now how to put this f7 on the new HD :-(    I have had no help at all 
> so I will do it as I have in the past. I use cp=copy and the switches 
> -av >> file and that allows me to just let the copy happen and when over 
> read file and see what happened 8-)
> 
> 
>    I have done this more times than I needed to. Worked every time ;-)

cp -av should work, although I doubt if it takes care of the selinux 
magic.   If you want to minimize downtime on an active machine, do that 
or an rsync -avH while the machine is still working, then when you are 
ready to swap, drop to single user mode and repeat the rsync, adding the 
--delete option.  This will quickly update any changes since the first 
copy, then you can swap the disks and reboot.

-- 
   Les Mikesell
    lesmikesell at gmail.com




More information about the users mailing list