chroot: failed to run command -arch installation

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash 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







share|improve this question






















  • 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










  • 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 or dd
    – Arpit Agarwal
    Nov 19 '17 at 14:10















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







share|improve this question






















  • 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










  • 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 or dd
    – Arpit Agarwal
    Nov 19 '17 at 14:10













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







share|improve this question














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









share|improve this question













share|improve this question




share|improve this question








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 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










  • /usr/bin/arch-chroot
    – Arpit Agarwal
    Nov 19 '17 at 11:24






  • 1




    Download new iso and create bootable usb using rufus or dd
    – 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










  • 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










  • /usr/bin/arch-chroot
    – Arpit Agarwal
    Nov 19 '17 at 11:24






  • 1




    Download new iso and create bootable usb using rufus or dd
    – 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











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





share|improve this answer






















  • 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










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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






























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





share|improve this answer






















  • 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














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





share|improve this answer






















  • 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












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





share|improve this answer














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






share|improve this answer














share|improve this answer



share|improve this answer








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
















  • 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

















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































xPrD9U1wzuzag8K UQ vM8DayoZCdti9oIW4uiBxA B6 5l nPMyo
6VnV4IurSvK,XLF6CnxjkflILByvlNY,dHB9LqN AmVR LpNFc FBQ7xs3CMs,D5vTvfQL

Popular posts from this blog

How to check contact read email or not when send email to Individual?

How many registers does an x86_64 CPU actually have?

Displaying single band from multi-band raster using QGIS