Results 1 to 7 of 7

Thread: Setting read-write option for mounted partition

  1. #1
    Join Date
    Jun 2018
    Beans
    4

    Setting read-write option for mounted partition

    I have a problem with mounted partition on ubuntu 18.04. Command 'mount' shows following line:
    Code:
    /dev/nvme0n1p3 on /media/xxxx/xxxxxxxxx type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
    I would like to set rw option for this partition. As I know I can do this by remount partition:
    Code:
    mount -o remount,rw /media/xxxxx
    It works, but after reboot, it is signed as ro. How can I do this permanently especially if my partition is not listed in fstab?

  2. #2
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    9,015
    Distro
    Ubuntu

    Re: Setting read-write option for mounted partition

    If not in fstab how are you mounting it?
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  3. #3
    Join Date
    Jun 2018
    Beans
    4

    Re: Setting read-write option for mounted partition

    I think it was mounted automatically. My Fstab file:
    Code:
    # /etc/fstab: staticfile system information.
    #
    # Use 'blkid' toprint the universally unique identifier for a
    # device; this maybe used with UUID= as a more robust way to name devices
    # that works even ifdisks are added and removed. See fstab(5).
    #
    # <file system><mount point>   <type>  <options>       <dump> <pass>
    # / was on/dev/nvme0n1p4 during installation
    UUID=25c0a93a-7b94-404d-ba33-a8812645b282/               ext4    errors=remount-ro 0       1
    # /boot/efi was on/dev/nvme0n1p1 during installation
    UUID=70D3-8A7F /boot/efi       vfat    umask=0077      0       1
    /swapfile                                none            swap    sw              0      0

  4. #4
    Join Date
    Jun 2018
    Beans
    4

    Re: Setting read-write option for mounted partition

    Hi.
    Is nvme0n1p3, by any chance, a windows ntfs partition?

  5. #5
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    9,015
    Distro
    Ubuntu

    Re: Setting read-write option for mounted partition

    The nvme0n1p3 partition is the /boot/efi partition.
    Or at least that's what it says it is in fstab.
    And it's marked as formatted vfat.

    Unless the description in fstab is wrong...



    What does
    Code:
    sudo blkid
    and/or
    Code:
    sudo parted -l
    show?

    The blkid will output the UUIDs of the associated partition which we can match against what fstab has.
    The parted -l will show disk and partition layouts.
    For a little clarity.
    Last edited by deadflowr; 2 Days Ago at 09:20 PM. Reason: scratched; I cannot read
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  6. #6
    Join Date
    Jun 2018
    Beans
    4

    Re: Setting read-write option for mounted partition

    Isn't nvme0n1p3 mounted on /media according to his mount output and and nvme0n1p1 on /boot/efi as stated in his fstab?

  7. #7
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    9,015
    Distro
    Ubuntu

    Re: Setting read-write option for mounted partition

    Quote Originally Posted by gabe. View Post
    Isn't nvme0n1p3 mounted on /media according to his mount output and and nvme0n1p1 on /boot/efi as stated in his fstab?
    indeed.
    Nevermind my last post on that. I was probably tired.
    Though we still need to outputs from the commands posted.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •