chroot: failed to run command -arch installation
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I am getting issue while chroot into arch installation after base installation.
root@archiso ~ # arch-chroot /mnt
chroot: failed to run command ./bin/bash: No such file or directory
However /bin/bash is there:
root@archiso ~ # ls /bin/bash
/bin/bash
Thanks
linux chroot
 |Â
show 4 more comments
up vote
1
down vote
favorite
I am getting issue while chroot into arch installation after base installation.
root@archiso ~ # arch-chroot /mnt
chroot: failed to run command ./bin/bash: No such file or directory
However /bin/bash is there:
root@archiso ~ # ls /bin/bash
/bin/bash
Thanks
linux chroot
I have gone through below question: unix.stackexchange.com/questions/128046/â¦.
â krishnakant
Nov 19 '17 at 10:58
PATH='/bin/bash:$PATH'
then trychroot
â Arpit Agarwal
Nov 19 '17 at 11:17
After this it's saying 'Command not found: arch-chroot'
â krishnakant
Nov 19 '17 at 11:20
/usr/bin/arch-chroot
â Arpit Agarwal
Nov 19 '17 at 11:24
1
Download new iso and create bootable usb usingrufus
ordd
â Arpit Agarwal
Nov 19 '17 at 14:10
 |Â
show 4 more comments
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am getting issue while chroot into arch installation after base installation.
root@archiso ~ # arch-chroot /mnt
chroot: failed to run command ./bin/bash: No such file or directory
However /bin/bash is there:
root@archiso ~ # ls /bin/bash
/bin/bash
Thanks
linux chroot
I am getting issue while chroot into arch installation after base installation.
root@archiso ~ # arch-chroot /mnt
chroot: failed to run command ./bin/bash: No such file or directory
However /bin/bash is there:
root@archiso ~ # ls /bin/bash
/bin/bash
Thanks
linux chroot
edited Nov 19 '17 at 11:18
asked Nov 19 '17 at 10:57
krishnakant
421110
421110
I have gone through below question: unix.stackexchange.com/questions/128046/â¦.
â krishnakant
Nov 19 '17 at 10:58
PATH='/bin/bash:$PATH'
then trychroot
â Arpit Agarwal
Nov 19 '17 at 11:17
After this it's saying 'Command not found: arch-chroot'
â krishnakant
Nov 19 '17 at 11:20
/usr/bin/arch-chroot
â Arpit Agarwal
Nov 19 '17 at 11:24
1
Download new iso and create bootable usb usingrufus
ordd
â Arpit Agarwal
Nov 19 '17 at 14:10
 |Â
show 4 more comments
I have gone through below question: unix.stackexchange.com/questions/128046/â¦.
â krishnakant
Nov 19 '17 at 10:58
PATH='/bin/bash:$PATH'
then trychroot
â Arpit Agarwal
Nov 19 '17 at 11:17
After this it's saying 'Command not found: arch-chroot'
â krishnakant
Nov 19 '17 at 11:20
/usr/bin/arch-chroot
â Arpit Agarwal
Nov 19 '17 at 11:24
1
Download new iso and create bootable usb usingrufus
ordd
â Arpit Agarwal
Nov 19 '17 at 14:10
I have gone through below question: unix.stackexchange.com/questions/128046/â¦.
â krishnakant
Nov 19 '17 at 10:58
I have gone through below question: unix.stackexchange.com/questions/128046/â¦.
â krishnakant
Nov 19 '17 at 10:58
PATH='/bin/bash:$PATH'
then try chroot
â Arpit Agarwal
Nov 19 '17 at 11:17
PATH='/bin/bash:$PATH'
then try chroot
â Arpit Agarwal
Nov 19 '17 at 11:17
After this it's saying 'Command not found: arch-chroot'
â krishnakant
Nov 19 '17 at 11:20
After this it's saying 'Command not found: arch-chroot'
â krishnakant
Nov 19 '17 at 11:20
/usr/bin/arch-chroot
â Arpit Agarwal
Nov 19 '17 at 11:24
/usr/bin/arch-chroot
â Arpit Agarwal
Nov 19 '17 at 11:24
1
1
Download new iso and create bootable usb using
rufus
or dd
â Arpit Agarwal
Nov 19 '17 at 14:10
Download new iso and create bootable usb using
rufus
or dd
â Arpit Agarwal
Nov 19 '17 at 14:10
 |Â
show 4 more comments
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
arch-chroot by default calls chroot with the command /bin/bash. The command is run AFTER new root is set which means the root passed to arch-chroot must have a /bin/bash underneath it as /mnt/bin/bash.
You must have run pacstrap without specifying the base package.
pacstrap /mnt base
not something like
pacstrap /mnt base-dev
pacstrap defaults to base, so they would have to have really screwed up...
â jasonwryan
Nov 20 '17 at 2:21
Oh, good point!
â jdwolf
Nov 20 '17 at 2:23
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
arch-chroot by default calls chroot with the command /bin/bash. The command is run AFTER new root is set which means the root passed to arch-chroot must have a /bin/bash underneath it as /mnt/bin/bash.
You must have run pacstrap without specifying the base package.
pacstrap /mnt base
not something like
pacstrap /mnt base-dev
pacstrap defaults to base, so they would have to have really screwed up...
â jasonwryan
Nov 20 '17 at 2:21
Oh, good point!
â jdwolf
Nov 20 '17 at 2:23
add a comment |Â
up vote
2
down vote
accepted
arch-chroot by default calls chroot with the command /bin/bash. The command is run AFTER new root is set which means the root passed to arch-chroot must have a /bin/bash underneath it as /mnt/bin/bash.
You must have run pacstrap without specifying the base package.
pacstrap /mnt base
not something like
pacstrap /mnt base-dev
pacstrap defaults to base, so they would have to have really screwed up...
â jasonwryan
Nov 20 '17 at 2:21
Oh, good point!
â jdwolf
Nov 20 '17 at 2:23
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
arch-chroot by default calls chroot with the command /bin/bash. The command is run AFTER new root is set which means the root passed to arch-chroot must have a /bin/bash underneath it as /mnt/bin/bash.
You must have run pacstrap without specifying the base package.
pacstrap /mnt base
not something like
pacstrap /mnt base-dev
arch-chroot by default calls chroot with the command /bin/bash. The command is run AFTER new root is set which means the root passed to arch-chroot must have a /bin/bash underneath it as /mnt/bin/bash.
You must have run pacstrap without specifying the base package.
pacstrap /mnt base
not something like
pacstrap /mnt base-dev
edited Nov 20 '17 at 2:23
answered Nov 20 '17 at 2:18
jdwolf
2,392116
2,392116
pacstrap defaults to base, so they would have to have really screwed up...
â jasonwryan
Nov 20 '17 at 2:21
Oh, good point!
â jdwolf
Nov 20 '17 at 2:23
add a comment |Â
pacstrap defaults to base, so they would have to have really screwed up...
â jasonwryan
Nov 20 '17 at 2:21
Oh, good point!
â jdwolf
Nov 20 '17 at 2:23
pacstrap defaults to base, so they would have to have really screwed up...
â jasonwryan
Nov 20 '17 at 2:21
pacstrap defaults to base, so they would have to have really screwed up...
â jasonwryan
Nov 20 '17 at 2:21
Oh, good point!
â jdwolf
Nov 20 '17 at 2:23
Oh, good point!
â jdwolf
Nov 20 '17 at 2:23
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f405583%2fchroot-failed-to-run-command-arch-installation%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
I have gone through below question: unix.stackexchange.com/questions/128046/â¦.
â krishnakant
Nov 19 '17 at 10:58
PATH='/bin/bash:$PATH'
then trychroot
â Arpit Agarwal
Nov 19 '17 at 11:17
After this it's saying 'Command not found: arch-chroot'
â krishnakant
Nov 19 '17 at 11:20
/usr/bin/arch-chroot
â Arpit Agarwal
Nov 19 '17 at 11:24
1
Download new iso and create bootable usb using
rufus
ordd
â Arpit Agarwal
Nov 19 '17 at 14:10