Wrong md5sum leading to failed installation?
I've tried installing the linuxcnc 2.9.2 ISO as described here . I initially tried to download using the link on the downloads page (using firefox 126.0 (64-bit)). This went fine (20MB/s, sweet). I got the file "LinuxCNC_2.9.2-amd64.hybrid.iso" and compare the md5 checksum as well as the SHA256. None of them match!
My result:
md5: d541b51f02ecc6f07fe652faa0fc4a2b LinuxCNC_2.9.2-amd64.hybrid.iso
sha256: a2c9df3d1a16c2e09c66bbb87869be876892fd6bf9182fc39009c944cbf8f800 LinuxCNC_2.9.2-amd64.hybrid.iso
Results in the article:
amd64 (PC)
md5sum: 1815aceaac0e7861747aa34d61846e79
sha256sum: 08b3f59233e47c91cf1c9a85c41df48542c97b134efefa7446d3060c9a3e644b
I tried downloading the file again (did you hear about the definition of insanity?). This gave the same results, so I tried to use the z-sync method. After installing z-sync (I am running Ubuntu 20.04)
Undeterred, I continued with my wrong checksum ISO and usedfailed on url www.linuxcnc.org/iso/LinuxCNC_2.9.2-amd64.hybrid.iso
could not read control file from URL www.linuxcnc.org/iso/LinuxCNC_2.9.2-amd64.hybrid.iso
to write my the ISO to my FAT formatted USB drive. I plugged it into my sacrificial PC and tried to do a live version. However, once I saw the initial blue Debian 12, I was greeted with a bunch of errors along the line of:
LinuxCNC_2.9.2-amd64.hybrid.isodd if=of=/dev/sdb
together with some specific address that was apparently not working. I could get a CLI using ctrl+alt+f?3? I believe, and execute some basic commands (cd, ls, mkdir).SQUASHFS ERROR: XZ DECOMPRESSION FAILED DATA PROBABLY CORRUPT
Anyway, I've googled a bit and what I understand 3 things could have gone wrong:
1. wrong iso.
2. incorrect writing to USB
3. fault in USB.
I don't think I did anything wrong while writing to the USB, but it could be that my USB is faulty. To rule that out I ordered a new USB stick. Lets see what it does when it arrives in the mail tomorrow. In the meanwhile, I hope to start the discussion on point 1:
-How come my checksum doesn't match, and why can I not use zsync?
Any ideas / tips / suggestions on this point or any other point in my message would be greatly appreciated.
Many thanks,
Jerry
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19188
- Thank you received: 6430
Please Log in or Create an account to join the conversation.
Thank you for the suggestion I just tried this with Rufus. I got the live version to start now, so I decided to move onto the installation. This is where I landed on:
"installation step failed ... The failing step is: Install the system".
I actually got here before, when I tried making the bootable USB with 'startup disk creater' on ubuntu. Figured this was incorrect and moved to the steps as described in the guide.
pressing ctrl alt f4 showed some strange logs.
'cant open blockdev'
'the tar process copying the live system failed'
'xz decompression failed'
will try tomorrow with the new USB stick and some different rufus options / win32diskimager. Current USB is too slow in writing for doing this repeatedly.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19188
- Thank you received: 6430
Very easy to set up, and saves huge amounts of time for me as i install a lot of everything very often.
Please Log in or Create an account to join the conversation.
On Ubuntu\Mint USB Image Writer is the same. I use it to copy hybrid ISO to USB drives and custom RPi images to SDCards.
If the checksums don't match (and you have confirmed the online checksum is correct) you have None & Buckley's chance of getting it going.
A VM (Virtual Box)is a good way to check if a downloaded ISO will boot without wasting time writing it to a device.
Please Log in or Create an account to join the conversation.
In the meanwhile I've tried to use the virtual machine, thats a great idea! Should eliminate any chance of the stick being bad. I've seen other forum posts here where a faulty hardware device worked on ubuntu install but not debian, which is why I initially suspect the stick to be bad.
In another forum post (i found out about the search functionality, albeit a bit late) I read that zsync does not take HTTPS, only HTTP, so when trying that I managed to also download the correct ISO version.
I also saw Balena Etcher coming along, might try it too if I don't have any results.
Will revert back once I have results on the VM / new hardware / new ISO / win32diskimager.
Thanks for the tip on Ventoy, I just read their main page, looks very interesting!
Please Log in or Create an account to join the conversation.
I used KVM + virt-manager to try the ISO I downloaded, and it worked! I could install without problems this time to the virtual machine, further strengthening the hypothesis of the bad USB. At the same time my new usb drive arrived. Followed the same steps as before, I now managed to complete the full installation.
Summary: Even though the USB stick was able to upload Ubuntu 20.04 to a machine (and still is), it didn't manage to do Debian 12. Switching to a new usb stick solved the problem.
Many thanks for the replies. The next step in my journey will be obtaining an appropriate ethercat servo driver
Please Log in or Create an account to join the conversation.
Win32DiskImager has never worked for me for years.
Rufus needs to download stuff of the internet whwn it runs which is disconcerting...
Please Log in or Create an account to join the conversation.