Jump to content
12 posts in this topic

Recommended Posts

I was wondering the same thing - which one of the following 4 worked:

 

1. dd if=tiger-x86-flat.img of=\\.\PhysicalDrive# bs=1M

 

2. dd if=tiger-x86-flat.img of=\\.\PhysicalDrive#

 

3. dd if=tiger-x86-flat.img of=\\.\PhysicalDrive# bs=512 skip=63

 

4. dd if=tiger-x86-flat.img of=\\.\PhysicalDrive# bs=1048576

 

Thanks

Link to comment
https://www.insanelymac.com/forum/topic/781-b512-skip63/#findComment-4653
Share on other sites

Hm how quick would bs=1T? :0  be

 

(T = Terra  :) )

 

That would depend on the cache and maximum request size of your harddisk.

 

And the amount of memory in your machine, you'll need a terabyte of free memory available inorder to get it to work :D

Link to comment
https://www.insanelymac.com/forum/topic/781-b512-skip63/#findComment-5815
Share on other sites

If you are using a disk image, it is important to specify skip=63. This tells dd to ignore the first 63 bytes of the image, which happen to be the partition table information, and to only copy the partition itself. Most likely, if you put skip=1, you'll have junk at the start of the partition. The OS may be able to cope, but it's not a proper partition. The Disk Utility may be able to corrected it.

 

The skip parameter has nothing to do with speed. Keep it at 63 if you use the disk image.

 

btw, bs=* tells how many bytes to read and write at once. 512 is conservative and safe. Most people would be able to get by with 1M. Don't go too high or you'll run out of memory, or may get read/write errors.

 

All of this information is in the dd man page.

Link to comment
https://www.insanelymac.com/forum/topic/781-b512-skip63/#findComment-5996
Share on other sites

If you are using a disk image, it is important to specify skip=63.  This tells dd to ignore the first 63 bytes of the image, which happen to be the partition table information, and to only copy the partition itself.  Most likely, if you put skip=1, you'll have junk at the start of the partition.  The OS may be able to cope, but it's not a proper partition.  The Disk Utility may be able to corrected it. 

 

The skip parameter has nothing to do with speed.  Keep it at 63 if you use the disk image.

 

btw, bs=* tells how many bytes to read and write at once.  512 is conservative and safe.  Most people would be able to get by with 1M.  Don't go too high or you'll run out of memory, or may get read/write errors.

 

All of this information is in the dd man page.

You are wrong. Skip tells dd to ignore first 63 blocks of the specified by "bs=" size. You need to skip 63*512=32256 bytes. You can use "bs=32256 skip=1" which is much faster. So "bs=1M" will not work properly with windows version of dd. In Linux you can use ibs and obs parameters: "ibs=512 obs=1M skip=63"

Link to comment
https://www.insanelymac.com/forum/topic/781-b512-skip63/#findComment-6006
Share on other sites

You are wrong. Skip tells dd to ignore first 63 blocks of the specified by "bs=" size. You need to skip 63*512=32256 bytes. You can use "bs=32256 skip=1" which is much faster. So "bs=1M" will not work properly with windows version of dd. In Linux you can use ibs and obs parameters: "ibs=512 obs=1M skip=63"

Ah yes....I see. That is correct. Didn't notice the bs=32256...only just woke up, and my brain is still trying to....

 

Sorry for spreading confusion!

Link to comment
https://www.insanelymac.com/forum/topic/781-b512-skip63/#findComment-6017
Share on other sites

×
×
  • Create New...