LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-29-2005, 02:03 PM   #1
Mystified
Member
 
Registered: Mar 2002
Distribution: Debian, Kubuntu
Posts: 311

Rep: Reputation: 20
New installation


Since I kept having so many problems with my installation I decided to start over again. Now I'm having a new problem. I can't make install as user lfs. I have to do it as root which I dont want to do. The permissions on the directory haven't changed since my last install. Any ideas?
 
Old 03-29-2005, 04:12 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Make install is always carried out as root:
Code:
$ ./configure
$ make
$ su
password
# make install
This is because root has full access to all directories and the user doesn't. Have you checked into "sudo"? Read "man sudo" to find out more.
 
Old 03-30-2005, 05:27 PM   #3
Mystified
Member
 
Registered: Mar 2002
Distribution: Debian, Kubuntu
Posts: 311

Original Poster
Rep: Reputation: 20
Actually in lfs it's not carried out as root. You don't su to root until you enter the chroot environment. I have already gone thru one installation of lfs and had problems which is why I'm reinstalling. I realize I could go ahead and make install as root but I refuse to do anything as root in my host system (gentoo). Hence my problem.

Thanks anyway tho.
 
Old 03-30-2005, 09:54 PM   #4
taxtropel
Member
 
Registered: Mar 2005
Location: Cascade Mountains WA USA
Distribution: Linux From Scratch (LFS)
Posts: 149

Rep: Reputation: 16
that's just silly

just don't hang out as root

do your day to day tasks as a regular user, but then you log in as root to do sys-maint stuff. that's the way it was meant to work.

if you are too afraid to use root, then you really don't have any busniess trying an LFS build. you need to understand the Prerequisites

I don't mean to sound harsh but that is the reality of the situation, LFS is no place for sissies and newbies
 
Old 04-01-2005, 08:04 AM   #5
rcxau
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
Quote:
Originally posted by taxtropel
that's just silly

just don't hang out as root

do your day to day tasks as a regular user, but then you log in as root to do sys-maint stuff. that's the way it was meant to work.

if you are too afraid to use root, then you really don't have any busniess trying an LFS build. you need to understand the Prerequisites

I don't mean to sound harsh but that is the reality of the situation, LFS is no place for sissies and newbies
Actually for the start of an lfs, building the initial toolchain, you are not required to do it as root. thats the way it was meant to work.

if you dont realise this taxtrope, then you really dont have any business commenting on a LFS build, you need to read the book again

I dont meant to sound harsh, but thats the reality of the situation.

Dont call someone a sissy or newbie, when you dont even understand the problem at hand. you're the one looking like a newbie here.

mystified did however realise that root isnt meant to be required here, which is a great thng,


mystified: have you tried changing permissions on all the directories?

Try to "chmod 777 /tools" and the directories where you have your source tarballs and extracted source. it might be a permissions problem.

Good luck, enjoy LFS

rcxau
 
Old 04-02-2005, 01:36 AM   #6
shotokan
Member
 
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204

Rep: Reputation: 30
I don't think you are supposed to be able to not start completely over in the LFS install.( You could probably do it with out partitioning, and giving it a filesystem anymore.)

I am kinda sure you have to mount the partion, and every thing beyond that point, again.
 
Old 04-04-2005, 11:17 AM   #7
Yerp
Member
 
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
You said that you are restarting your lfs install.

Did you remember to delete the lfs user on the host system that you created during the original install?
Code:
userdel lfs
You might also want to remove that user's directory, which is normally /home/lfs

if you ever need to change who owns the files, make sure to run as root (or that files owner..) with one of the following commands:
Code:
chown -R root:root /some/directory
or (depending on who you wish it to change it to..)
Code:
chown -R lfs:users /some/directory
 
  


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
windows xp installation cd doesn't boot after suse installation thearchitect SUSE / openSUSE 8 09-09-2007 03:21 PM
FC3 installation freezes at package installation tmussche Fedora - Installation 1 04-19-2005 07:56 PM
Installation doesn't recognize Red Hat Enterprise Linux ES installation cd bizkut Red Hat 2 08-15-2004 08:57 AM
Mandrake 9.2 installation program crashes in the final step of the installation iqbala Mandriva 0 12-03-2003 01:59 PM
GENTOO 1.4; Stage1 Installation: Installation freezes arthur1968 Linux - Hardware 1 08-28-2003 11:08 AM

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

All times are GMT -5. The time now is 01:40 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