Hi Nicolas,
Thanks! Extracting as root did the trick, I was extracting using the desktop extracter before. I didnt end up adding fsid=root option because that caused it not to mount at all for some reason. Thanks, Trevor Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: [email protected] <[email protected]> on behalf of Nicolas Jeker <[email protected]> Sent: Wednesday, March 11, 2020, 1:43 AM To: [email protected] Subject: Re: [yocto] Uboot NetBoot IMX8 On Wed, 2020-03-11 at 00:39 +0000, Trevor wrote: > > Mar 11 00:21:16 b2qt-b9-imx8mq mount[2611]: mount: only root can > > use "--types" option (effective UID is 1000) > > > The mount error seems prevalent across all the errors. somehow UID > is 1000 when it should be 0 during boot? By googling the error message I found a thread where somebody has the same question, but I wouldn't recommend following the advice there (running the yocto build as root). How do you extract the root filesystem to your NFS directory? Maybe something is wrong there and the files get extracted with UID 1000 as owner. For reference, I use this command which seems to work fine: sudo tar --strip-components=1 -C /srv/nfs/rootfs -xf images/apalis- imx6-mainline/Apalis-iMX6-Mainline_Image.rootfs.tar.xz Also check that there are no setuid/setgid bits set. > On the Host side, here are the /etc/exports options for NFS: > *(rw,sync,insecure,no_subtree_check,no_root_squash) I'm using pretty much the same NFS options, the only difference I could spot is an additional 'fsid=root' in my exports which is NFSv4 specific.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#48740): https://lists.yoctoproject.org/g/yocto/message/48740 Mute This Topic: https://lists.yoctoproject.org/mt/71869845/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
