Re: fstab
From: Bret Hughes (bhughes_at_elevating.com)
Date: 08/13/03
- Previous message: Vivek Shankar: "USB on Kernel2.6"
- In reply to: Daniel Tan: "Re: fstab"
- Next in thread: Daniel Tan: "Re: fstab"
- Reply: Daniel Tan: "Re: fstab"
- Reply: Daniel Tan: "Re: fstab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: redhat-list@redhat.com Date: 13 Aug 2003 01:30:36 -0500
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" <bhughes@elevating.com>
> To: <redhat-list@redhat.com>
> Cc: <danieltan@shopnsave.com.sg>
> 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:redhat-list-request@redhat.com?subject=unsubscribe
> 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:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Vivek Shankar: "USB on Kernel2.6"
- In reply to: Daniel Tan: "Re: fstab"
- Next in thread: Daniel Tan: "Re: fstab"
- Reply: Daniel Tan: "Re: fstab"
- Reply: Daniel Tan: "Re: fstab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|