Results 1 to 7 of 7

Thread: Mount ext4 partition read/write.

  1. #1
    Join Date
    Jun 2010
    Location
    Villahermosa, Tabasco, Mx
    Beans
    70
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Mount ext4 partition read/write.

    Hi, I want to mount an ext4 partition but it keeps mounting as read-only, it appears on my desktop and I can see the files but the 'Create new Folder' and other options are grayed-out, so I can't do much with it.

    I use the usual command:
    ----"sudo mount /dev/sda6 /media/EXT4part"

    I've tried using this:
    ----"sudo mount -t ext4 -o defaults,uid=1000,noatime /dev/sda6 /media/EXT4part"
    but it gives me the following error:
    "mount: wrong fs type, bad option, bad superblock on /dev/sda6,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so"

    I've used 'chown' on the mountpoint directory before mounting:
    ---"sudo chown 777 /media/EXT4part"
    and the directory appears with my name, but as soon as I mount the Ext4 partition it becomes 'root'.

    I've managed to mount NTFS and VFAT already without using the 'chown' command and I thought Ext4 was supposed to be easier.

    Any help? thanks.
    Last edited by victorhugo289; January 24th, 2011 at 11:56 PM.

  2. #2
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,666
    Distro
    Ubuntu Gnome Development Release

  3. #3
    Join Date
    Jun 2010
    Location
    Villahermosa, Tabasco, Mx
    Beans
    70
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Mount ext4 partition read/write.

    Quote Originally Posted by sikander3786 View Post
    Please see here if it is of any help to you.

    http://ubuntu4beginners.blogspot.com...ives-with.html
    I did what it said, except that I don't want to automount it on startup, so I just did it on the terminal, I chowned the mount-point directory and it said "Victor Victor", right, but as soon as I mounted the Ext4 partition it became root, it no longer said "Victor victor".

  4. #4
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,666
    Distro
    Ubuntu Gnome Development Release

    Re: Mount ext4 partition read/write.

    Try the recursive switch.

    Code:
    sudo chown -R username:username /place-to-mount
    Or, I am not sure if those permissions would last for a single session only

  5. #5
    Join Date
    Jun 2010
    Location
    Villahermosa, Tabasco, Mx
    Beans
    70
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Mount ext4 partition read/write.

    Quote Originally Posted by sikander3786 View Post
    Try the recursive switch.

    Code:
    sudo chown -R username:username /place-to-mount
    Or, I am not sure if those permissions would last for a single session only
    Same stuff, "Create Folder" and other options is grayed-out.

    Now, something tells me that this is not a read-only mount problem but that I have to 'chown' all the files in that partition, Is that so?
    But I thought I could just mount it as "read-write" all together, :/
    Last edited by victorhugo289; January 25th, 2011 at 01:00 AM.

  6. #6
    Join Date
    Feb 2007
    Beans
    7

    Re: Mount ext4 partition read/write.


  7. #7
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Mount ext4 partition read/write.

    Closed, necromancy. Old thread closed.

    From the Ubuntu Forums Code of Conduct.
    http://ubuntuforums.org/index.php?page=policy

    "If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful."
    Oldfred on vacation. Back Sept 9. Will not have much if any Internet access.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







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
  •