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

Re: Opening file at boot time ( read only)



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.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: