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
  •  


Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP picture

Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP

$249.99



HP ProCurve 4108gl J4865A Modular Network Switch picture

HP ProCurve 4108gl J4865A Modular Network Switch

$119.99



Cisco Catalyst 3850 48 PoE+ 48-Port Gigabit Managed Switch WS-C3850-48F-E picture

Cisco Catalyst 3850 48 PoE+ 48-Port Gigabit Managed Switch WS-C3850-48F-E

$150.00



EtherWAN EX17242 Web-Smart 24-Port PoE Gigabit Ethernet Switch picture

EtherWAN EX17242 Web-Smart 24-Port PoE Gigabit Ethernet Switch

$25.49



HP 2530-48G 48 Port Gigabit Ethernet Network Switch J9775A picture

HP 2530-48G 48 Port Gigabit Ethernet Network Switch J9775A

$30.95



New Linksys SE3005 5-port Gigabit Ethernet Switch picture

New Linksys SE3005 5-port Gigabit Ethernet Switch

$18.99



New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub picture

New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub

$11.49



HP ProCurve 2530-24G J9776A 24 Port Gigabit Ethernet Managed Network Switch picture

HP ProCurve 2530-24G J9776A 24 Port Gigabit Ethernet Managed Network Switch

$34.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



HP Aruba 2530-8G-PoE+ 8x PoE+ RJ45 2x SFP Gigabit Switch J9774A No AC Adapter picture

HP Aruba 2530-8G-PoE+ 8x PoE+ RJ45 2x SFP Gigabit Switch J9774A No AC Adapter

$37.99