Find the answer to your Linux question:
Results 1 to 4 of 4

Thread: chroot problem?

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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
    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
    Do you mean GNU coreutils? Anyway, try this:
    ./configure  --prefix=/media/(UUID)/bin

  4. $spacer_open
  5. #4
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Please continue this discussion in the other thread, I'm locking this one. Duplicate posting is not allowed per forum rules.
    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