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

Bug#1056998: cdrom: Installation media changes after booting it



Package: cdrom
Severity: normal
X-Debbugs-Cc: raamreddy10@gmail.com

Dear Maintainer,
I have downloaded a debian 12.2.0 netinst and verified its integrity with
sha512sum -c --ignore-missing SHA512SUMS
and wrote it to a usb drive with
dd bs=2048 if=debian-12.2.0-amd64-netinst.iso of=/dev/sda oflag=sync
status=progress

I also verified that the contents were copied correctly with these two
commands:
cmp -n `stat -c '%s' debian-12.2.0-amd64-netinst.iso`
debian-12.2.0-amd64-netinst.iso /dev/sda

head -c $(stat -c '%s' debian-12.2.0-amd64-netinst.iso) /dev/sda | sha512sum

which returned the same checksum. I also safely removed the drive, unplugged
it,
and plugged it back in, and used those two commands again with the same output.
(to make sure the kernel buffer wasn't in use)

After booting the Installer from that drive, however, and navigating to the
Integrity Check section of the installer from its menu, it said that
./boot/grub/efi.img failed the MD5 checksum verification. Your installation
media or this file may have been corrupted.
After this, I chose to quit the installer and check the medias integrity again
with the earlier two commands. sha512sum showed a different checksum, and cmp
showed
debian-12.2.0-amd64-netinst.iso /dev/sda differ: byte 2303211, line 21165
showing that the content of the drive changed since it previously passed.

I also tried entering the installer, and aborting the installation without
using the
Integrity Test section. I did this because I thought that maybe mounting the
media
in the Integrity Test section of the installer somehow changed the data.
However,
after booting, cmp and sha512sum still showed the same
difference.

I also tried using ddrescue and verified that there were 0 issues with the
blocks
on the media, used a different usb drive, and tried 3 laptops. In all of these
cases
it was always byte 2303211, line 21165 which changed. To my knowledge, I don't
think
this is supposed to happen. I instead expected an outcome where the media would
stay
the same throughout the installation process. Lastly, the computer I was using
was able to get 10 passes in memtest without any errors.

Have a nice day, Ram


Reply to: