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

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Mar 28, 2017 at 06:53:08AM -0500, Richard Owlett wrote:
> 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:~$

I'd guess there's a difference between Thomas's processor architecture
and yours. For a first stab, try those:

  file /home/richard/Downloads/make_isombr_part
  file /bin/ls

(Yes, I know Richard's box can be multiarch, but that'd be the next
stab :)

> Operator error or other?

It's always the operator ;-) ;-)

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAljaVF0ACgkQBcgs9XrR2kb4WQCdFgfGvGg5Fiza1YkFxT46dBwU
08EAnAzpRviC4dxHv8W5xbXs/swzH1Qt
=GCoF
-----END PGP SIGNATURE-----


Reply to: