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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-05-2005, 12:11 PM
|
#1
|
|
Member
Registered: May 2003
Distribution: LFS 6.0
Posts: 67
Rep:
|
Changing ownership 6.4 chown fails.
Hi all,
I am working on my first lfs system and have been able to get to chapter 6 in the book version 6.0. I mounted all the file system and can chroot into the system. When I got to the point where it says to change '/tools' permissions to user root, I type the command 'chown -R 0:0 /tools' hit enter and nothing happens. I let the computer run thinking it was slow, but nothing. I tried the command in terminals and in consoles on X and nothing. I even tried to ls the system when I first entered and it gave me the folders inside and then nothing, it did not return me to 'I have no name' prompt. I even decided to skip changing ownership and entered the first install -d command and nothing same as if I chown.
I had no problems before this everything was going great. Well anyway I think everyone in advance for any help.
Thanks,
Jarin Scott
|
|
|
|
02-06-2005, 10:46 AM
|
#2
|
|
Member
Registered: May 2003
Distribution: LFS 6.0
Posts: 67
Original Poster
Rep:
|
Here's some more information. chown does work, but crashes the shell. ls -la and other variates have the same effect. It seems that whenever the system is modified the shell crashes. Someone on irc said it was most likely a eviroment problem, something not built right. I went back and built everything again from scratch and had the same problem. by the way cd and echo work prefectly.
thanks,
Jarin Scott
|
|
|
|
02-07-2005, 12:15 PM
|
#3
|
|
Member
Registered: May 2003
Distribution: LFS 6.0
Posts: 67
Original Poster
Rep:
|
I have norrowed the problem down to the bash program not working if I run '$LFS/tools/bin/bash --login +h' and issuse ls -l, the command runs but never returns to the bash prompt. I redownloaded the program, maybe, slim maybe, the programs tar.gz was corrupt. Make tests stops responding after the fourth or fifth test saying tests may fail with cat if job support was (not?) compilied in shell. more to follow.
Thanks,
Jarin Scott
|
|
|
|
02-10-2005, 04:26 PM
|
#4
|
|
LQ Newbie
Registered: Feb 2005
Distribution: Mandrake (1st-10.2)
Posts: 4
Rep:
|
I am having the same problem.
After I chroot it seems that just about any command I issue is successfully run, but then bash hangs. The proc ends up using 98% of the CPU and I have to kill it before I can do anything else.
The second time this happened I tried creating the directories /lfs/dev/{shm,pts} as df was complaining that those directories didn't exist. Is this a bad thing to do? It deffinatly didn't help.
Any more ideas?
|
|
|
|
02-10-2005, 06:12 PM
|
#5
|
|
LQ Newbie
Registered: Feb 2005
Distribution: Mandrake (1st-10.2)
Posts: 4
Rep:
|
I just realized that I had installed udev-050 instead of 030 in chapter 5. I rebuilt and installed the correct version of udev. Sadly this hasn't helped the problem with bash hanging.
|
|
|
|
02-12-2005, 12:23 PM
|
#6
|
|
Member
Registered: May 2003
Distribution: LFS 6.0
Posts: 67
Original Poster
Rep:
|
If you are still having problems try downloading the bash WCONtinue patch and the bash-fix-3 patch. Install them before compileing bash in chapter5. That's what I was told in irc and it worked. Good luck.
Jarin Scott
|
|
|
|
02-16-2005, 04:16 AM
|
#7
|
|
LQ Newbie
Registered: Feb 2005
Distribution: Mandrake (1st-10.2)
Posts: 4
Rep:
|
Thanks, I will run to work and give that a whorl.
I should have thought of the IRC channel. I remember how much that helped me a few years ago when I was having issues with my first RH install. Then again with Enlightenment.
/me has been in the windows world for too many years. 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:53 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
|
|