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 03-21-2012, 08:45 PM   #1
rkmv
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Rep: Reputation: Disabled
Which type of user one should be while doing Chapter 3 of BLFS-6.3 ???


I completed my LFS-6.7 and now doing BLFS build. Now while going through the book BLFS-6.3 in chapter no. 3 there are lot of operations to adjust Bash Shell Startup Files.

I am not clear about what type of user a developer should be while performing those operations. While logged in as a non-priviledged user one can't alter the bash files. And in the case of root login I am confused which root to be used??
The root of already built lfs (having its home directory as /mnt/lfs)
(chroot "$LFS" /usr/bin/env -i \
HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
/bin/bash --login
)
OR
The root of the host system which I am using for the build??
(chroot "$LFS" /tools/bin/env -i \
HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
/tools/bin/bash --login +h
)
Please guide me

BLFS-6.3 used for the build
Ubuntu-10.04 used as host
 
Old 03-21-2012, 09:31 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Ideally you would boot into your completed LFS system (you know, restart the machine) and then start BLFS. Thus, you should be the root user on the new LFS system to do BLFS.
 
Old 03-24-2012, 07:46 AM   #3
rkmv
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Unhappy

Sir but how could I read the BLFS book side by side and the most important I wouldn't be able to connect to the internet as I use WLAN???? :-(
And all the operations shouldn't be done as the root user This is mentioned in the book
 
Old 03-24-2012, 08:28 AM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

As you asked about chapter3 this is done as root, when installing packages that is when you are user lfs to configure and make them and then as root to install.
As you copy and paste you could copy the commands on a machine with internet connection 1stthen read them when booted into lfs/blfs.
Install GPM and 1 of the text web browsers 1st lynx or links.
It would be easier to have a wired connection at 1st rather tan wireless as there is abit of work involved in getting wireless working.
 
  


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
[SOLVED] BLFS BOOK chapter 19 openssh test suite spiky0011 Linux From Scratch 5 05-14-2011 12:18 AM
Building Software as an Unprivileged (non-root) User?? BLFS poisoning Linux From Scratch 2 03-30-2011 10:02 AM
Query about BLFS 6.3 book Chapter 13. Connecting to a Network gazza1z Linux From Scratch 2 10-22-2008 04:01 AM
Anyone familiar with development BLFS? problem logging in with a normal user. Seph64 Linux From Scratch 0 07-21-2006 10:21 PM
blfs non-root user permissions frostillicus Linux From Scratch 2 04-16-2005 08:56 PM

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

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