On Sun, Sep 1, 2024 at 10:59 AM David Wright wrote:
>
> > On Sat, Aug 31, 2024 at 09:59:47PM -0500, David Wright wrote:
> > > On Sat 31 Aug 2024 at 14:09:45 (-0400), Lee wrote:
> > > > On Sat, Aug 31, 2024 at 1:31 AM John Conover wrote:
> > > > >
> > > > > What does a "debian ... amd64-netinst.iso" do
> > > > > with an .iso?
> > > > >
> > > > > Can it be coverted to a USB. How?
> > > >
> > > > https://www.debian.org/releases/bookworm/amd64/ch04s03.en.html
> > > >
> > > > # cp debian.iso /dev/sdX
> > >
> > > The disadvantage of this method is how to check the USB has a good copy.

I never worried about it.  Yeah, I know... Bad Lee [slaps wrist]

> > I don't understand why it would be any harder or easier to check that
> > there's a good copy with cp vs some other tool, so this seems like
> > strange advice.
>
> So your command line would read …

Same as what's in the FAQ[1] .. and then 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.

root@i3668 /cygdrive/c/temp/debian
$ cp debian-12.7.0-amd64-netinst.iso /dev/sdb

root@i3668 /cygdrive/c/temp/debian
$ sync

root@i3668 /cygdrive/c/temp/debian
$ check_debian_iso SHA512SUMS debian-12.7.0-amd64-netinst.iso /dev/sdb
Piping 323072 blocks of '/dev/sdb' through 'sha512sum'
to verify checksum list item 'debian-12.7.0-amd64-netinst.iso'.
323072+0 records in
323072+0 records out
661651456 bytes (662 MB, 631 MiB) copied, 7.11874 s, 92.9 MB/s
Found:     
9a165064baabd7ffb7063f02136e001a2c78c85c8b4a1ae97dfd81abd5641b32c6f04f4bdcd26d69bf6d78b1589bf2dcf75895106ae9e7794441fd2fc10dbe57
Expected:  
e0bd9ba03084a6fd42413b425a2d20e3731678a31fe5fb2cc84f79332129afca2ad4ec897b4224d6a833afaf28a5d938b0fe5d680983182944162c6825b135ce
MISMATCH: '/dev/sdb' checksum differs from
'debian-12.7.0-amd64-netinst.iso' in 'SHA512SUMS'

root@i3668 /cygdrive/c/temp/debian
$ check_debian_iso SHA512SUMS debian-12.7.0-amd64-netinst.iso
Piping 323072 blocks of 'debian-12.7.0-amd64-netinst.iso' through 'sha512sum'
to verify checksum list item 'debian-12.7.0-amd64-netinst.iso'.
323072+0 records in
323072+0 records out
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'

Regards,
Lee

[1]  https://www.debian.org/CD/faq/#verify

Reply via email to