[nflug] Re: nflug Digest, Vol 13, Issue 15
Boice
evrgreen at netsync.net
Sun Oct 22 17:29:59 EDT 2006
OH NO!
> Hello, Michael.
>
> Another way to do it that has worked out for me is to use the dd
> command. For example, if you have already set up partitions equal [or
> larger] on the second drive, you get into the CLI as root and type:
>
> # dd if=/dev/hda1 if=/dev/hdb1 bs=32256
>
> . . .assuming you want to copy all the contents, byte-for-byte from hda1
> to hdb1. Obviously, it is better to do this from a Linux Live CD since
> none of the partotions you are messing with should be mounted. I usually
> use Mepis, but Knoppix or any of the others ought to be fine, too.
>
> I have even moved a bootable Windows 2000 partition this way and it ran
> fine in it's new location! For Linux, you will need to adjust the fstab
> and GRUB or LILO menu to make things work right, but the new partition,
> PROVIDED IT HAS ENOUGH ROOM, will have identical data to the one from
> which it was copied.
>
> Email me if you have any questions, & I'll do my best to answer.
>
> --John G. Boice
> evrgreen at netsync.net
>
>
SORRY! Totally wrong: my typo would get you nowhere!
The correct command would be:
dd if=/dev/hda1 of=/dev/hdb1 bs=32256
"if=" for the source and then "of=" for the target partition
I apologize for the error,
mea culpa, mea culpa, mea maxima culpa
[Modern English trans: "'my fault, yeah, my fault, well, MOSTLY my
fault. . ."]
--John
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug
More information about the nflug
mailing list