Anne Wilson wrote:
> On Monday 10 Nov 2003 5:23 am, Michael Noble wrote:
> > It has been a while since I last dd a disk drive (it is best to
> > make them the same type and size). Assuming that the old disk is
> > /dev/hda and the new disk is /dev/hdb the following command should
> > work:
> > dd if=/dev/hda of=/dev/hdb
> I've heard people recommend this before, but I'm not sure why this is
> better than cp -a ? I do remember that the last time I tried to copy
> a whole directory to a new partition I had some problems before I got
> it right, so I want to be clear before I start.
AFAIK, cp can only copy files from a mounted partition to a mounted
partition. dd can copy anything anywhere that there exist sectors to
read & write. The example above should copy the MBR and partition
tables, as well as all files on all partitions.
> > Then make the new disk /dev/hda and the system should boot. As I
> > said it has been a while and may have the basic command a little
> > off. But the original (noisy) drive will still be in working
> > order.
> > If you have it, I have also heard that the latest Norton Ghost will
> > also work.
> This is really a much better way, but I don't have the latest Norton
> Ghost. My Drive Image is not the latest, either. Is there not a
> linux tool that tackles it in a similar way, rather than just copying
> files?
dd is probably all anyone on Linux needs, but doesn't have menus and a
pretty face. The M$ware may be able to do conversion if the source and
destination don't have matching CHS? I use DFSee myself, used to use
Partition Magic, never Ghost or Drive Image.
--
"God opposes the proud but gives grace to the humble."
1 Peter 5:5 NIV
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://members.ij.net/mrmazda/partitioningindex.html
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com