You are not logged in.
I mounted all the required partitions and everything but when i get to the point where I need to run the chroot command I get this error:
arch-chroot /mnt /bin/bash
chroot:failed to run command #bin/bash#:no such file directory
Last edited by xunl (2017-03-05 23:43:51)
Offline
why /bin/bash?
i think the iso have a different shell.
ezik
Offline
why /bin/bash?
i think the iso have a different shell.
ezik
use
arch-chroot /mnt
same mistake
archlinux-2017.03.01-dual.iso
Offline
It looks like you haven't run the pacstrap command. Can you confirm this please.
Also can you post the output of...
lsblk
Last edited by Slithery (2017-03-04 15:38:10)
Offline
It looks like you haven't run the pacstrap command. Can you confirm this please.
Also can you post the output of...
lsblk
i already have run
pacstrap /mnt base base-devel
then
pacstrap /mnt base base-devel 29.09s user 2.61s system 85% cpu 37.271 total
Last edited by xunl (2017-03-04 15:46:06)
Offline
It looks like you haven't run the pacstrap command. Can you confirm this please.
Also can you post the output of...
lsblk
Mod note: Please don't embed large images into your posts. See https://wiki.archlinux.org/index.php/Co … s_and_code -- WorMzy
Last edited by WorMzy (2017-03-04 15:51:16)
Offline
Was the pacstrap command successful? 37 seconds seems incredibly quick to download and install all the packages from base and base-devel.
Offline
shulamy wrote:why /bin/bash?
i think the iso have a different shell.
ezik
use
arch-chroot /mnt
same mistake
archlinux-2017.03.01-dual.iso
Nope, it uses /bin/bash by default, but it can be specified as an argument. So either way should work if /bin/bash exists in the directory one is chrooting into.
Offline
Was the pacstrap command successful? 37 seconds seems incredibly quick to download and install all the packages from base and base-devel.
install command output is normal
my English is not very good
Last edited by xunl (2017-03-04 16:16:38)
Offline
What is the output of
# pacman -Qkkr /mnt
Offline
What is the output of
# pacman -Qkkr /mnt
no output ,nothing
Offline
What is the output of
# ls /mnt/var/lib/pacman/local/
Offline
What is the output of
# ls /mnt/var/lib/pacman/local/
ALPM_DB_VERSION
Offline
There should be additional files in there, one for each package that pacman records as being installed.
Something has gone very wrong with the pacstrap step. Would suggest reformatting that filesystem and attempt pacstrap again.
Offline
There should be additional files in there, one for each package that pacman records as being installed.
Something has gone very wrong with the pacstrap step. Would suggest reformatting that filesystem and attempt pacstrap again.
reinstall output some error
warning :skipping target:file ,findutils,gawk,gettext,grep,gzip,pacman,sed,texinfo,util-linux,which
...
pacstrap /mnt base base-devel 2.28s user 2.99s system 0% cpu 15:45.51 total
failed to commit transaction (conflicting files)
errors occurrd,nopackages were upgraded
failed to install packages to new root
Offline
There should be additional files in there, one for each package that pacman records as being installed.
Something has gone very wrong with the pacstrap step. Would suggest reformatting that filesystem and attempt pacstrap again.
thank you,I have solved the problem
https://bbs.archlinux.org/viewtopic.php?id=215380
:)
Last edited by xunl (2017-03-05 23:54:57)
Offline
As the issue is solved, please mark your thread as solved by editing the first post and prepending the tag [SOLVED] to the title in the "Subject" field.
Offline