LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-07-2008, 04:40 AM   #1
ram_rajavarapu
Member
 
Registered: May 2008
Posts: 42

Rep: Reputation: 15
about kernel


Hai LQ folks
My question is that why kernel is mounted as read-only during booting and after booting / partion is has rw permissions in fstab?
 
Old 11-07-2008, 05:15 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
While a filesystem is mounted read-only, you can still run tools like 'fsck' on them without worrying too much about accidental damage.
 
Old 11-08-2008, 01:40 PM   #3
geek745
Member
 
Registered: Jul 2004
Location: Boston, MA
Distribution: Slackware; Ubuntu; Slax
Posts: 172
Blog Entries: 2

Rep: Reputation: 34
OP is asking about the lines "mounting root partition as read-only" during the initialization of the kernel, and then "re-mounting root partition as rw" and during poweroff, "re-mounting root partition as read-only"

This is to prevent, at the operating system level, from destroying critical system data. There is no need for the kernel itself to modify any data on disk, so that precaution is taken to make absolutely certain that any malicious code that may have gotten into the kernel cannot mess with it or any other data on disk at that time. When you configure your boot-loader, you also have the option to allow the root drive containing the boot image to be read-only or read-write, and the universally-recommended choice is read-only.
 
  


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
upgrading Fedora Core 3 kernel 2.6.9-1.667 to 2.6.26.3 manually+kernel panic error LinuxLovinNoob Linux - Newbie 7 12-17-2008 09:45 PM
LXer: Howto: build Linux kernel module against installed kernel w/o full kernel source tree LXer Syndicated Linux News 0 09-03-2006 09:21 PM
kernel includes at /usr/src/linux/include do not match current kernel. blanny Red Hat 1 03-09-2006 08:53 AM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 04:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:46 PM.

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