On Sun, Sep 1, 2024 at 5:00 PM Thomas Schmitt wrote:
>
> Hi,
>
> Lee wrote:
> > [...] I'd spin my wheels trying to
> > figure out what's wrong and not too much later say f*kkit and boot off
> > my just written USB drive.
> > [...]
> > $ check_debian_iso SHA512SUMS debian-12.7.0-amd64-netinst.iso /dev/sdb
> > ...
> > 661651456 bytes (662 MB, 631 MiB) copied, 7.11874 s, 92.9 MB/s
> > MISMATCH: '/dev/sdb' checksum differs from 
> > 'debian-12.7.0-amd64-netinst.iso' in 'SHA512SUMS'
> > [...]
> > $ check_debian_iso SHA512SUMS debian-12.7.0-amd64-netinst.iso
> > ...
> > 661651456 bytes (662 MB, 631 MiB) copied, 2.65785 s, 249 MB/s
> > Ok: 'debian-12.7.0-amd64-netinst.iso' matches 
> > 'debian-12.7.0-amd64-netinst.iso' in 'SHA512SUMS'
>
> The script correctly truncated the data stream from /dev/sdb to the
> size that it read from the superblock of its ISO filesystem.
> If the checksums do not match, then some bytes in that range on /dev/sdb
> are not as they are in debian-12.7.0-amd64-netinst.iso.
>
>
> If you are interested in learning where, please keep the stick as it is
> now. Especially do not mount its EFI partition and do not plug it into
> a running MS-Windows system, which would happily alter bytes in that
> partition.

Oops..  I wrote to the stick using the Cygwin cp on an MS-Windows
machine, so I'm guessing the damage was done even before ejecting the
stick.  But I'm more interested in what went wrong than exactly where
the write/verification failed.

I tried everything all over again on my Debian machine and .. it all works :)
as expected even!!

so yeah, the obvious conclusion is that "what went wrong" is that I
used a Windows machine.  *sigh*

As a very low priority, how was I able to install Debian on my laptop
and have everything work when I did the exact same thing for my
laptop?
download the .iso on the windows machine
cp the iso to /dev/sdb using cygwin on the windows machine
boot the laptop from the usb stick and install debian

My June "how2 format a flash drive" msg was after installing Debian on
the laptop.

Lee

Reply via email to