Re: fstab

From: Bret Hughes (bhughes_at_elevating.com)
Date: 08/13/03

  • Next message: Daniel Tan: "Re: fstab"
    To: redhat-list@redhat.com
    Date: 13 Aug 2003 00:27:05 -0500
    
    

    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
    

  • Next message: Daniel Tan: "Re: fstab"

    Relevant Pages