Find the answer to your Linux question:
Results 1 to 4 of 4
I have booted up into Ubuntu 10.04 LTS disc live. When I type 'chroot /media/(UUID)', I get: chroot: cannot run command '/bin/bash': no such file or directory. '/bin/bash' does exist. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Banned
    Join Date
    Jun 2011
    Posts
    7

    chroot problem?


    I have booted up into Ubuntu 10.04 LTS disc live.

    When I type 'chroot /media/(UUID)', I get:

    chroot: cannot run command '/bin/bash': no such file or directory.

    '/bin/bash' does exist.

    Why is this error occurring?

  2. #2
    Banned
    Join Date
    Jun 2011
    Posts
    7
    Ok, so I have learn't the reason I am getting this error is because '/bin/bash' doesn't exist in /media/(UUID)/bin.

    ... so what I am doing is actually trying to install GNU's coretools.
    The reason I am wanting to chroot to '/media/(UUID)' is because when I 'make install' coretools, it installs them onto my existing O/S partition.. when I need it installed to '/media/(UUID)'.

    I am creating my own Linux system.

  3. #3
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Do you mean GNU coreutils? Anyway, try this:
    Code:
    ./configure  --prefix=/media/(UUID)/bin

  4. #4
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Please continue this discussion in the other thread, I'm locking this one. Duplicate posting is not allowed per forum rules.
    http://www.linuxforums.org/forum/lin...ums-rules.html
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •