Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: How to make an NTFS partition

  1. #1
    DeMus is offline I Ubuntu, Therefore, I Am
    Join Date
    May 2008
    Location
    The Netherlands
    Beans
    2,146

    How to make an NTFS partition

    Hi,

    I use jaunty 64 bits on a software raid 0. My partitions are:
    disk a:
    sda1 /boot ext4 (no raid)
    sda2 / ext4 md0
    sda3 /home ext4 md1

    disk b
    sdb1 not used (no raid)
    sdb2 / ext4 md0
    sdb3 /home ext4 md1

    Now I need to make an NTFS partition. The reason is my mediaplayer, which I use to play HD movies on my TV, can not read ext4 disks.
    How would I do such a thing? I tried using gparted but have no idea how to make room for a new partition on a raid 0.
    I can reduce the size of the md1 raid to make room for the new partition if I new how.
    Who can help me with this?

  2. #2
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: How to make an NTFS partition

    Have you checked the GParted documentation ?

    ** If I remember right, NTFS's can be created only from the LiveCD.

  3. #3
    DeMus is offline I Ubuntu, Therefore, I Am
    Join Date
    May 2008
    Location
    The Netherlands
    Beans
    2,146

    Re: How to make an NTFS partition

    Quote Originally Posted by [Re] Smile View Post
    Have you checked the GParted documentation ?

    ** If I remember right, NTFS's can be created only from the LiveCD.
    Thank you for your fast answer, but I read nothing about Raid. I know how Gparted works, but have no ideas what to do to reduce a raid partition and after that create a new raid NTFS partition.
    I need the raid for a faster datastream.

  4. #4
    DeMus is offline I Ubuntu, Therefore, I Am
    Join Date
    May 2008
    Location
    The Netherlands
    Beans
    2,146

    Re: How to make an NTFS partition

    No one? Come on, this can't be the first time this problem comes up.

  5. #5
    Join Date
    Nov 2007
    Beans
    589
    Distro
    Ubuntu

    Re: How to make an NTFS partition

    Installing all this should do the trick:
    Code:
    sudo apt-get install ntfs-3g ntfs-config ntfsprogs
    After that gparted (and parted) *should* be able to create ntfs partitions.

    Oh yeah for the raid thing: http://www.gnu.org/software/parted/m.../parted_7.html
    Last edited by darolu; March 3rd, 2010 at 05:59 AM.

  6. #6
    Join Date
    Dec 2009
    Location
    germany
    Beans
    1,020
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to make an NTFS partition

    hi
    have a look at "cfdisk". i have never used it for raid. but as far i know cfdisk is able to handle raid.
    it's a very nice tool !!
    ciao
    "What is the robbing of a bank compared to the FOUNDING of a bank?" Berthold Brecht

  7. #7
    DeMus is offline I Ubuntu, Therefore, I Am
    Join Date
    May 2008
    Location
    The Netherlands
    Beans
    2,146

    Re: How to make an NTFS partition

    I added a separate hard disk into my computer and through a bootable Gparted disk I was able to format the drive in NTFS format. I can mount it by hand using:
    Code:
    sudo ntfs-3g /dev/sdc1 /media/Video
    I can use it, that's no problem. I just wish to mount it automatically when the computer boots. I have tried to do that in fstab but that didn't work. Then I wrote the above code in a script and tried to start it when the computer boots, but it doesn't do that.
    Now I start the script by hand and the disk mounts.

    The script contains this code:
    Code:
    #!/bin/sh
    sleep 5
    sudo ntfs-3g /dev/sdc1 /media/Video
    How can I automount an NTFS disk in my computer?

  8. #8
    Join Date
    Mar 2008
    Beans
    453

    Re: How to make an NTFS partition

    You can use /etc/fstab for mounting any partition, including fat32 and ntfs. It's often in what options you elect as it is being mounted. Some good choices are default,rw,user. This will mean that the user is allows access, and you can do read and writes to it. If you specify ro instead of rw, you only have read access. Though you would not normally store Linux-compatible executable files in an ntfs partition, you can add exec to the fstab entry.

    LiveCD's version of partitioner allows for NTFS, but a better choice might be gparted.iso, which you can then boot to. There are some features with gparted.iso that are not apparent with the other versions, such as copying one partiton over into another. Not sure if this works between drives though.

  9. #9
    DeMus is offline I Ubuntu, Therefore, I Am
    Join Date
    May 2008
    Location
    The Netherlands
    Beans
    2,146

    Re: How to make an NTFS partition

    Quote Originally Posted by oldefoxx View Post
    You can use /etc/fstab for mounting any partition, including fat32 and ntfs. It's often in what options you elect as it is being mounted. Some good choices are default,rw,user. This will mean that the user is allows access, and you can do read and writes to it. If you specify ro instead of rw, you only have read access. Though you would not normally store Linux-compatible executable files in an ntfs partition, you can add exec to the fstab entry.

    LiveCD's version of partitioner allows for NTFS, but a better choice might be gparted.iso, which you can then boot to. There are some features with gparted.iso that are not apparent with the other versions, such as copying one partiton over into another. Not sure if this works between drives though.
    Thank you for your answer. One question:
    what would be the syntax when using fstab? I know the drive is called sdc, has 1 partition sdc1 and I also know the UUID.
    What would I have to write in fstab to make it work?

  10. #10
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: How to make an NTFS partition

    Quote Originally Posted by DeMus View Post
    Thank you for your answer. One question:
    what would be the syntax when using fstab? I know the drive is called sdc, has 1 partition sdc1 and I also know the UUID.
    What would I have to write in fstab to make it work?
    Code:
    /dev/sdc1 /mountpoint/sdc1 ntfs-3g defaults 0 0

Page 1 of 2 12 LastLast

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
  •