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

Re: Opening file at boot time ( read only)



On Sun, Dec 18, 2005 at 08:48:17PM +0000, 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.
Well, I think that person who can establish a system with / and /etc
on separate filesystems would have no problem like the one in this thread :)

Regards
	Artur
-- 
Gdzie dysków sześć, tam dużo formatowania
	/z pamiętnika administratora/



Reply to: