Re: Copying a Hard Disk Containing Windows With Fedora

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

 



Oliver Ruebenacker wrote:
     Dear friends,

  I need to copy the hard disk of a Windows computer to a new hard
disk of equal size. I was thinking of connecting both drives
(SATA/150), booting from the Fedora 8 Rescue Disk and then do

  dd if=/dev/hda of=/dev/hdb

  in hope that after that, the second hard disk can be used in place
of the first one (including booting Windows, of course).

  Does this work? Thanks!

It probably will work[1], but I would worry that the disks' gemoetries may differ a little. Not all 120Gbyte drives have the same number of cylinders.

I copy Windows immmoderately often. My preferred tool is a bootable CD including ntfs-progs - think the latest Knoppix.

ntfsclone does an excellent job of copying a partition.
If you need to change a partition's size, there's ntfsresize.

I'd probably copy (extremely carefully) the first sector with dd, then use hdparm to make Linux reread the partition table on the target drive.

To be safe, I might resize the source partition(s) to a little smaller using ntfsresize.

Then copy with ntfsclone, and resize again at the destination to make sure the data fit snugly into the partition.

[1] I used dd to copy an 80 Gbyte drive to a 320 Gbyte drive. I'm happy with the results, but then if it went wrong I know what to try next. It would not work if the target drive was even one sector shorter. Depending on partitioning.



--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux