Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-16-2004, 02:07 AM
|
#1
|
Member
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740
Rep:
|
Wierd problem after chroot?
Hi, I have a new wierd problem. When I chroot using the command given in chapter 6 it seems to work fine. But when I try to use some commands like ls or chown -R 0:0 /tools it will just stop there and not give me a prompt. Other commands work fine, like echo BLAH. If I type ls it prints the list of the directories but then just gives me a blank line, I can't Ctrl-C or anything. Anyone have any suggestions?
|
|
|
11-16-2004, 10:49 AM
|
#2
|
Member
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740
Original Poster
Rep:
|
It's bash I think. When I run the bash in /tools/bin/bash (whether chroot'ed or not) it does the above error. I tried recompiling with the 80 col display patch as well, but it still didn't work
|
|
|
11-16-2004, 11:12 AM
|
#3
|
Member
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740
Original Poster
Rep:
|
I think I fixed my problem. I got the 2 (unstable) patches that were on the LFS site and patched bash 3.0 with those. It works fine now  If you have the same problem you can get the patches here: http://lfs.130th.net/patches/lfs/cvs/unstable/ it's the only 2 bash patches.
|
|
|
11-16-2004, 09:20 PM
|
#4
|
Member
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740
Original Poster
Rep:
|
Did anyone else have to create a new link, /usr/lib/libgcc_s.so, to /usr/lib/libgcc_s.so.1 to get the dummy.c file to compile right? It works fine and I get the output I am suppose to, but I didn't see anything about this.
|
|
|
All times are GMT -5. The time now is 03:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|