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

Re: DD not working--SUCCESS!



Les Mikesell wrote:
Karl Larsen wrote:

If you want to copy something big from one partition to another the old dd method is for you. You have to do it right. This means that:

1. The destination partition MUST be at least a byte larger than the source partition where the data is coming from. This is essential!

This isn't true.  Can you explain why you think it is?
Yes I can. My first try with dd I tried to put a 40GB partition into a 20GB partition and dd errored out. Then I read man dd.

3. Be ready to check the file system of the copy with fsck.

If your source partition is cleanly unmounted, the destination will be clean as well. Perhaps so but I like to run fsck just to be sure nothing is wrong.

8. Think of how dd works this way, dd see's the source partition as just a pile of bytes. It takes a few bytes each cycle and puts those bytes on the destination partition. When done dd reports how many bytes it found and how many it put on destination. They are the same large number.

This means it is important for the source to not change during the copy so it should be unmounted.

   It does and the method using the Rescue mode allows this.


--

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.


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