Schroot: E: default: Chroot not found
Sabniveesu Shashank
shashank at linux.com
Mon May 19 16:07:52 UTC 2014
Ohh.. well, that worked but If I do -
$ cd /var/UbuntuTrusty/
$ schroot -c trusty
I am being shown this --
W: Failed to change to directory ‘/var/UbuntuTrusty’: No such file or
directory
I: The directory does not exist inside the chroot. Use the --directory
option to run the command in a different directory.
W: Failed to change to directory ‘/home/shashank’: No such file or directory
I: The directory does not exist inside the chroot. Use the --directory
option to run the command in a different directory.
W: Falling back to directory ‘/’
$
As you can see , I do get a '$' prompt. Yet I'm worried if I would be doing
something dangerous.
*What I tried (inside 'schroot.conf'):*
* Removed "directory=/var/UbuntuTrusty/"
altogether -- E: Required key missing
* Rewritten as "directory=var/UbuntuTrusty/"
altogether -- E: Paths must be absolute
<http://about.me/shashank.computers>
S.V.R.S.N. Shashank
about.me/shashank.computers
<http://about.me/shashank.computers>
We’ve created the greatest collection of shared knowledge in history. Help
protect Wikipedia. Donate now: https://donate.wikimedia.org
On Mon, May 19, 2014 at 5:57 AM, Colin Watson <cjwatson at ubuntu.com> wrote:
> On Sun, May 18, 2014 at 12:35:36PM -0400, Sabniveesu Shashank wrote:
> > When I run --
> >
> > > schroot /var/UbuntuTrusty/
> >
> > it says:
> >
> > > E: default: Chroot not found
>
> schroot's usage doesn't exactly match chroot's, despite the similar
> command names; you give schroot a chroot name, not a path, and the
> chroot name goes after the -c (or --chroot) option. With your
> configuration, you want "schroot -c trusty".
>
> --
> Colin Watson [cjwatson at ubuntu.com]
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140519/e12f1819/attachment.html>
More information about the ubuntu-users
mailing list