> Michael wrote:
> 
> I have two identical hard drives. One has live OS on it, and the other is
> completely empty. No partitations at all, and no data.
> 
> Would the following work;
> 
> dd if=/dev/hda of=/dev/hdb bs=64k
> 
> To duplicate the entire disk of /dev/hda to the disk /dev/hdb


Yes. :)


> And once it is done.. would the 2nd disk be bootable?


Yes. :)


> and would the first disk be intact?


Yes. :)


- Jeff

(Who might mention now that, yes, you're doing a lowish level copy of the
hard drive, so all the data, partitions, etc, will be exactly the same. dd
is very, very cool.)


-- [EMAIL PROTECTED] ------------------------------- http://linux.conf.au/ --

        Ye shall be cursed to fall in love so easily, and yet be so
                     cold of heart as never to express it.


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to