On Fri, Sep 21, 2001 at 12:36:21PM +0100, Oliver Ryan came forth with:
> Hi all,
>> I'd like to make a copy (image) of a hard disk (10GB) running RH Linux
> and transfer it to a new hard drive. What's the best way of doing this?
> I've heard of Norton Ghost and Drive Image to create an image of the
> original disk, but these have to be bought.
>depends on what you want to do. If you can have both the drives in the
machine at the same time, then just recreate the partition scheme on the
second drive, and use tar
(I always end up messing this up, but something like
tar -cpX /tmp/exclude f - / | (cd /mnt && tar xvpf -)
where /tmp/exclude has
but try this first).
dd will do the job, but you'll be left with an image, so if the drive is
bigger, you may not be able to use the spare space (there is information in
the MBR that will be transferred).
If the geometry of the new drive is significantly different, you may also
find the boot sector won't work.
Make sure you have a boot floppy handy :)
dBP dBBBBb | If you're looking at me to be an accountant
dBP | Then you will look but you will never see
dBP dBBBK' | If you're looking at me to start having babies
dBP dB' db | Then you can wish because I'm not here to fool around
dBBBBP dBBBBP' | Belle & Sebastian (Family Tree)
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!