LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-22-2011, 11:55 AM   #1
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 70
Why does linux mount / read only during boot...


Then it remounts with read and write. Why is it exactly? For what purpose? Why not just boot / read and write initially?

Last edited by trist007; 10-22-2011 at 12:09 PM.
 
Old 10-22-2011, 12:10 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The filesystem needs to be checked. After the root filesystem is mounted, and the memory used by initrd is read, the kernel's job is done for the time being, and it is up to init to start the processes to check the filesystem and remount it rw.

From this point on, the kernel does the bidding of userland programs which continue the boot process.
 
Old 10-22-2011, 12:17 PM   #3
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Original Poster
Rep: Reputation: 70
Yea that makes sense, in case it did a forced reboot or has been mounted a number of times. Ok yea I see it remount / with read and write in /etc/rc.d/rc.S as well as the check for a forced reboot. Thanks.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to mount / for read/write at boot em21701 Slackware 10 03-23-2009 04:25 PM
Filesystem root ( / ) mounts read only at boot, can't re mount RW TheMusicGuy Debian 10 07-25-2006 06:14 PM
Read-only mount error at boot cheetahman SUSE / openSUSE 7 03-21-2005 06:16 PM
Read-only mount error at boot cheetahman SUSE / openSUSE 9 03-07-2005 02:33 AM
kernel panic unable to mount root (yes ive read/read other posts) dmx9595 Linux - General 4 01-17-2004 05:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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