LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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



Reply
 
Search this Thread
Old 04-03-2002, 05:44 PM   #1
pcook911
LQ Newbie
 
Registered: Dec 2001
Distribution: SuSe 7.1
Posts: 6

Rep: Reputation: 0
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
 
Old 04-03-2002, 06:30 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.
 
Old 04-03-2002, 07:43 PM   #3
pcook911
LQ Newbie
 
Registered: Dec 2001
Distribution: SuSe 7.1
Posts: 6

Original Poster
Rep: Reputation: 0
acid_kewpie,

Thanks for the info! It isn't a flowchart but it will do.

Paul
 
Old 04-04-2002, 03:14 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
How about reading this howto for an extensive explanation:

http://www.linuxdoc.org/HOWTO/From-P...mpt-HOWTO.html
 
Old 04-04-2002, 10:32 PM   #5
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 30
Actually /etc/inittab is the very first file it will read, which in turns runs the rc scripts.
 
Old 04-05-2002, 01:44 AM   #6
dean35970
LQ Newbie
 
Registered: Sep 2001
Location: Croatia
Distribution: Mandrake 9.0
Posts: 12

Rep: Reputation: 0
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.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the Linux bootup appearance. Nebetsu Debian 1 08-17-2005 05:53 PM
Linux kernel Bootup Time shrey_j Programming 0 10-16-2004 01:52 AM
How to convert a bootup floppy to a bootup CD ? wlaw Linux - Newbie 2 07-15-2004 04:28 AM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 03:49 PM
linux wont pass bootup aromes Linux - General 1 09-18-2003 01:02 PM


All times are GMT -5. The time now is 06:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration