Results 1 to 6 of 6

Thread: chroot problem

Hybrid View

  1. #1

    chroot problem

    OK I am trying to make my own knoppix CD, I followed the wiki tutorial for how to remaster it to the letter, but first of all when I copy the source from the CD, it gives me all these errors about symbolic links and stuff, I jsut ignore them because Stuff gets copied anyways.

    When I go to chroot the knoppix source directory, It gives me an error

    "chroot:/bin/bash: No such file or directory"

    I have checked and both in my knoppix source directory and my knoppix directory bash exists so I am quite confused.

    Any help would be appreciated

  2. #2
    Junior Member registered user
    Join Date
    Jan 2003
    Location
    Santa Cruz, California, USA
    Posts
    27

    Re: chroot problem

    Quote Originally Posted by Gandalf_Grey_
    When I go to chroot the knoppix source directory, It gives me an error

    "chroot:/bin/bash: No such file or directory"

    I have checked and both in my knoppix source directory and my knoppix directory bash exists so I am quite confused.

    Any help would be appreciated
    I think maybe you left out one of the command-line switches. I've done it too. You should get an error "does not comply with iso9660" or something, then you know it is working right

  3. #3

    command line switches

    What do you mean with command line switches?

  4. #4
    Junior Member
    Join Date
    Mar 2004
    Posts
    6

    Re: command line switches

    Quote Originally Posted by kevinonknoppix
    What do you mean with command line switches?
    A command line switch (also known as a flag switch) is an extra modifier to be given to the command you are running.

    Example: mount -t vfat /dev/hdb1 /cdrive -o ro
    Okay, in the example I used two switches, -t and -o. In this case -t means 'filesystem Type' and it's followed by the filesystem I am mounting. The '-o' stands for option and I am requesting that the filesystem be mounted 'read only'.

    try using the man pages to learn more about a given command.
    example: man mount (to get the manual pages for mount).

    Good luck!

  5. #5
    Junior Member registered user
    Join Date
    Feb 2004
    Posts
    17

    missing files?

    After making the mistake myself, I learned that /bin/bash must exsist in the directory you're chrooting into. It doesn't matter if it exsists in your regular directory. So, check to make sure /bin/bash is present in the directory your chrooting into......

  6. #6
    Junior Member
    Join Date
    Mar 2004
    Posts
    8

    Re: chroot problem

    Quote Originally Posted by Gandalf_Grey_
    ...but first of all when I copy the source from the CD, it gives me all these errors about symbolic links and stuf...,
    Did you use cp -pR to copy the KNOPPIX source?

Similar Threads

  1. chroot help
    By gursharnsingh in forum Customising & Remastering
    Replies: 2
    Last Post: 01-15-2004, 09:38 PM
  2. 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
  3. Kde in chroot and OOo 1.1 installation
    By vi.tan.gr in forum Customising & Remastering
    Replies: 0
    Last Post: 08-29-2003, 07:53 AM
  4. To chroot or not to chroot
    By sminotti in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 08-07-2003, 07:46 PM
  5. chroot Name Res Fails
    By mmaki in forum Customising & Remastering
    Replies: 3
    Last Post: 01-08-2003, 06:43 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 Dot Matrix Printer Contin Feed Paper 8.5 x 11.  Lots of 5 to 250 sheets. picture

Vintage Dot Matrix Printer Contin Feed Paper 8.5 x 11. Lots of 5 to 250 sheets.

$4.00



Vintage Motorola MC6800LD, 8 Bit Microprocessor, Gold Top, Purple Ceramic picture

Vintage Motorola MC6800LD, 8 Bit Microprocessor, Gold Top, Purple Ceramic

$10.00



Macware MacTuneUp Macintosh Software Vintage Apple Mac OS X picture

Macware MacTuneUp Macintosh Software Vintage Apple Mac OS X

$6.93



IBM Lenovo T60 Vintage RETRO THINKPAD  picture

IBM Lenovo T60 Vintage RETRO THINKPAD

$50.00



Vintage - Commodore 64, 1311 Joystick - Un-Tested picture

Vintage - Commodore 64, 1311 Joystick - Un-Tested

$12.99



Vintage NEC Versa 4230 Windows 95 Laptop picture

Vintage NEC Versa 4230 Windows 95 Laptop

$300.00



Vintage Sealed Microsoft Visual C ++ version 2.0 Software Development System CD picture

Vintage Sealed Microsoft Visual C ++ version 2.0 Software Development System CD

$94.99



NEW VINTAGE ASUS 5 IN 1 AT MOBO CABLE SET: FLOPPY, IDE, 2 9PIN SERIAL 1 PAR RM1 picture

NEW VINTAGE ASUS 5 IN 1 AT MOBO CABLE SET: FLOPPY, IDE, 2 9PIN SERIAL 1 PAR RM1

$9.95



PARTS Vintage Radio Shack TRS-80 Model 100 Computer W Case, Coupler and More picture

PARTS Vintage Radio Shack TRS-80 Model 100 Computer W Case, Coupler and More

$199.99



Vintage PCMCIA Notebook TV PCMCIA Card Video Capture Coaxial Adapter Win95 Win98 picture

Vintage PCMCIA Notebook TV PCMCIA Card Video Capture Coaxial Adapter Win95 Win98

$140.00