Jump to content

Chroot To Mounted Shared Folder?


Scytheon3

Recommended Posts

I was wondering whether or not it is possible to chroot to a shared folder on computer 1 that has been mounted on computer 2. When I try to chroot it says "chroot: cannot change root directory to /foobar: Permission denied". What I am trying to do is run programs on computer 2 as if they are running on computer 1 i.e. they don't need to be installed and still write files to computer 1. If I am going about this the wrong way or there is an easier way please tell me.

Link to comment
Share on other sites

It could be that the share you are trying to change is still in use, or there is already an active connection made to it. Try disabling the share if you can, and then running Chroot again to see if that allows you to do so.

Link to comment
Share on other sites

It could be that the share you are trying to change is still in use, or there is already an active connection made to it. Try disabling the share if you can, and then running Chroot again to see if that allows you to do so.

Don't really know what you mean by this as if I unmount the share there will be nothing to chroot to but I think an easier way of doing this is to pxe boot the second computer.

Link to comment
Share on other sites

Don't really know what you mean by this as if I unmount the share there will be nothing to chroot to but I think an easier way of doing this is to pxe boot the second computer.

Sorry I misread your post. Disregard what I said.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...