So I have been using LinuxCNC on the Orange Pi One with my milling machine for a while now with no problems. I had documented the install of Armbian and of LinuxCNC carefully back when I originally did this and decided to get a new SD card and do a clean install to backup, which wasn't successful even though I had pretty well detailed steps. Now I did take my original working SD card and successfully created a backup image, but since the one I have coming is a bit different model board I'm not sure if I can use this image for the new board. Would like to get this figured out if I can.
Here is how I am doing it and what is happening afterward.
- Burn Armbian image to SD using Belana Etcher. (Initially tried the original Armbian image that I had saved to my main computer back when I did this originally. This image worked back then but not this time. I have also tried other distributions including ones older than Armbian_21.05.1 with Linux kernel v5.10.34 as noted in MX-Masters notes)
- SD inserted into O-Pi and booted to desktop. (Each distro I tried got through this fine.
- Install LinuxCNC using the following steps (basically how described on Allwincnc pages)
- from terminal - got clone
github.com/allwincnc/installer
- from terminal - cd installer
- from terminal - ./install.sh
- follow prompts selecting H3 board, Y for all options, and English for language selections.
Depending on the Armbian distribution, this either fails or completes without errors. On those that complete the install without errors, they fail to boot. I have read that the SanDisk SD cards are best and that cheap cards can cause problems so I bought a new class 10 SanDisk card to see if I had a bad SD but got the same results. Since I only use Linux for my CNC machines, I am at a loss on how to correct this. Below is what is on the screen from the boot process when when it fails. I have tried adding the following lines to the /boot/ArmbianEnv.txt file but this does not seem to work. (extraargs=rootdelay=30 and extraargs=rootwait)
Thanks, and here is what the display shows on boot fail. Seems to be the same as user fery15sty
Loading, please wait...
Starting version 241
Begin: Loading essential drivers ... done.
Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root file system device. Common problems:
-Boot args (cat /proc/cmdline)
-Check rootdelay= (did the system wait long enough?)
-Missing modules (cat /proc/modules; ls /dev)
ALERT! UUID=66266533-272b-4f3b-8458-f43bad4db3e1 does not exist. Dropping to a shell!
(initramfs)