We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,682 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

linux from scratch

Has anyone done the linux from scrath project (http://www.linuxfromscratch.org/)? If so, I created the directory /mnt/lfs/source just as the LFS book instructed me to do and now after turning the computer off and back on, the sources directory is gone. This is the second time this has happened. Any ideas?

4
Contributors
4
Replies
22 Hours
Discussion Span
9 Months Ago
Last Updated
5
Views
Garrett85
Posting Pro in Training
426 posts since Oct 2009
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0

I'm not sure, but typically the "mnt" folder on most linux distributions is only for mounting temporary devices (like USB sticks). I wouldn't be surprised if there was some kind of automatic cleanup of that folder when starting up or shutting down the computer. That might be why it disappears. Is it part of the instructions to reboot after having done that step? And is it necessary that this folder be put at that location? Maybe some place other than the "mnt" folder would be a better idea.

mike_2000_17
21st Century Viking
Moderator
3,135 posts since Jul 2010
Reputation Points: 2,050
Solved Threads: 625
Skill Endorsements: 41

Actually, /mnt should not be cleaned up, as /tmp may be upon rebooting. It is possible that the user has /mnt mounted (sic) from a volatile device, such as a ram disc. In any case, I have never had a problem with stuff in /mnt going away. Normally, dynamic device mounts (usb drives, etc) usally go into /media.

FWIW, I have done the LFS project and had no problems of this sort. In my opinion, it is a GREAT way to learn the internals of Linux systems.

rubberman
Posting Maven
2,571 posts since Mar 2010
Reputation Points: 365
Solved Threads: 305
Skill Endorsements: 51

Still. To be on the safer side, it would be best to put the source files in the very permanent location of the users homefolder.
Don't you all agree? :)

Oxiegen
Master Poster
761 posts since Jun 2006
Reputation Points: 87
Solved Threads: 149
Skill Endorsements: 5

http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html

If anyone has done this project I'M having some trouble with the GCC part of the proccess. Above is the link to the page I'M having trouble with.
At the top of the page it's giving me three files to unzip and move, again this is at the top of the page before you actually compile gcc. How can I unzip and more files that haven't been built yet and this part of the process is before you build gcc?

Garrett85
Posting Pro in Training
426 posts since Oct 2009
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.1040 seconds using 2.75MB