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
  •  


HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$74.99



Seagate ST3500320NS Barracuda ES.2 3.5

Seagate ST3500320NS Barracuda ES.2 3.5" 7200RPM 500GB Internal Hard Drive

$89.99



Western Digital Caviar 11600 WDAC11600 Hard drive picture

Western Digital Caviar 11600 WDAC11600 Hard drive

$59.99



Set of 2 Seagate 160GB 7200RPM Internal Desktop 3.5

Set of 2 Seagate 160GB 7200RPM Internal Desktop 3.5" Hard Drive In enclosure

$179.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$82.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$27.49



8TB Seagate Archive SATA 3.5

8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002

$36.53



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$174.99



Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5

Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive

$28.49