On Mon, 26 Feb 2001, Sukrit wrote:

> How do mount partions as read-only at time of booting?
> thanks
> 

put "read-only" (without quotes) in your lilo.conf, typically after you
define your root partition. This will mount your root partition read-only
irrespective of what fstab says.
 The other way is to keep the "ro" option in your fstab file like

/dev/hda5              /home              ro       0 0 

etc etc. 

Note: however dont make your /tmp read only. X and a lot of others need it
to write tmp file, lockfiles etc. So incase /tmp is not a seperate
directory, using "read-only" in lilo.conf will cause some problems.

-- sreangsu



----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to