Results 1 to 4 of 4

Thread: chroot error:no such file or directory

  1. #1
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262

    chroot error:no such file or directory

    Tried remaster for the first time.Followed the docs word for word.
    When I got to the chroot part I get this error:
    "chroot:/bin/bash:no such file or directory"

    What is wrong?

  2. #2
    Member registered user
    Join Date
    Mar 2003
    Posts
    35
    check if you have a bin dir where you decompressed knoppix.
    some versions of knoppix (3.2 pre 30/03 I think) had some essential folders as symlinks or hard links that cp can't create.
    if this is the case you have to create the symlinks yourself (check for errors in cp progress) I think the real locations are in /mnt/test or something like that. or you can use a newer version of knoppix where those dirs are real rather then links.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by SillyFly
    folders as symlinks or hard links that cp can't create.
    if this is the case you have to create the symlinks yourself (check for errors in cp progress) I think the real locations are in /mnt/test or something like that. or you can use a newer version of knoppix where those dirs are real rather then links.
    If you use the -p option with cp it will perserve the links.

  4. #4
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262
    thanks everyone!

    I did it again from the beginning and this time it worked perfectly. I don't know what went wrong the first time. Just was rteluctant to do it over again because of the long time it takes to cp the files.

Similar Threads

  1. KDM Start Error In Chroot Knoppix 3.7 HELP!
    By winslayer in forum Customising & Remastering
    Replies: 2
    Last Post: 12-24-2004, 01:31 AM
  2. chroot: /bin/bash: no such file or directory
    By kevinonknoppix in forum Customising & Remastering
    Replies: 0
    Last Post: 02-24-2004, 08:45 AM
  3. Boot Problem: "mount: No such file or directory"
    By LinuxGeek in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 12-20-2003, 07:30 PM
  4. [HOWTO] How to boot a chroot directory ...
    By Fabianx in forum Ideas
    Replies: 2
    Last Post: 07-05-2003, 01:52 PM
  5. png file error
    By 3133 in forum Customising & Remastering
    Replies: 0
    Last Post: 04-14-2003, 12:09 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
  •  


Acer Aspire 14

Acer Aspire 14" AI Copilot+PC Laptop Core Ultra 5 226V Gen 4 ARC 16GB 1TB Refurb

$475.60



Apple MacBook Pro 13

Apple MacBook Pro 13" 2020 A2251 2GHz i5 16GB RAM 512GB SSD #69

$260.00



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro

$427.48



External SSD 1TB 2TB  Portable Hard Drive USB 3.1 Type-C High Speed PC Mac picture

External SSD 1TB 2TB Portable Hard Drive USB 3.1 Type-C High Speed PC Mac

$15.99



Acer Predator Helios Neo 16S AI 16

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb

$1785.15



SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM picture

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM

$159.99



Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD picture

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD

$129.99



External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac picture

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac

$17.99



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro

$545.25



Apple Macbook Pro 16

Apple Macbook Pro 16" i9-9980hk 32GB 1TB - Good

$509.99