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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-03-2007, 03:29 PM
|
#1
|
LQ Newbie
Registered: Mar 2006
Posts: 21
Rep:
|
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
|
|
|
01-03-2007, 03:38 PM
|
#2
|
Member
Registered: Nov 2006
Distribution: Slackware 11.0, Debian Lenny, testing
Posts: 32
Rep:
|
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 03:45 PM.
|
|
|
01-03-2007, 03:53 PM
|
#3
|
Senior Member
Registered: Oct 2003
Posts: 3,015
|
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.
|
|
|
01-03-2007, 04:08 PM
|
#4
|
LQ Newbie
Registered: Mar 2006
Posts: 21
Original Poster
Rep:
|
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 04:50 PM.
|
|
|
01-03-2007, 04:40 PM
|
#5
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
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...
|
|
|
01-03-2007, 05:19 PM
|
#6
|
Senior Member
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450
Rep:
|
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).
|
|
|
01-03-2007, 06:08 PM
|
#7
|
Member
Registered: Jan 2006
Location: USA
Posts: 738
Rep:
|
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 ??
|
|
|
All times are GMT -5. The time now is 10:31 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
|
|