LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 02-05-2005, 12:11 PM   #1
jarin scott
Member
 
Registered: May 2003
Distribution: LFS 6.0
Posts: 67

Rep: Reputation: 15
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
 
Old 02-06-2005, 10:46 AM   #2
jarin scott
Member
 
Registered: May 2003
Distribution: LFS 6.0
Posts: 67

Original Poster
Rep: Reputation: 15
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
 
Old 02-07-2005, 12:15 PM   #3
jarin scott
Member
 
Registered: May 2003
Distribution: LFS 6.0
Posts: 67

Original Poster
Rep: Reputation: 15
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
 
Old 02-10-2005, 04:26 PM   #4
sultin
LQ Newbie
 
Registered: Feb 2005
Distribution: Mandrake (1st-10.2)
Posts: 4

Rep: Reputation: 0
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?
 
Old 02-10-2005, 06:12 PM   #5
sultin
LQ Newbie
 
Registered: Feb 2005
Distribution: Mandrake (1st-10.2)
Posts: 4

Rep: Reputation: 0
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.
 
Old 02-12-2005, 12:23 PM   #6
jarin scott
Member
 
Registered: May 2003
Distribution: LFS 6.0
Posts: 67

Original Poster
Rep: Reputation: 15
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
 
Old 02-16-2005, 04:16 AM   #7
sultin
LQ Newbie
 
Registered: Feb 2005
Distribution: Mandrake (1st-10.2)
Posts: 4

Rep: Reputation: 0
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.
 
  


Reply



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
changing the ownership djh Slackware 3 11-08-2004 04:16 AM
Changing ownership of folders Nurfen Linux - Newbie 1 08-01-2004 12:00 PM
usb memory stick: chown/chgrp fails pcass Linux - Hardware 2 02-07-2004 10:42 AM
Changing ownership of mysqld process macdav76 Linux - Newbie 0 12-08-2003 05:24 PM
CHOWN as root fails; owner 4294967295? eventide Linux - Hardware 1 11-24-2003 12:42 AM

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

All times are GMT -5. The time now is 12:09 AM.

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