Root file system not being checked during bootup process
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: MX-17.1 in a DakTech desktop tower and in a Dell laptop
Posts: 58
Rep:
Root file system not being checked during bootup process
I see that the bootup process for my system says it "can't check the
root file system because it's not mounted read-only". [There's a red
star by this line.] Since I generally don't examine carefully the fast
moving bootup lines (and I just found out how to stop them: use Scroll
Lock), I don't know when this started. This line and the red star
might have been there for weeks-- I don't know. [During the last 2
weeks, I've been installing the latest versions of various packages.
And, also during the last 2 weeks, I've installed one or two entirely
new packages that I never had before doing this.]
I know how to check the properties of files and how to change
permissions but I don't know how to make the entire root file system
'read-only'. Where and how do I do that?
[I use Mepis 3.4-3 and my root <in ext3 file system> is in /dev/hda1.
My computer, Mepis, Linux, Firefox, etc. seem to be working fine
inspite of the failure of the bootup process to check the root file
system.]
To mount the root filesystem read-only, you have to modify the /etc/fstab configuration file.
Open this file and locate the line concerning your root filesystem (should begin with /dev/hda1 / ext3) and add to the 4th column (the options column) the "ro" option. If there are others options, you should delimit these by a comma (,).
Distribution: MX-17.1 in a DakTech desktop tower and in a Dell laptop
Posts: 58
Original Poster
Rep:
Quote:
Originally Posted by hfawzy
To mount the root filesystem read-only, you have to modify the /etc/fstab configuration file.
Open this file and locate the line concerning your root filesystem (should begin with /dev/hda1 / ext3) and add to the 4th column (the options column) the "ro" option. If there are others options, you should delimit these by a comma (,).
Thanks for the help. Here's the first line of my fstab:
# Pluggable devices are handled by uDev, they are not in fstab
/dev/hda1 / ext3 defaults,noatime 1 1
So I should change 'defaults' to ' ro ' and follow ro with ' ,noatime 1 1 '. Is that correct?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.