it says -bash: /etc/testfile: Read-only file system perms on fstab file after i changed is rwxrw-rw- i am using vi to edit the file... ----- Original Message ----- From: "Bret Hughes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 13, 2003 2:30 PM Subject: Re: fstab
On Wed, 2003-08-13 at 00:53, Daniel Tan wrote: > 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. what are you using to edit it? Can you save a file at all? echo "test text" > /etc/testfile what are the perms on /etc/fstab ls -l /etc/fstab > ----- 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 -- 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