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 07-21-2005, 05:57 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Rep: Reputation: 52
Question on Mounting Virtual Kernel File Systems


Hi folks,

LFS 6.1

Went throught preceeding Sections. Now coming to;
6.2. Mounting Virtual Kernel File Systems
http://www.linuxfromscratch.org/lfs/...06/kernfs.html

lfs:/mnt/lfs/sources/perl-5.8.6$ mkdir -p $LFS/{proc,sys}
Code:
mkdir: cannot create directory `/mnt/lfs/proc': Permission denied
mkdir: cannot create directory `/mnt/lfs/sys': Permission denied
lfs:/mnt/lfs/sources/perl-5.8.6$ cd ..
lfs:/mnt/lfs/sources$ mkdir -p $LFS/{proc,sys}
Code:
mkdir: cannot create directory `/mnt/lfs/proc': Permission denied
mkdir: cannot create directory `/mnt/lfs/sys': Permission denied
As 'user' of LFS it is not allowed to execute the above command and the rest commands on this Section. I can run
lfs:/mnt/lfs/sources$ su -

to login as root of FC3, the Hos, to run those commands. But it is not on LFS environment. Would there be any problem? Or is there an alternative?

TIA

B.R.
satimis
 
Old 07-21-2005, 07:13 AM   #2
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
You need to be the root user of your host environment to do this. Make sure though that the LFS variable is set
# echo $LFS
/mnt/lfs

The previous section (6.1) states this.

Last edited by kjordan; 07-21-2005 at 07:15 AM.
 
Old 07-21-2005, 07:59 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Hi kjordan,

Tks for your advice.

Quote:
You need to be the root user of your host environment to do this. Make sure though that the LFS variable is set
# echo $LFS
/mnt/lfs

The previous section (6.1) states this.
Yes, it has been mentioned on;
6. Installing Basic System Software
http://www.linuxfromscratch.org/lfs/...m-introduction
Code:
Note

The remainder of this book is to be performed while logged in as user root and no longer as user lfs. Also, double check that $LFS is set.
What I'm worrying is to cause some other files of FC3 Host rewritten as in building LFS 6.0 previously.

I'll proceed in caution.

B.R.
satimis
 
Old 07-21-2005, 02:00 PM   #4
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
Nothing should be overwritten as long as you have the LFS variable set up correctly.
 
Old 07-21-2005, 09:04 PM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Quote:
Originally posted by kjordan
Nothing should be overwritten as long as you have the LFS variable set up correctly.
Noted with thanks.

satimis
 
  


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
Problem in "Mounting Virtual Kernel File Systems" satimis Linux From Scratch 7 07-05-2005 06:57 AM
Mounting Virtual Kernel File Systems - Help Pls chakkaradeepcc Linux From Scratch 2 05-13-2005 06:53 AM
kernel 2.6.10 - error mounting local file systems sirrus_linux Linux - Software 6 02-12-2005 01:07 PM
mounting FAT (not FAT32) file systems w/ 2.4 kernel timsch75 Linux - General 6 11-16-2004 05:17 PM
Mounting to file systems n e r d Linux - Hardware 3 07-22-2004 07:53 AM


All times are GMT -5. The time now is 07:34 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration