LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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


Reply
  Search this Thread
Old 11-16-2004, 02:07 AM   #1
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
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?
 
Old 11-16-2004, 10:49 AM   #2
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Original Poster
Rep: Reputation: 32
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
 
Old 11-16-2004, 11:12 AM   #3
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Original Poster
Rep: Reputation: 32
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.
 
Old 11-16-2004, 09:20 PM   #4
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Original Poster
Rep: Reputation: 32
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Chroot problem PhuckFonix Linux - Newbie 3 05-02-2005 09:15 PM
really wierd problem mrchin Linux - Newbie 6 09-01-2004 04:33 PM
wierd problem Zerodark Slackware 2 10-31-2003 08:53 PM
wierd problem jt1020 Linux - General 2 05-19-2003 02:29 PM
wierd problem! jt1020 Linux - General 1 05-07-2003 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration