-
Problem chrooting into bash
When I try to chroot into a restored knoppix to try and customize it, I get this error:
# chroot .
chroot: cannot run command `/bin/bash': No such file or directory
# ls -la ./bin/bash
-rwxrwxrwx 1 root root 634256 2004-12-18 19:53 ./bin/bash*
Anyone know why?
thx
-
Firstly, you need to give the absolute path to the directory you're chrooting to.
Secondly, that error usually appears when you don't have a complete virtual filesystem. Here's a link to a proper debian filesystem, so you can get an idea of what your's should look like: http://prdownloads.sourceforge.net/u...3.0r0.ext2.bz2
make a directory called deb, decompress this, and mount it with the following command (you need to be root):
Code:
mount -t ext2 Debian-3.0r0.ext2 deb/ -o loop
-
My filesystem appears to be complete.
I recently added my Knoppix remaster into CVS I figure this has something to do with not being able to chroot in, but I'm still trying to figure out what exactly is the problem.
thx,
Similar Threads
-
By anticuchos in forum The Lounge
Replies: 6
Last Post: 11-20-2005, 10:31 AM
-
By sibtay in forum Customising & Remastering
Replies: 4
Last Post: 10-25-2004, 11:08 AM
-
By dehahn in forum General Support
Replies: 4
Last Post: 10-16-2004, 01:31 AM
-
By Salzi in forum General Support
Replies: 1
Last Post: 09-09-2004, 02:56 AM
-
By Guitarplaya512 in forum General Support
Replies: 5
Last Post: 03-14-2004, 11:03 AM
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

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$49.99

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed
$199.99

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597
$36.98

Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch
$115.00

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts
$69.00

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks
$224.95

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99