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
  •  


VINTAGE, HARMAN KARDON, MULTIMEDIA COMPUTER SPEAKERS:  #HK 195 picture

VINTAGE, HARMAN KARDON, MULTIMEDIA COMPUTER SPEAKERS: #HK 195

$35.00



Vintage Dell Trinitron UltraScan 14ES P1428UB CRT Monitor 1994 picture

Vintage Dell Trinitron UltraScan 14ES P1428UB CRT Monitor 1994

$139.99



Vintage Apple Computer Notepad 39 Sheets Lined Paper 11

Vintage Apple Computer Notepad 39 Sheets Lined Paper 11" x 8.5" Key Hole Striped

$19.95



Bunch of Macintosh LaserWriter NT Vintage Books ~ Owner's, Setup Guides picture

Bunch of Macintosh LaserWriter NT Vintage Books ~ Owner's, Setup Guides

$9.00



Vintage Teac FD-235HF, C291 - 3.5

Vintage Teac FD-235HF, C291 - 3.5" PC Floppy Drive Reader 193077C291

$18.99



NMB KEYBOARD RT2258TW NMB PS/2 BEIGE 121944-101 REV A VINTAGE NEW OLD STOCK picture

NMB KEYBOARD RT2258TW NMB PS/2 BEIGE 121944-101 REV A VINTAGE NEW OLD STOCK

$25.99



AppleCD 300e Plus User's Guide ~ Apple Macintosh Book, Vintage MAC picture

AppleCD 300e Plus User's Guide ~ Apple Macintosh Book, Vintage MAC

$10.00



Introduction to APPLE WRITER Word Processing ~ Vintage Computer Book, Textbook picture

Introduction to APPLE WRITER Word Processing ~ Vintage Computer Book, Textbook

$8.50



VINTAGE APPLE POWER MACINTOSH 6500/250 DESKTOP COMPUTER POWERPC BOOTS picture

VINTAGE APPLE POWER MACINTOSH 6500/250 DESKTOP COMPUTER POWERPC BOOTS

$249.50



Vintage Comfort Keyboard Systems Ergomagic Mechanical AT/PS2 Keyboard picture

Vintage Comfort Keyboard Systems Ergomagic Mechanical AT/PS2 Keyboard

$134.99