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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand picture

Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand

$60.00



Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem picture

Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem

$39.99



Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM picture

Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM

$20.99



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$143.98