Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-03-2002, 04:44 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2001
Distribution: SuSe 7.1
Posts: 6
Rep:
|
Where Does Linux Look First At Bootup?
I am just learning Linux and I want a FULL understanding of how it works not just that it works when I install it.
Where is the first place that Linux looks at boot up. Like a linux version of autoexec.bat or config.sys.
What file tells Linux to check the file for firewall configuration and so on. Anyone happen to have a nice flowchart of all of this?
Thanks in advance,
Paul
|
|
|
|
04-03-2002, 05:30 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,827
|
a flowchart???
while booting, linux will run rc.something files. first it starts with /etc/rc.sysinit, and from this will load all relevant /etc/rc{runlevel}.d/ scripts and then go for /etc/rc.local. Often ther will be other files like /etc/rc.firewall or such like. after this they tend to go for /etc/profile, and then /etc/bashrc. Each of these files will in turn use a whole host of other other configuration files, so you often want to have a look through to get an idea of what's going on.
Generally speaking tho, the autoexec equivalent is the bashrc or profile files.
|
|
|
|
04-03-2002, 06:43 PM
|
#3
|
|
LQ Newbie
Registered: Dec 2001
Distribution: SuSe 7.1
Posts: 6
Original Poster
Rep:
|
acid_kewpie,
Thanks for the info! It isn't a flowchart but it will do.
Paul
|
|
|
|
04-04-2002, 09:32 PM
|
#5
|
|
Member
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386
Rep:
|
Actually /etc/inittab is the very first file it will read, which in turns runs the rc scripts.
|
|
|
|
04-05-2002, 12:44 AM
|
#6
|
|
LQ Newbie
Registered: Sep 2001
Location: Croatia
Distribution: Mandrake 9.0
Posts: 12
Rep:
|
Just write 'man init' and you will get the description of initialization process in Linux. Init is the father of all processes, all ather processes are simply forked from init.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:54 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|