Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: chroot problem

  1. #1

    chroot problem

    I have followed the steps in http://www.knoppix.net/wiki/Knoppix_Remastering_Howto to the letter as well as many other remastering how to documents. The common thread in all is that when I attempt to chroot to the source directory if get the

    chroot: /bin/bash: No such file or directory error.

    I have done all the suggested steps in other posts and still have the same problem.

    Any suggestions where I'm going wrong.

    Nick

  2. #2
    Junior Member
    Join Date
    Feb 2007
    Location
    Shetland
    Posts
    1

    Chroot Problem

    You have probably uses a FAT32 file system, you need to be using a Linux file system of some kind or the permissions will all be nonsense

    Jim

  3. #3
    I'll give that a try. I thought I had the right type, but I'll try again. Thanks for the pointer.

  4. #4
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272

    Re: chroot problem

    Quote Originally Posted by frustrated user
    chroot: /bin/bash: No such file or directory error.
    What Linux distribution are you using? If you can't chroot from your installed Linux, try to chroot from Knoppix CD.

    -tapsa-

  5. #5
    Thanks for the tip. I'll try that to see if it is the installed version or my operations.

    Nick

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    England
    Posts
    177
    Is the location, that is where you want to chroot, another partition ?
    If so, make sure that it is mounted correctly from the command line by superuser
    Code:
    mount -o remount,rw /<mountpoint>/<partition>

  7. #7
    Junior Member
    Join Date
    Jan 2007
    Posts
    7
    hi

    just curious have u solved ur problem. bcoz i'd the same problem long back n now ve now successfully completed re-mastering.

    regards

  8. #8
    Junior Member
    Join Date
    Mar 2007
    Posts
    3
    edit: disregard this message, I posted in the wrong thread... :duh:


    thanks guys. I'm off to bed for now but I'll give it another shot tomorrow. I've been at this project quite a bit this past week and needed a day or so to start fresh. I'll let you know how it goes!

  9. #9
    Junior Member
    Join Date
    May 2007
    Posts
    2
    I've the same problem that you have... any way to resolve??

    I'm using the last version of knoppix live cd, in a laptop, and chrooting to a /mnt/sda1 and says tbat
    Code:
     '/bin/bash' : no such file or directory
    I'm running with the livecd, and i've mounted the sda1 with -rw options, and it's a ext3 partition.

  10. #10
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272
    Quote Originally Posted by joke
    I've the same problem that you have... any way to resolve??

    I'm using the last version of knoppix live cd, in a laptop, and chrooting to a /mnt/sda1 and says tbat
    Code:
     '/bin/bash' : no such file or directory
    I'm running with the livecd, and i've mounted the sda1 with -rw options, and it's a ext3 partition.
    This is really very strange. I just tested chroot and got amazing results: I can chroot to some partitions and some not! I don't find any logical answer why I can't chroot to some partitions. This don't seem to have anything to do with bash version or fstab options. Here's an old snapshot of Knoppix 3.3 and chroot http://linux.ilmainen.net/knoppix/kuvat/chroot.png how it should work.

    The stange thing is also that using Fabian Franz's knoppix-remaster script chroot's happily without problems to those partition where I got that same bash error message as you do. This is a mystery to me.

    -tapsa-

Page 1 of 2 12 LastLast

Similar Threads

  1. Chroot Problem
    By davidx7773 in forum Customising & Remastering
    Replies: 2
    Last Post: 12-13-2006, 06:12 PM
  2. chroot / hostname problem
    By bertheylen in forum Customising & Remastering
    Replies: 1
    Last Post: 02-05-2006, 04:17 AM
  3. chroot problem
    By Gandalf_Grey_ in forum Customising & Remastering
    Replies: 5
    Last Post: 03-15-2004, 06:53 AM
  4. chroot problem. I looked for solution i cant find any.
    By estranged in forum Customising & Remastering
    Replies: 1
    Last Post: 11-13-2003, 10:54 PM
  5. To chroot or not to chroot
    By sminotti in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 08-07-2003, 07:46 PM

Posting Permissions

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


AUDIO CODES  MP-114 VOIP Gateway Open Box picture

AUDIO CODES MP-114 VOIP Gateway Open Box

$24.99



Polycom VVX 450 Business IP Phone - VoIP phone P/N: 2200-48840-025 picture

Polycom VVX 450 Business IP Phone - VoIP phone P/N: 2200-48840-025

$49.99



Cisco CP-8832-K9 Unified 8800 Series Conference VOIP IP Phone 1 Year Warranty picture

Cisco CP-8832-K9 Unified 8800 Series Conference VOIP IP Phone 1 Year Warranty

$139.00



IXIA XR100 VOIP PROBE picture

IXIA XR100 VOIP PROBE

$199.99



Yealink W73H IP DECT VOIP Phone picture

Yealink W73H IP DECT VOIP Phone

$10.00



New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -  picture

New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -

$24.95



Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945 picture

Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945

$3.00



Yealink T54W IP Phone, 16 VoIP Accounts. 4.3-Inch Color Display - Black picture

Yealink T54W IP Phone, 16 VoIP Accounts. 4.3-Inch Color Display - Black

$99.99



Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black picture

Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black

$32.00



Cisco VG202XM Analog Voice Gateway VoIP -- [NEW/FULL KIT] picture

Cisco VG202XM Analog Voice Gateway VoIP -- [NEW/FULL KIT]

$76.00