easiest way to replace hard drive?

Joe fedora at root-files.de
Fri Oct 9 15:25:54 UTC 2009


Try to mount new hd under /media/newhd

tar --exclude media/newhd/\* --exclude proc/\* --exclude dev/\* 
--exclude sys/\* -pcf - ./ | tar -pxvf - -C /media/newhd/

cu Joe

On 10/09/2009 04:28 PM, Patrick O'Callaghan wrote:
> On Thu, 2009-10-08 at 12:48 -0400, Dr. Michael J. Chudobiak wrote:
>    
>> Is there an easy way to transfer a system from one drive (holding
>> boot,
>> swap, lvm partitions, in the default F11 layout) to a different hard
>> drive, if the new drive is smaller?
>>
>> If the new drive is larger, dd could be used in a fairly
>> straightforward way.
>>      
> Yes and no. dd copies *everything*, including the filesystem superblock,
> so the larger drive will still think it's the size of the smaller one.
>
> poc
>
>    




More information about the fedora-list mailing list