On Thu, 14 Dec 2000, sreangsu acharyya wrote:
> On Thu, 14 Dec 2000, Sreeji K Das wrote:
>
> > Hi
> >
> > put the line
> >
> > read-only
> >
> > in your lilo.conf (normally /etc/lilo.conf) & then re-run lilo as:
> > lilo
> >
> > Reboot the system & the error should vanish !
> >
>
> shouldnt it be the other way round, as his file system is being mounted ro
> by default. On the oher hand keeping the root file system read only does
> reduce file corruption possibilities ( power cuts and such things) and
> also speeds up the boot process by avoiding the otherwise mandatory checks
> on it.
> However, I think the /tmp should be a seperate partition, otherwise X
> wouldnt run as it wants to write some temporary files in this directory. X
> is just an example many others do as well. A read-only mounted root with
> /tmp in the root partition would not allow one to login through xdm.
>
> please correct me if I am wrong
>
> sreangsu
Hi Sreangsu
mmmm...... 'read-only' in lilo.conf means mount the file system read only
during boot-up. Normally once the fsck is done (in the system startup
script), the file system would be remounted read/write. & as you pointed
out, you'd face quite a lot of problems if root partition is mounted
read-only.
my /etc/rc.S (Slackware) says:
<QUOTE>
*** ERROR: Root partition has already been mounted read-write. Cannot
check!
For filesystem checking to work properly, your system must initially mount
the root partition as read only. Please modify your kernel with 'rdev' so
that it does this. If you're booting with LILO, add a line:
read-only
to the Linux section in your /etc/lilo.conf and type 'lilo' to reinstall
it.
</QUOTE>
The above error is thrown if the / partition is mounted read-write by
kernel (& it's not UMSDOS). If / is mounted read-write by the Kernel,
then my startup script does not do an fsck also. I don't know the case
with Redhat, since I had only been using Slackware.
Sreeji
----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr