You are not logged in.

#1 2014-01-22 02:25:46

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Installing Arch in a chroot via chroagh

I figured you guys could still help me since I am installing the x86 version of Arch, just in a chroot. I had it working before but I upgraded some packages and removed a few and then when I rebooted my Chromebook later and then tried to start up KDE, X wouldn't start. I removed the Arch chroot and tried to set it up again but now it's failing to set up the chroot. I've tried going in and out of developer mode (which wipes settings) and that didn't work, I even tried to powerwash it but that didn't fix it either.

This is the tool I'm using to install Arch

Here's the error I run into:

+ env -i TERM=xterm chroot /var/run/crouton/usr/local/chroots/arch /prepare.sh
+ export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
+ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
+ '[' '!' unspecified = unspecified -a unspecified = unspecified ']'
+ PKGEXT=tar.xz
+ DISTROAKA=arch
+ bootstrappkglist=/crouton-bootstrap-pkg
+ '[' -r /crouton-bootstrap-pkg ']'
+ '[' -n 'http://mirrors.kernel.org/archlinux/$repo/os/$arch' -a 'http://mirrors.kernel.org/archlinux/$repo/os/$arch' '!=' unspecified ']'
+ echo 'Server = http://www.example.com/'
++ cat /crouton-bootstrap-pkg
+ pacman -S --nodeps --nodeps --asdeps --noconfirm --force bash gawk pacman grep util-linux readline glibc mpfr libarchive curl gpgme pacman-mirrorlist archlinux-keyring pcre pam shadow coreutils ncurses linux-api-headers tzdata filesystem gmp acl attr bzip2 expat lzo2 openssl xz zlib krb5 libssh2 libgpg-error pth gnupg db cracklib libtirpc pambase libcap iana-etc gcc-libs libldap keyutils libksba libgcrypt libassuan pinentry dirmngr libgssglue libsasl
pacman: error while loading shared libraries: libcom_err.so.2: cannot open shared object file: No such file or directory
+ ret=127
+ [ 2 = 2 ]
+ [ 127 = 0 -a -f /var/run/crouton/usr/local/chroots/arch/prepare.sh ]
+ [ ! 127 = 0 ]
+ error 127 Failed to complete chroot setup.
+ local ecode=127
+ shift
+ echo Failed to complete chroot setup.
Failed to complete chroot setup.
+ exit 127
+ set +e
+ trap - INT HUP TERM 0
+ sh -e /home/chronos/user/Downloads/drinkcat-chroagh-9f3926e/host-bin/unmount-chroot -yc /usr/local/chroots arch
Unmounting /usr/local/chroots/arch...
+ stty echo
+ set +e
+ trap - INT HUP TERM 0
+ umount -l /tmp/main.sh.yFY
+ rm -rf --one-file-system /tmp/main.sh.yFY
+ sh installer/../host-bin/unmount-chroot -y -c /usr/local/chroots arch
+ stty echo

I can paste more if necessary, it's easily reproducible.

Last edited by brando56894 (2014-01-22 02:26:57)

Offline

Board footer

Powered by FluxBB