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
  •  


Juniper SRX650 VPN Firewall Security Hub SRX650-BASE-SRE6-645AP w/SRX-GP-IM picture

Juniper SRX650 VPN Firewall Security Hub SRX650-BASE-SRE6-645AP w/SRX-GP-IM

$99.99



Juniper MX-MPC2-3D-A Router Card + MIC-3D-4XGE-XFP-A & MIC-3D-20GE-SFP picture

Juniper MX-MPC2-3D-A Router Card + MIC-3D-4XGE-XFP-A & MIC-3D-20GE-SFP

$799.99



Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord picture

Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord

$43.95



Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch picture

Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch

$89.00



JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER picture

JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER

$210.00



Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested picture

Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested

$205.00



Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord picture

Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord

$54.99



Juniper QFX5100-48S-3AFO Switch 48 x 10Gb SFP+, 6x QSFP 40GE, Dual AC Power picture

Juniper QFX5100-48S-3AFO Switch 48 x 10Gb SFP+, 6x QSFP 40GE, Dual AC Power

$499.00



JUNIPER EX4550-32F-AFO 32-PORT ETHERNET SWITCH 2x POWER SUPPLY - TESTED picture

JUNIPER EX4550-32F-AFO 32-PORT ETHERNET SWITCH 2x POWER SUPPLY - TESTED

$299.99



Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch picture

Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch

$40.23