LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-15-2011, 08:48 PM   #1
dman777
Member
 
Registered: Dec 2010
Distribution: Gentoo
Posts: 232

Rep: Reputation: 8
Boot Up Process- The Read Only Rootfs into VFS


I've been reading various tutorials of the boot process but still am not clear. I don't care about grub stage 1 and 1.5. I care at the starting point of when the root filesystem is loaded into VFS(Virtual filesystem), who is loading it, and from that point on.

1) Does grub load the root filesystem(read only) into VFS?
2) Does the kernel load the root filesystem(read only) into VFS?
3) Does INIT load the root filesystem(read only) into VFS?

after this is concluded....

Does INIT or the Kernel create the real root filesystem(rw)...right before the pivot.root?

By the way...I do not use initrd
 
Old 03-15-2011, 09:33 PM   #2
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Rep: Reputation: 53
Boot process very complicated and over simplified.

1. Grub does not load the VFS. Grub loads BIOS. Edited: Grub does not load BIOS but informs BIOS where the MBR is.
2.No clue.
3.I highly doubt it.

Your questions are WAY beyond your knowledge at this point. I suggest you study the boot process considerably more. I have not studied this for a while but...

BIOS is basically a mini O.S stored in a circuit thats major purpose is to load the real O.S.
Grub points the CPU so it can find BIOS. Grub and BIOS are a lot more simpler than when the kernel takes over. I think BIOS just gets it started and part of the kernel boot straps the rest of it's self.

Some one more knowledgable will probably post but until then this outline should get your thread rolling.

Last edited by theKbStockpiler; 03-15-2011 at 10:52 PM.
 
Old 03-15-2011, 10:15 PM   #3
dman777
Member
 
Registered: Dec 2010
Distribution: Gentoo
Posts: 232

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by theKbStockpiler View Post
1. Grub does not load the VFS. Grub loads BIOS.
2.No clue.
3.I highly doubt it.

Your questions are WAY beyond your knowledge at this point. I suggest you study the boot process considerably more. I have not studied this for a while but...

BIOS is basically a mini O.S stored in a circuit that major purpose is to load the real O.S.
Grub points the CPU so it can find BIOS. Grub and BIOS are a lot more simpler than when the kernel takes over. I think BIOS just gets it started and part of the kernel boot straps the rest of it's self.

Some one more knowledgeable will probably post but until then this outline should get your thread rolling.

You got that backwards...bios loads grub. and in my original post i don't care about that portion.

I was looking for an answer..."not my questions are WAY beyond your knowledge at this point". I have read plenty of tutorials. not to you since you don't know and i rather not hear you pretend to know...but to others:

Some tutorials have states grub takes the read only rootfs and loads it in vfs.


Some tutorials have stated the kernel takes the read only rootfs and loads it in vfs.

Some tutorials have implied that the init process creates the read only rootfs.


so this is the point where i am seeking answers, please.
 
1 members found this post helpful.
Old 03-15-2011, 10:46 PM   #4
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Rep: Reputation: 53
Your right! Sorry about that!

I have a heap of my own problems and I did not mean to be insulting in anyway. I could not ever find any documents that explained the kernels end to any reasonable extent so it might help to know that it is not easy. Doing a search on Ram Disks might lead to something because Grub is limited.

http://docs.google.com/viewer?a=v&q=...VZmK4hocAm6owg


http://www.cromwell-intl.com/unix/linux-boot.html

http://www.xs4all.nl/~lennartb/bootloaders/node3.html Most comprehensive Link.

These links are connected to Booting in general so you will have to sift through them.

Last edited by theKbStockpiler; 03-15-2011 at 11:19 PM.
 
Old 03-17-2011, 09:50 PM   #5
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Rep: Reputation: 53
Here's another Link and aspect.

You may have already seen this page but just in case it gives you some other search options.Init for one.


http://en.wikipedia.org/wiki/Linux_startup_process
 
  


Reply



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
LXer: Finding rootfs during boot LXer Syndicated Linux News 0 03-12-2009 10:10 PM
Linux Boot CD problem with rootfs.gz xokaido Linux - General 4 12-30-2008 05:25 AM
VFS:can't mount rootfs on "sdax" or unknown block (0,0):silly,but worked jimmerlin Linux From Scratch 0 11-30-2008 09:35 PM
Kernel Panic :VFS :unable to mount rootfs 16:02 abirami Linux - Software 5 01-02-2006 11:01 PM
kernel upgrade fails, VFS error (me too, have read other posts) abs Slackware 7 08-23-2004 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:51 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
Open Source Consulting | Domain Registration