You are not logged in.

#1 2019-08-25 16:09:42

reggler
Member
Registered: 2019-08-23
Posts: 23

Can i use arch-chroot from multiple sessions

Hi,

While I'm chrooted directly on my box,I tried to establish a second chroot session from a remote location over ssh but got the followig:

mount: proc is already mounted or /mnt/arch/proc busy
       proc is already mounted on /proc
       proc is already mounted on /mnt/arch/proc
==> ERROR: failed to setup chroot /mnt/arch

how do I get past this?

Offline

#2 2019-08-26 00:53:13

respiranto
Member
Registered: 2015-05-15
Posts: 479
Website

Re: Can i use arch-chroot from multiple sessions

It seems like you want to chroot to the same directory, that you already ran `arch-chroot' for.  In that case, just run `chroot <dir>' the second time.  See also https://wiki.archlinux.org/index.php/Chroot .

Offline

#3 2019-08-26 04:08:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Can i use arch-chroot from multiple sessions

reggler wrote:

how do I get past this?

"This" being an X-Y problem...

Please state what it is you are trying to achieve.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2019-08-26 14:25:25

reggler
Member
Registered: 2019-08-23
Posts: 23

Re: Can i use arch-chroot from multiple sessions

respiranto wrote:

It seems like you want to chroot to the same directory, that you already ran `arch-chroot' for.  In that case, just run `chroot <dir>' the second time.  See also https://wiki.archlinux.org/index.php/Chroot .

That was the problem - Thank you respiranto for your help and the informative wiki link!

Offline

#5 2019-08-26 14:35:26

reggler
Member
Registered: 2019-08-23
Posts: 23

Re: Can i use arch-chroot from multiple sessions

jasonwryan wrote:
reggler wrote:

how do I get past this?

"This" being an X-Y problem...

Please state what it is you are trying to achieve.

I thought I did state the situation, what I was trying to achieve & the outcome in my original post. I however will refrain from using general termas like "this" (that directly referred to the previous intention stated) in future posts. I.e. in this case, I agree, the bottom question should have been: How do I get chrooted into my arch directory from a second session. I do understand the problem of X-Y questions (as stated in above link) very well. And I also appreciate your comment jasonwryan and do take the advice to ask questions in a better way in the future!

Offline

Board footer

Powered by FluxBB