Web lists-archives.com

Re: DD bs=4M option on USB mem-stick creates false format


kAt wrote:
> dd if=/media/------/image.iso of=/dev/sdb bs=4M; sync
> the image works but the format of the drive seems false

The dd option "bs=" has no influence on the block size or other
drive properties as perceived by a partition editor.

> gparted when starting says that linux thinks it is a 256k block and not
> the 4m it indicates.

Normally a USB stick has a block size of 512 bytes.
Are you sure you use the term "block" in the appropriate way ?

>  It shows on an 8G drive an empty space of 28G

Very syspicious.

Which Debian ISO exactly do you use ?
What exactly does it report ?
What do these two commands report:

  /sbin/fdisk -l /dev/sdb

  echo 2 | /sbin/gdisk -l /dev/sdb

> As Gparted tried to claim and format
> this space as a 6.7G which seemed right it crashed.

Even more suspicious.

> Any advise would greatly be appreciated

The GPT in Debian ISOs is of few use.
I would erase its header block by:

  dd if=/dev/zero bs=512 seek=1 count=1 of=/dev/sdb

and then try again with a partition editor.

Have a nice day :)