-
Chroot Problem
I am trying to remaster KNOPPIX by following this wiki page:
http://www.knoppix.net/wiki/Knoppix_Remastering_Howto.
I copied the /KNOPPIX directory to my local hard drive using this command:
cp -Rp /KNOPPIX/* /mnt/sda1/knoppix-cd/KNOPPIX/
BTW: This hard drive is FAT32 is that why when I made a KNOPPIX directory it appeared as knoppix. Can I even do this from FAT32?
Then I tried to chroot into that directory by:
chroot /mnt/sda1/knoppix-cd/knoppix/ I get:
chroot: cannot run command `/bin/bash': No such file or directory
So, I tried running /mnt/sda1/knoppix-cd/knoppix/bin/bash and it works fine.
Here is what I did:
root@2[knoppix-cd]# chroot knoppix/
chroot: cannot run command `/bin/bash': No such file or directory
root@2[knoppix-cd]# ls knoppix/bin/bash
knoppix/bin/bash
root@2[knoppix-cd]# chroot /mnt/sda1/knoppix-cd/knoppix/
chroot: cannot run command `/bin/bash': No such file or directory
root@2[knoppix-cd]# ls /mnt/sda1/knoppix-cd/knoppix/bin/bash
/mnt/sda1/knoppix-cd/knoppix/bin/bash
root@2[knoppix-cd]# cd knoppix/
root@2[knoppix]# chroot ./
chroot: cannot run command `/bin/bash': No such file or directory
root@2[knoppix]# ./bin/bash
root@2[knoppix]#
What am I doing wrong?
Thanks in advance for any help.
David
-
Check the permissions to see if it's executable.
-
Senior Member
registered user
Your problem is due to the use of different letter cases as follows:
You did:
cp -Rp /KNOPPIX/* /mnt/sda1/knoppix-cd/KNOPPIX/
Then
chroot /mnt/sda1/knoppix-cd/knoppix/
But, it should be:
chroot /mnt/sda1/knoppix-cd/KNOPPIX/
Similar Threads
-
By frustrated user in forum Customising & Remastering
Replies: 10
Last Post: 05-21-2007, 09:58 PM
-
By bertheylen in forum Customising & Remastering
Replies: 1
Last Post: 02-05-2006, 04:17 AM
-
By Gandalf_Grey_ in forum Customising & Remastering
Replies: 5
Last Post: 03-15-2004, 06:53 AM
-
By estranged in forum Customising & Remastering
Replies: 1
Last Post: 11-13-2003, 10:54 PM
-
By sminotti in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 08-07-2003, 07:46 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
-
Forum Rules

Intel Core i7-7700 Kaby Lake Quad-Core 3.6 GHz Processor LGA 1151
$39.99

Corsair RM750e 750W Fully Modular 80 Plus Gold ATX 3.1 PSU Certified Refurbished
$44.99

Intel Core i7-10700 8-Core 16-Thread 2.9GHz Desktop CPU LGA1200 SRH6Y Z490 Z590
$139.00

Intel Core i3-13100T CPU 13th Gen SRMBT 2.5 GHz LGA-1700 Desktop Processor
$105.00

Intel Core i9-9900 | SRG18 | 3.10 GHz | 8 Cores | LOT OF 10
$1505.77

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$69.99

Intel SRG17 Core i7-9700T Desktop Processor CPU
$74.99

Intel Core i7-7700T 2.9GHz 8MB Socket LGA1151 Quad Core Processor SR339
$39.99

PS5 Over Heating Problem Solver 1.5 Grams Liquid metal thermal paste CPU, GPU
$15.99

20PCS CPU Processor Storage & Shipping Trays – 37.5mm x 37.5mm
$60.00