Twitter Facebook Delicious Digg Stumbleupon Favorites More

Monday, 16 January 2017

IPU BCA Semester 6: Linux Environment - Linux Boot Sequence

Linux Boot Sequence

IPU BCA Semester 6: Linux Environment - Linux Boot Sequence

Question: Describe the Linux Boot process.

Answer: Following figure shows the sequence of booting process in Linux environment.


1. When the machine is powered on, the ROM chip (firmware) executes BIOS (Basic Input/Output System) or UEFI (Intel’s Unified Extended Firmware Interface). BIOS detects the hardware and initializes the basic input output devices.


2. It looks for master boot record (MBR) a 512 byte image stored at the first sector and first track of the hard disk system. The MBR stores partition table and a boot.img file called GRUB (Grand Unified Boot Loader) which loads the kernel and the filesystem as located by the partition table.

3. The filesystem executes the initrd process which loads the kernel of the Linux and mounts the root filesystem.

4. Init process then executes run level process which prompts the user to log in.


Question: Name the log files that would help troubleshooting booting errors or failure.

Answer: The three log files exist at /var/log directory are:

  • dmesg or /var/log/messages
  • kern.log
  • boot.log

Share:

0 comments:

Post a Comment

NodeJS Tutorial

NodeJS Tutorial
Developer-Bytes

Maths Resources

Maths Resources
Maths Resources

Buy Books

Buy Books
Buy Books

Geography Quiz

Geography Quiz
Geography Quiz

History MCQs

History MCQs
History Quiz For Competitive exams

Categories

Popular Posts

GooglePlus

Recent Posts

Unordered List

Express Print Zone

Eduvictors Quizzes

Online Quizzes, Study notes for CBSE Class 6 - 12

Text Widget

Compete4Exams

Study notes for Competitive Exams

Developer Bytes

Developer Bytes
Developer Bytes
Powered by Blogger.

Blogger Tutorials

Blogger Templates

Sample Text

Copyright © IP University Musings BCA, MCA, BBA, MBA, BTech Question Papers and Study Notes | Powered by Blogger
Design by SimpleWpThemes | Blogger Theme by NewBloggerThemes.com