LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2016, 08:24 AM   #1
and1_hotsauce
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Rep: Reputation: Disabled
require verification of my understanding of the linux boot process


Is my understanding of the linux boot process correct as per the attached picture?

http://imgur.com/T9yvUnb

question:
if the grub configuration files are in /boot, then doesn't the grub process have to understand the filesystem that /boot resides in? At what point does grub become 'filesystem' aware?
 
Old 05-14-2016, 08:36 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,617

Rep: Reputation: 442Reputation: 442Reputation: 442Reputation: 442Reputation: 442
Good question. To make the coaching shortened and accurate see the below tutorials.

The best answer is here. That explains the workings of Grub 2 and how are the files apportioned to different folders. If you have question also about Grub Legacy (the 1st version) here is a tutorial explaining it too.

Hope that helps.

Good luck.

m.m.
 
Old 05-14-2016, 10:55 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,043

Rep: Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914
The "Linux" boot process has nothing to do with grub. Grub is a "stand-alone" loader - the Linux boot sequence is subsequent to grub/lilo/whatever.
What you show is very much how grub legacy worked. As for the fiesystem support, it has to be coded in - for grub legacy it was hard-coded, as was evident when the ext[34] change in inode size broke grub. This was part of the reason grub2 was written to allow modules to be loaded so new functionality could be (relatively) easily added.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
New ideas to minimize spam ?Email verification process tripathi123 Linux - Software 1 12-08-2011 01:19 AM
[SOLVED] Understanding boot process from bootloader's view (MBR, Grub) SkyerSK Linux - General 14 12-05-2010 11:57 AM
understanding linux boot process from source pankaj_909 Linux - General 1 07-12-2007 04:58 AM
Understanding Debian Boot process kushalkoolwal Debian 1 05-11-2007 07:12 PM
Understanding the boot process? rene.dd Programming 1 06-09-2004 11:36 AM


All times are GMT -5. The time now is 03:54 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration