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
  •  


Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$9.99



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$12.00



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$19.95



Linux Knoppix 4.0.2 Installation Disc picture

Linux Knoppix 4.0.2 Installation Disc

$39.99



Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA picture

Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA

$19.99



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.50



KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99



Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture

Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA

$79.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$20.30