Re: easiest way to replace hard drive?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux