Rising to Joe's earlier comment:
And Dave (SOD!)
That's Cheating…first off there is ONLY ONE RPi version that you could download from the official download page, so probably difficult for that to not work? No confusion of how many bits, which version, which Linux, etc. But I don't like Pi…
If you install one of the PC ISO's and tell us what you did, now that would be nice…
————————–
So I went to linuxcnc.org and downloaded LinuxCNC 2.8.0 Debian 10 Buster PREEMPT-RT ISO
Download slow, so I had coffee and did something else while the 2.2Gb iso dribbled down.
When it finished I used the Ubuntu Start Up Disk Creator to copy the ISO to a USB Memory Stick. This is like RUFUS except it's meant to copy Ubuntu isos. Didn't work, I think because the Ubuntu App is designed for Ubuntu images, and LinuxCNC is Debian.
Rather than download UNetbootin or one of the other graphical ISO copy utilities, I did the copy from the command line using standard system tools. (If you have prefer Windows, RUFUS is great.)
Geek way, at the $ prompt, enter lsblk
This lists the discs mounted on the system.
Near the end, the memory stick is identified as disk sdc. Note this can vary, depending on how many discs are mounted on the computer.
Next the ls ~/Downloads/*.iso command lists all the iso file in my Downloads directory. There's only one:
/home/dave/Downloads/linuxcnc-2.8.0-buster.iso
Then sudo dd bs=4M if=/home/dave/Downloads/linuxcnc-2.8.0-buster.iso of=/dev/sdc conv=fdatasync
which means:
- sudo – run the next command with admin privileges
- dd – file copy utility, more powerful than cp in that it can write to a disk rather than to a folder.
- bs=4M – write in 4Mb blocks, only because it's faster
- if=/home/dave/Downloads/linuxcnc-2.8.0-buster.iso – the input file is LinuxCNC
- of=/dev/sdc – the output file is the disc /dev/sdc, ie the whole memory stick.
- conv=fdatasync – don't finish until the disc confirms writing is complete
Warning! dd does exactly what you tell it. No safety net. If I accidentality typed sda rather than sdc it would overwrite my main fixed disc. The graphical tools all assume the user is an idiot and issue helpful warnings, or stop anything other than a USB stick being written.
ISO copied, I plugged the memory stick into an Acer 5742 Laptop, and switched on. The Acer is a 64-bit i5-480M.
I pressed F2 to get into the Boot Menu and confirmed the memory stick was the first bootable device. (This isn't always the case.)
Carried on and the laptop booted with the LinuxCNC splash screen:
Selected the Live Option, (ie run from the memory stick without installing anything), and got Debian, with LinuxCNC on the menu:
This is almost identical to the Pi4 version because both are Debian flavour Linux, except the Pi updated and set-up the network etc, whereas the Live Disc probably leaves all that until the full install.
Although running Live from a USB stick is fully functional, it's painfully slow. The purpose is to confirm stuff works rather than to provide a real system. If whatever fires up as LinuxCNC did above, it's probably compatible with the hardware and safe to install permanently.
Not tested the ISO on a Windows machine but the full install is probably capable of creating a dual boot machine with both Windows and Linux available. To do this, Linux will steal disk space from Windows and alter the hard drives boot sector. Done this several times without problems, but it can go wrong. Safer to dedicate a computer to LinuxCNC and not try to keep Windows as well.
Ought to mention installing software on Linux is usually much simpler than this fandango! Most software is available from a central repository. You just select what you want and the package downloads and installs automatically, including any dependencies. When upgrades become available, you're asked if you want to to take them, and can refuse.
It appears I've got LinuxCNC going on two different machines within a day without getting wrapped round the axle! The Pi install needed no special skills at all, and I only used the command line to show how it's done manually.
I think it was easy because I stayed mainstream – Pi4 is currently supported by linuxCNC, and my 64 bit laptop is compatible with the latest version too, even though it must be 10 years old. I suggest putting LinuxCNC on a 32 bit computer in 2021 isn't a good place to start because it makes hitting hard to understand compatibility issues more likely.
Dave