On 2026-11-18, Peter Humphrey wrote:
> On Tuesday, 17 November 2026 23:37:08 Greenwich Mean Time Nuno Silva > wrote: >
>> On 2026-11-17, Peter Humphrey wrote:
>
>>> On Tuesday, 17 November 2026 13:32:09 Greenwich Mean Time Peter >>> Humphrey wrote: >>>
>>>> On Sunday, 15 November 2026 14:38:38 Greenwich Mean Time Peter >>>> Humphrey wrote:
>>> >>> This may sound like an elementary mistake to have made, but really, how >>> often does a thumb drive become corrupted? Am I looking at cosmic rays? >>> Should I spend hundreds on ultra-reliable devices?
>> >> I suppose ideally you'd compare the files that are used to install the >> system with their checksums, wouldn't that hopefully catch at least part >> of the possible corruption?
> > You'd think so, but I'd already used the same device more than once with no > problem, so the .iso image was sound.
It's not (just) the input image you'd be testing here, but also the device itself. "Testing cannot prove the absence of errors, only their presence", and even if it could prove the absence, all it'd take to be foiled would be that a fault develops after the last testing.
> The drive just misbehaved this once.
I had in mind / meant testing the stage tarball and the portage snapshot, after copying from the live system or elsewhere. I suppose you could also use equery to check the checksums in the live system, but maybe this live image also comes with a more appropriate "check checksum" mode for the whole image (I recall that being a boot option at least in some live systems). This because I guess the essential is to confirm the integrity of stage3 and the snapshot. (And on new to you or sufficiently changed hardware, memtest86+) The live image probably plays a smaller role relatively comparing, but I wonder how much damage a live system that boots can cause even after chrooting... or does the compressed "live CD" filesystem (was it squashfs?) have error detection and/or correction?
-- Nuno Silva