chroagh icon indicating copy to clipboard operation
chroagh copied to clipboard

UID 1000 not found in arch

Open delevrything opened this issue 8 years ago • 3 comments

So I managed to install the entire thing however when I manage to use the enter-chroot command it gives me this

chronos@localhost / $ sudo enter-chroot Password: Entering /mnt/stateful_partition/crouton/chroots/arch... UID 1000 not found in arch Unmounting /mnt/stateful_partition/crouton/chroots/arch...

My model is the acer C720, any ideas?

delevrything avatar Apr 14 '16 19:04 delevrything

Same problem here. Does anyone know how to approach a fix here? What I know so far is that main.sh stops a little oddly: (40/40) installing which [################################################] 100% Not unmounting /mnt/stateful_partition/crouton/chroots/arch as another instance is using it. Not unmounting /mnt/stateful_partition/crouton/chroots/arch as another instance is using it.

and sudo enter-chroot then exits with (after it asks to finish the chroot setup)

common/cras_config.c: In function 'cras_config_get_system_socket_file_dir': common/cras_config.c:16:9: error: 'CRAS_SOCKET_FILE_DIR' undeclared (first use in this function) return CRAS_SOCKET_FILE_DIR; ^ common/cras_config.c:16:9: note: each undeclared identifier is reported only once for each function it appears in common/cras_config.c:17:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors Failed to complete chroot setup. The chroot setup script may be broken. Your chroot is not fully configured. Removing the chroot setup script. You may want to update your chroot again. UID 1000 not found in arch Not unmounting /mnt/stateful_partition/crouton/chroots/arch as another instance is using it.

ghost avatar May 21 '16 18:05 ghost

Try

sudo enter-chroot -n arch -u root

and see if that works

cczysz avatar Jul 27 '16 14:07 cczysz

I'm having the same problem and tried

sudo enter-chroot -n arch -u root

as @cczysz suggested, but no dice. At the very end of the install, I got the following message chroot: failed to run command 'su': Permission denied

When I ran this sudo enter-chroot -n arch -u root

I got this Entering /mnt/stateful_partition/crouton/chroots/arch... A chroot setup script still exists inside the chroot. The chroot may not be fully set up. Would you like to finish the setup? [Y/n/d] y Preparing chroot environment... ln: failed to access '/var/run/crouton/mnt/stateful_partition/crouton/chroots/arch/etc/resolv.conf': Permission denied The chroot setup script may be broken. Your chroot is not fully configured. Removing the chroot setup script. You may want to update your chroot again. ln: failed to access '/var/run/crouton/mnt/stateful_partition/crouton/chroots/arch/etc/resolv.conf': Permission denied Unmounting /mnt/stateful_partition/crouton/chroots/arch...

Any thoughts?

ajoboe avatar Jun 19 '18 05:06 ajoboe