Results 1 to 6 of 6

Thread: How can I add a ntfs partition in fstab with btrfs?

  1. #1
    Alberto NNTP User

    Default How can I add a ntfs partition in fstab with btrfs?


    Hello. I have a dual boot with Windows 7 and I need to add the ntfs
    partition to the fstab file to avoid mounting it every time I boot the
    system. I don't know the syntax of the new btrfs file system.

    Thank you in advance.


    Alberto
    OpenSUSE 13.2 X86_64 (KDE and Gnome)

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,486
    Blog Entries
    3

    Default Re: How can I add a ntfs partition in fstab with btrfs?

    You can add it the same way as before. The syntax of "fstab" has not changed.

    Looking in my "/etc/fstab", the only change that I see for Windows partitions, is that instead of the first entry being
    "/dev/disk/by-id/some-long-string-part5"
    it is of the form
    "UUID=uuidnumber for partition".

    But the old form of that entry still works. It's just that the default has changed for when Yast sets it up.

    You can probably use Yast partitioner to add the entry if you prefer.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3
    Alberto NNTP User

    Default Re: How can I add a ntfs partition in fstab with btrfs?

    nrickert wrote:

    >
    > You can add it the same way as before. The syntax of "fstab" has not
    > changed.
    >
    > Looking in my "/etc/fstab", the only change that I see for Windows
    > partitions, is that instead of the first entry being
    > "/dev/disk/by-id/some-long-string-part5"
    > it is of the form
    > "UUID=uuidnumber for partition".
    >
    > But the old form of that entry still works. It's just that the default
    > has changed for when Yast sets it up.
    >
    > You can probably use Yast partitioner to add the entry if you prefer.
    >
    >


    I have used Yast partitioner,succesfully.

    Thank you.


    Alberto
    openSUSE 13.2 X86_64 (KDE and GNOME)

  4. #4
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: How can I add a ntfs partition in fstab with btrfs?

    If you mount it in Yast it will appear in fstab something like this:
    Code:
    UUID=52D5666F29745419 /mnt/sda1            ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    Which is readable but not writable. If you want to write, change this portion:

    Code:
    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8
    change to
    defaults,locale=en_US.UTF-8
    Here's a bit more FYI: Allowing write access to the read-only mounts created during installation of NTFS
    Last edited by swerdna; 14-Nov-2014 at 15:22.
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  5. #5
    Alberto NNTP User

    Default Re: How can I add a ntfs partition in fstab with btrfs?


    Done. Thank you.






    Alberto
    openSUSE 13.2 X86_64 (KDE and GNOME)


  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: How can I add a ntfs partition in fstab with btrfs?

    On 2014-11-14 20:44, Alberto wrote:
    >
    > Hello. I have a dual boot with Windows 7 and I need to add the ntfs
    > partition to the fstab file to avoid mounting it every time I boot the
    > system. I don't know the syntax of the new btrfs file system.


    I notice that you solved your problem, but I think you have a confusion
    there: there is no relation between your system using btrfs and you
    wanting to mount an ntfs partition somewhere.

    Both ntfs and btrfs are filesystems. In windows parlance, format types.
    Two different format types. Like FAT, exFAT, NTFS, etc.

    And all possible filesystems are mounted the same way in fstab, now and
    years ago: it has not changed.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

Posting Permissions

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