Results 1 to 6 of 6

Thread: chroot problem

  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
  •  


Dell PowerEdge C6320 82F9M Server Blade Module 10gb SFP+ 082F9M picture

Dell PowerEdge C6320 82F9M Server Blade Module 10gb SFP+ 082F9M

$79.99



Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W picture

Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W

$399.00



HP ProLiant BL460c Gen9 Blade 2x E5-2690v4 2.6GHz =28 Cores 32GB P246 650FLB picture

HP ProLiant BL460c Gen9 Blade 2x E5-2690v4 2.6GHz =28 Cores 32GB P246 650FLB

$223.00



HP ProLiant BL460c Gen9 Blade 2x E5-2690v3 2.6GHz =24 Cores 128GB P246 650FLB picture

HP ProLiant BL460c Gen9 Blade 2x E5-2690v3 2.6GHz =24 Cores 128GB P246 650FLB

$265.00



Dell PowerEdge M620  Blade Server 2 x Xeon e5 2665 8 x 16 GB(128) RAM - No HD picture

Dell PowerEdge M620 Blade Server 2 x Xeon e5 2665 8 x 16 GB(128) RAM - No HD

$44.99



Dell PowerEdge M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD picture

Dell PowerEdge M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD

$79.00



Dell PowerEdge M520 Blade Server Xeon E5-2403 NO HDD NO RAM picture

Dell PowerEdge M520 Blade Server Xeon E5-2403 NO HDD NO RAM

$40.00



Dell PowerEdge M620 Blade Server 2x 10C E5-2690v2 64GB Ram 2x 600GB 10k HDD picture

Dell PowerEdge M620 Blade Server 2x 10C E5-2690v2 64GB Ram 2x 600GB 10k HDD

$125.00



DELL PowerEdge M630 Blade 2x E5-2680v4 2.4GHz =28 Cores 128GB H330 2x10Gb X520 picture

DELL PowerEdge M630 Blade 2x E5-2680v4 2.4GHz =28 Cores 128GB H330 2x10Gb X520

$275.00



HP ProLiant BL460c Gen9 Blade 2x E5-2697v3 2.6GHz =28 Cores 32GB P246 650FLB picture

HP ProLiant BL460c Gen9 Blade 2x E5-2697v3 2.6GHz =28 Cores 32GB P246 650FLB

$173.00