[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Opening file at boot time ( read only)



Hi All
Many thanks for your help and here I am back on Linux!!

Windows isn't that bad for a back up system, I just didnt do any banking with it!!

Again Many thanks and I wont mess with fstab again ( for a bit anyway!)

Cheers
Bob



Adam James wrote:

On Sun, 2005-12-18 at 20:19 +0000, frank smith wrote:
I ve made a mess in /etc/fstab and now cant boot my linux box
I tried to mount my other OS using fstab and now when I boot
It dumps me at the prompt ( ctl + D plus root pword)

When I try Vi the file it's read only even though I use the Root Pword.

This is likely because the partition containing /etc is mounted read
only.

To remount /etc read write, type the following at the root prompt:

# mount / -o remount,rw

This presumes you _don't_ have a partition especially for /etc, if you
do the command would be:

# mount /etc -o remount,rw

You should then be able to edit /etc/fstab and save the changes.

HTH,

Adam.




Reply to: