with swap enable, editing fstab yield nothing again. editing and trying to
save the file, i get "fstab" E212: Can't open file for writing.

still unable to remount it.
----- Original Message ----- 
From: "Bret Hughes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, August 13, 2003 1:27 PM
Subject: Re: fstab


On Tue, 2003-08-12 at 23:25, Daniel Tan wrote:
> i'm at (repair filesystem) # prompt..after entering root password
> / is mounted but i can't umount it at all...
>
> running mount -n / -o remount,rw
> came out mount: / not mounted already , or bad option
>
> running mount came out /dev/sda6 on / type ext3 (rw)
> none on /proc type proc (rw)
> see there is rw in there but am not able to write anything on /, editing a
> file prompts swap not enabled but i can edit but not save the file.

This would be easier for someone else to follow if you would not top
post.

Well since there is no swap enabled lets enable some.  I have never done
this without an fstab but the manpage for swapon seems to indicate that

swapon /dev/whatever

should work.

so assumming that your swap partition is the same as root, try

fdisk -l /dev/sda

and see which partition is swap and use that in the above swapon
command.

Bret


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
This message has been scanned for viruses and
dangerous content by Email Virus Scanner, and is
believed to be clean.



-- 
This message has been scanned for viruses and
dangerous content by Email Virus Scanner, and is
believed to be clean.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to