-
chroot problem
I have followed the steps in http://www.knoppix.net/wiki/Knoppix_Remastering_Howto to the letter as well as many other remastering how to documents. The common thread in all is that when I attempt to chroot to the source directory if get the
chroot: /bin/bash: No such file or directory error.
I have done all the suggested steps in other posts and still have the same problem.
Any suggestions where I'm going wrong.
Nick
-
Chroot Problem
You have probably uses a FAT32 file system, you need to be using a Linux file system of some kind or the permissions will all be nonsense
Jim
-
I'll give that a try. I thought I had the right type, but I'll try again. Thanks for the pointer.
-
Senior Member
registered user
Re: chroot problem
![Quote](images/misc/quote_icon.png)
Originally Posted by
frustrated user
chroot: /bin/bash: No such file or directory error.
What Linux distribution are you using? If you can't chroot from your installed Linux, try to chroot from Knoppix CD.
-tapsa-
-
Thanks for the tip. I'll try that to see if it is the installed version or my operations.
Nick
-
Senior Member
registered user
Is the location, that is where you want to chroot, another partition ?
If so, make sure that it is mounted correctly from the command line by superuser
Code:
mount -o remount,rw /<mountpoint>/<partition>
-
hi
just curious have u solved ur problem. bcoz i'd the same problem long back n now ve now successfully completed re-mastering.
regards
-
edit: disregard this message, I posted in the wrong thread... :duh:
thanks guys. I'm off to bed for now but I'll give it another shot tomorrow. I've been at this project quite a bit this past week and needed a day or so to start fresh. I'll let you know how it goes!
-
I've the same problem that you have... any way to resolve??
I'm using the last version of knoppix live cd, in a laptop, and chrooting to a /mnt/sda1 and says tbat
Code:
'/bin/bash' : no such file or directory
I'm running with the livecd, and i've mounted the sda1 with -rw options, and it's a ext3 partition.
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
joke
I've the same problem that you have... any way to resolve??
I'm using the last version of knoppix live cd, in a laptop, and chrooting to a /mnt/sda1 and says tbat
Code:
'/bin/bash' : no such file or directory
I'm running with the livecd, and i've mounted the sda1 with -rw options, and it's a ext3 partition.
This is really very strange. I just tested chroot and got amazing results: I can chroot to some partitions and some not! I don't find any logical answer why I can't chroot to some partitions. This don't seem to have anything to do with bash version or fstab options. Here's an old snapshot of Knoppix 3.3 and chroot http://linux.ilmainen.net/knoppix/kuvat/chroot.png how it should work.
The stange thing is also that using Fabian Franz's knoppix-remaster script chroot's happily without problems to those partition where I got that same bash error message as you do. This is a mystery to me.
-tapsa-
Similar Threads
-
By davidx7773 in forum Customising & Remastering
Replies: 2
Last Post: 12-13-2006, 06:12 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
![HP ProLiant MicroServer Gen8 G8 G2020T 8GB RAM 4x 1TB HDD 4x 3.5](/store/img/g/K8UAAOSwJsRmYJSK/s-l225/HP-ProLiant-MicroServer-Gen8-G8-G2020T-8GB-RAM-4x-.jpg)
HP ProLiant MicroServer Gen8 G8 G2020T 8GB RAM 4x 1TB HDD 4x 3.5" 712318-421
$269.99
![1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture](/store/img/g/fxsAAOSwZD5l6PSG/s-l225/1U-BareMetal-pfsense-opnsense-Router-Firewall-DNS-.jpg)
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
![Super micro Server picture](/store/img/g/PNgAAOSweU1mSkvR/s-l225/Super-micro-Server.jpg)
Super micro Server
$198.00
![1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture](/store/img/g/7KoAAOSwephiKTf4/s-l225/1U-Supermicro-Server-10-Bay-2x-Intel-Xeon-3-3Ghz-8.jpg)
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE
$273.00
![HP ProLiant MicroServer Gen8 | Intel XEON E3-1220L V2 | 8GB RAM | NO HDD | 4 BAY picture](/store/img/g/p6EAAOSwhsBmadiy/s-l225/HP-ProLiant-MicroServer-Gen8-Intel-XEON-E3-1220L-V.jpg)
HP ProLiant MicroServer Gen8 | Intel XEON E3-1220L V2 | 8GB RAM | NO HDD | 4 BAY
$249.99
![HPE ProLiant MicroServer Gen10 AMD Opteron X3216 8GB RAM No HDDs picture](/store/img/g/Va8AAOSw4hlmaJTu/s-l225/HPE-ProLiant-MicroServer-Gen10-AMD-Opteron-X3216-8.jpg)
HPE ProLiant MicroServer Gen10 AMD Opteron X3216 8GB RAM No HDDs
$325.00
![Supermicro Server 505-2 Intel 2.4GHz 16GB SYS-5018A-FTN4 - pfSense Compatible picture](/store/img/g/JDMAAOSwC91mR849/s-l225/Supermicro-Server-505-2-Intel-2-4GHz-16GB-SYS-5018.jpg)
Supermicro Server 505-2 Intel 2.4GHz 16GB SYS-5018A-FTN4 - pfSense Compatible
$220.48
![CSE-819U SUPERMICRO 6018U 1U BAREBONE SERVER 4LFF 2x HS 2x PSU X10DRU-I+ picture](/store/img/g/90MAAOSwFrBmXlBr/s-l225/CSE-819U-SUPERMICRO-6018U-1U-BAREBONE-SERVER-4LFF-.jpg)
CSE-819U SUPERMICRO 6018U 1U BAREBONE SERVER 4LFF 2x HS 2x PSU X10DRU-I+
$138.00
![2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL picture](/store/img/g/qa4AAOSwMxNk76rN/s-l225/2U-12-Bay-SAS3-SuperMicro-Server-6028U-TR4T-W-X10D.jpg)
2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL
$299.00
![1U 20](/store/img/g/Id0AAOSwjeBkikov/s-l225/1U-20-Short-Depth-Server-Firewall-PFSense-X11SSH-F.jpg)
1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME
$247.00