LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-30-2002, 01:36 PM   #1
Ocran
LQ Newbie
 
Registered: Jun 2002
Posts: 2

Rep: Reputation: 0
Mounting root filesystem in read only mode.


I am making an mp3 player for my car. I want the / file system to be read only and not run the diskcheck on bootup to keep it quick. This is my line in /etc/fstab

LABEL=/ / ext3 defaults,ro 0 0

Each time a boot, it checks the disk and remounts it in rw mode. What is the problem?

Thanks

Paul
 
Old 06-30-2002, 06:01 PM   #2
griffin
Member
 
Registered: Apr 2002
Location: California
Distribution: Slackware, Gentoo
Posts: 35

Rep: Reputation: 15
Filesystems

There's a better way. Instead of using the ext2 filesystem that requires a check if not shut down properly, why not use the ext3 or reiserfs filesystems? These require no check at the start and are better at recovering files that are damaged at shutdown.
 
Old 07-01-2002, 01:32 AM   #3
Ocran
LQ Newbie
 
Registered: Jun 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Griffin,
I am using the ext3 filesystem as in
LABEL=/ / ext3 defaults,ro 0 0

I belive that line will mount the / filesystem in ro mode with no need to check it, unless i am mistaken.

-Paul
 
Old 07-01-2002, 01:38 AM   #4
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
It shouldn't run a check on your root partition because you have it set to 0. Do you have any other partitions? Like /usr, /boot, /home, or /var. If you do, you'll want to make sure they are set to 0 also.

As for the root partition being mounted read/write, it's in one of the start up scripts. You should find a line that remounts the root partition read/write. In zipslack it looks like this.

/sbin/mount -w -v -n -o remount /

BTW, MasterC has an linux mp3 system in his truck. Maybe he can give you some tips. Here are a couple of his threads.

http://www.linuxquestions.org/questi...ighlight=truck

http://www.linuxquestions.org/questi...ighlight=truck

Last edited by linuxcool; 07-01-2002 at 01:43 AM.
 
  


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
error mounting ext3 filesystem... mount: /dev/hdd1: can't read superblock versaulis Linux - Software 5 11-26-2006 09:34 PM
Root filesystem stuck in "read only" mode. tunrau Linux - Newbie 8 08-21-2004 01:25 PM
RH9 "remounting root filesystem in read-write mode" ChrisHax Linux - Newbie 3 07-23-2004 10:54 PM
Read-only root filesystem at the boot karimson Linux - General 0 03-20-2003 06:01 AM
Mounting NTFS in read / write mode escrotto General 5 12-04-2001 05:26 AM


All times are GMT -5. The time now is 03:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration