On 24/10/2019 15:43, Mike Scott wrote:
....
> Conjecture (for now) - ld.so.preload moaned about missing files from
> /usr/lib. But these aren't available until /usr is mounted, which I
> presume must happen /after/ the preload stuff. Maybe I'll go back to the
> original setup and put these files into the root partition, so they're
> present before /usr is mounted. Bet it works then :-}
Yes, that does seem to be the issue.
I put /usr/lib/arm-linux-gnueabihf onto the root partition so it's
available at boot time. It gets mounted over later.
For reference, cmdline.txt contains
console=serial0,115200 console=tty1
root=PARTUUID=b9a242b4-1890-4c02-808b-36961834b2f6 rootfstype=ext4
rootwait rootdelay=15 elevator=deadline fsck.repair=yes rootwait
fstab on the HD root partition is
proc /proc proc defaults 0 0
PARTUUID=6c586e13-01 /boot vfat defaults 0 2
# keep root on sd card for now
##PARTUUID=6c586e13-02 / ext4 defaults,noatime 0 1
# don't forget to update /boot/cmdline.txt to match
PARTLABEL=rootPI0 / ext4 defaults 0 1
PARTLABEL=usrPI0 /usr ext4 defaults 0 1
PARTLABEL=varPI0 /var ext4 defaults 0 1
PARTLABEL=homePI0 /home ext4 defaults 0 1
PARTLABEL=mmediaPI0 /mmedia ext4 defaults 0 1
PARTLABEL=swapPI0 none swap defaults 0 0
(Although the fstab entry for / isn't used.)
Thanks all.
--
Mike Scott
Harlow, England
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|