LinuxQuestions.org
Register a domain and help support LQ
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 01-03-2007, 02:29 PM   #1
linux4real
LQ Newbie
 
Registered: Mar 2006
Posts: 21

Rep: Reputation: 15
Unhappy unix start-up process


hi everyone,
please i need some help.
i would like to have someone explain to me (as explicitly, and with as much detail as poossible) the unix start-up process, right up to the shell, including all processes created with their pids and all that kind of stuff!
any help is welcome.
thanks in advance
 
Old 01-03-2007, 02:38 PM   #2
jim_fields
Member
 
Registered: Nov 2006
Distribution: Slackware 11.0, Debian Lenny, testing
Posts: 32

Rep: Reputation: 16
Here try this:
http://www-128.ibm.com/developerwork...oot/index.html

The boot process is complex and not easily explained in a forum. Good Luck!
EDIT:
That link describes linux bootup process on x86 hardware. If you need a unix boot process description you may need to consult the vendor specific documentation.

Last edited by jim_fields; 01-03-2007 at 02:45 PM.
 
Old 01-03-2007, 02:53 PM   #3
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,321

Rep: Reputation: 141Reputation: 141
You really need a text book to go into that kind of detail. The init process also varies from one flavor of unix to another and linux has a different init process in general and the different linux distros have somewhat differing init sequences.
The question is too broad. There are many books which go into this in detail like "Running Linux". Bascially, you have to look at init, innittab and the rc files in /etc. These are all scripts or text configuration files and they control the boot process.
 
Old 01-03-2007, 03:08 PM   #4
linux4real
LQ Newbie
 
Registered: Mar 2006
Posts: 21

Original Poster
Rep: Reputation: 15
thanks. as i said: any help is welcome!
links are welcome as well!

umm ... couldn't lay hands on a good text book and couldn't find it on the net so this forum is (almost) my last resort.

EDIT:
i would like to have any general explanation; not specific to any hardware or linux software.

Last edited by linux4real; 01-03-2007 at 03:50 PM.
 
Old 01-03-2007, 03:40 PM   #5
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
Well, you want to learn something? There a search term goes (I checked it works at least in Snap, guess it must work in all search engines): "From Power Up to Bash Prompt". It is rather brief, though it gives all the steps. Maybe links from it are also useful. Also things that are found randomly when you search for it have big chance to be relevant to your topic. You failed to find anything using web search, uh? Now you'll have lots of rather relevant sites...
 
Old 01-03-2007, 04:19 PM   #6
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
Posts: 1,449

Rep: Reputation: 47
The best way is to find an explanation up to init and how it starts the script process, and then to manually read the scripts for the system you want to know this about. It's the only way to know exactly what is being started.

As for PIDs... aside from a select few processes, PIDs are not always sequential and a system may intentionally randomize them to make them harder to predict (for security reasons).
 
Old 01-03-2007, 05:08 PM   #7
Linux_Kidd
Member
 
Registered: Jan 2006
Location: USA
Posts: 539

Rep: Reputation: 51
bios >>> boot device (boot strap) >>> kernel >>> init >>> runlevels

each of these does allot. when you get enough info and have a running nix to play around with, take a look at the "top" utility and confgure it to show parent PID. hmmmmm, what is PID 0 and where is it ??
 
  


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
I want to cheaply build my own Linux/Unix PC, but don't know where to start Mrrrr. Nice Guy Linux - Hardware 5 12-21-2005 01:22 AM
How to know on termination or exit of a perticular process in Unix Pavan mahoorker Linux - Software 1 06-07-2005 06:28 AM
Wanted to start C in UNIX from scratch AkshatBhandari Linux - Newbie 1 03-19-2005 11:32 AM
start date and start time of a process - jiffies Yoko Programming 0 12-04-2004 08:12 AM
Spooler unix process did not start nyumedic2000 Linux - Newbie 2 08-30-2003 09:15 AM


All times are GMT -5. The time now is 04:12 AM.

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