Write Protecting the HDD after RH install

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
Subject: Write Protecting the HDD after RH install
On Tue, 13 Jan 2004 wrote:

> The boot process is stopped when remounting the root file system in
> read-write mode. So the write protect is doing its job. My question is
> how can I make the file system read only?


Look at the /etc/fstab file. Look at the mount and fstab man pages.

Make the mount points read-only (ro).

Also, edit your startup scripts to not remount / as read-write. And modify
your start scripts so they don't modify the motd (or other etc files) at
boot time.

Then use a ram disk for /tmp and maybe consider putting a /var (on your
other hard disk that has your swap partition).

Jeremy C. Reed
http://www.reedmedia.net/