How does the boot process[init levels] work on Linux? How
is it different from Solaris?

Answers were Sorted based on User's Feedback



How does the boot process[init levels] work on Linux? How is it different from Solaris? ..

Answer / sanjay

1. The system BIOS checks the system and launches the first
stage boot loader on the MBR of the primary hard disk.

2. The Frist stage boot loader loads itself into memory and
launches the second stage boot loader from the /boot/
partition.

3. The second stage boot loader loads the kernel into
memory, which in turn loads any necessary modules and
mounts the root
partition read-only.

4. The kernel transfers control of the boot process to the /
sbin/init program.

5. The /sbin/init program loads all services and user-space
tools, and mounts all partitions
listed in /etc/fstab.

6. The user is presented with a login screen for the
freshly booted Linux system.

Is This Answer Correct ?    11 Yes 1 No

How does the boot process[init levels] work on Linux? How is it different from Solaris? ..

Answer / dharmesh pitroda

There?s a big difference in the way run levels work on Linux
compared to Solaris. Linux goes straight in at a run-level,
whereas Solaris works up through them (and is better for it,
IMNSHO).

inittab for configuring the run-level; symbolic links;
chkconfig for configuring a service to start; service for
starting them if you don?t fancy running scripts manually.
Perhaps some anecdotes about the actual writing of init scripts.

Is This Answer Correct ?    3 Yes 1 No

How does the boot process[init levels] work on Linux? How is it different from Solaris? ..

Answer / dayashankar prajapat

When an x86 computer is booted, the processor looks at the
end of the system memory for the BIOS (Basic Input/Output
System) and runs it. The BIOS program is written into
permanent read-only memory and is always available for use.
The BIOS provides the lowest level interface to peripheral
devices and controls the first step of the boot process.

The BIOS tests the system, looks for and checks peripherals,
and then looks for a drive to use to boot the system.
Usually it checks the floppy drive (or CD-ROM drive on many
newer systems) for bootable media, if present, and then it
looks to the hard drive. The order of the drives used for
booting is usually controlled by a particular BIOS setting
on the system. Once Linux is installed on the hard drive of
a system, the BIOS looks for a Master Boot Record (MBR)
starting at the first sector on the first hard drive, loads
its contents into memory, then passes control to it.

This MBR contains instructions on how to load the GRUB (or
LILO) boot-loader, using a pre-selected operating system.
The MBR then loads the boot-loader, which takes over the
process (if the boot-loader is installed in the MBR). In the
default Red Hat Linux configuration, GRUB uses the settings
in the MBR to display boot options in a menu. Once GRUB has
received the correct instructions for the operating system
to start, either from its command line or configuration
file, it finds the necessary boot file and hands off control
of the machine to that operating system.

Is This Answer Correct ?    4 Yes 6 No

Post New Answer

More Linux AllOther Interview Questions

How do display error messages instantly when command fails?

4 Answers  


how do i check which package has installed some command suppose ls , mkdir or whatever ???

8 Answers  


In how many ways linux can be installed n explain th steps involved in installation in any of the method..?

1 Answers   IBM,


When you install RedHat what is the kernel mode ? What is kernel compilation / upgrade ?

4 Answers   IBM,


will u plz send me the complete steps of installation of red hat linux on intel's core 2 duo processor?

1 Answers  






i installed clustering packages.When i try to run it getting LUCI error...what is it..??

0 Answers  


commands regarding the adding of users into groups n different options with useradd...?

5 Answers   IBM,


What is the complete name of the default configuration file for LILO?

1 Answers  


someone already asked 'what is diff between unix & Linux' can I ask the same but more nuanced...I have 7 years app support of unix, have never seen Linux BUT need to bluff my way through in an interview i e say that I have use Linux. What are the most important things I need to know?

1 Answers  


How To Hide the FTP Version?

3 Answers   Wipro,


What are the differences between FTP , NFS , SAMBA servers explain separately.

0 Answers  


1. User gaves df -h and the system get hanged. why ? 2. what is the hardlink and softlink mount ? 3. why is portmape should be started ? 4. what is nologin option 5. how to restrict users from accessing nfs ? 6. what is the difference between cpio and tar 7. what are the kernel parameters ? how to find out it ? 8. why we use sysctl.conf ? 9. if we gives init1 from multiuser runlevel, will it affect other users who already logged in to the system ? 10. what will be the available space to use after configuering raid5 with 5 disks each having 5gb spce ?

0 Answers   Oracle,


Categories