I have a large USB drive attached when piCore 17 boots. It eventually shows up as /dev/sda1. This is a fresh install of piCore64-17.0 on a Pi4. What happens during boot if I have the USB drive attached is as follows:
--I get the command prompt quickly
--several seconds later I see what looks like a the output of ls on /sys/devices/platform/scb. It's a lot of lines, I can't see where it starts as it's scrolled off the screen.
--Only after this finishes do I see sda1 added to fstab.
This is part of a picture frame. Normally I start X and feh as the last line in bootlocal.sh. The timing during boot appears to be: 1)command prompt, 2)whatever in the boot process that produces the file tree dump on the terminal, and finally 3) the last line in bootlocal.sh is run. It's about 6 seconds between 1) and 3).
If I don't have the drive attached during boot, all is well. If I then attach it, all works as it's supposed to. No extra stuff on the terminal.
Any ideas on what is going on?
Just to be clear, X and feh work perfectly once the USB drive is recognized by the kernel.