Web lists-archives.com

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




On 03/28/2017 05:10 AM, Thomas Schmitt wrote:
[snip]

It would be interesting to see how various partition editors react on
this state of the USB stick. Can they reduce the size of partition 3 ?
Can they remove partition 3 and add on new one ?


That looked interesting. As I had a flash drive with Jessie's netinst on it, I did a test run. It was not successful. The md5 of the code was correct.

I am running Debian 8.6.0 with MATE desktop.
Clicking on the drive's icon and selecting properties reports:
Name:       Debian 8.7.1 M-A 1
Type:       folder (inode/directory)
Contents:   2,613 items, totalling 614.6 MB
Location:   on the desktop
Volume:     Debian 8.7.1 M-A 1
   Filesystem type:   isofs

A copy-n-paste from my terminal is:
richard@march-9-Jessie:~$ su
Password:
root@march-9-Jessie:/home/richard# /sbin/fdisk -l /dev/sdb

Disk /dev/sdb: 7.2 GiB, 7746879488 bytes, 15130624 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0400c414

Device     Boot Start     End Sectors  Size Id Type
/dev/sdb1  *        0 1140735 1140736  557M  0 Empty
/dev/sdb2        4156    5531    1376  688K ef EFI (FAT-12/16/32)

root@march-9-Jessie:/home/richard# chmod o+rw /dev/sdb
root@march-9-Jessie:/home/richard# exit
richard@march-9-Jessie:~$ chmod u+x /home/richard/Downloads/make_isombr_part
richard@march-9-Jessie:~$ /home/richard/Downloads/make_isombr_part /dev/sdb auto 83 bash: /home/richard/Downloads/make_isombr_part: cannot execute binary file: Exec format error
richard@march-9-Jessie:~$

Operator error or other?
HTH