Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-16-2009, 08:36 PM   #1
Registered: May 2008
Location: Jordan
Distribution: use fedora but prefer Slackware
Posts: 98

Rep: Reputation: 15
format to ntfs under linux

hi ,im using f10 and want to format my partition sda7 to ntfs using linux so how can i do it ?

[root@localhost ~]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2ae62ae5

Device Boot Start End Blocks Id System
/dev/sda1 * 1 9206 73947104 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 18247 19457 9724928 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3 9207 11756 20482875 83 Linux
/dev/sda4 11757 18246 52130925 5 Extended
/dev/sda5 11757 16600 38909398+ 83 Linux
/dev/sda6 16601 17237 5116671 82 Linux swap / Solaris
/dev/sda7 17238 18246 8104761 83 Linux

Last edited by 7mza; 05-16-2009 at 08:43 PM.
Old 05-16-2009, 08:53 PM   #2
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 131Reputation: 131
mkntfs /dev/xxx
See man mkntfs for details.

Bear in mind that NTFS is a proprietary format and that at any time windows may spit out an NTFS partition it did not create. I created an NTFS partition from Linux only once and I did not run into any problems, though. Just stating the obvious in case things do get messy some day.

Last edited by jay73; 05-16-2009 at 08:54 PM.
Old 05-16-2009, 09:32 PM   #3
Senior Member
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,667

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494

I have tried format a partition into ntfs using my gparted in Gnome and it worked until now. I have also formatted another using the installer of Slackware and it is doing good til now.

You can do the same.
Old 05-16-2009, 10:14 PM   #4
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,431
Blog Entries: 31

Rep: Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605

I would suggest that you look at the options for 'man mkntfs'.

excerpt 'man mkntfs';
mkntfs - create an NTFS file system

mkntfs [options] device [number-of-sectors]

mkntfs [ -C ] [ -c cluster-size ] [ -F ] [ -f ] [ -H heads ] [ -h ] [
-I ] [ -L volume-label ] [ -l ] [ -n ] [ -p part-start-sect ] [ -Q ] [
-q ] [ -S sectors-per-track ] [ -s sector-size ] [ -T ] [ -V ] [ -v ] [
-z mft-zone-multiplier ] [ --debug ] device [ number-of-sectors ]

mkntfs is used to create an NTFS file system on a device (usually a
disk partition) or file. device is the special file corresponding to
the device (e.g /dev/hdXX). number-of-sectors is the number of blocks
on the device. If omitted, mkntfs automagically figures the file sys-
tem size.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NTFS Configuration Tool Can Not Detect SATA drive in NTFS format jlconferido Linux - Newbie 7 06-30-2007 07:07 PM
NTFS format HDD - can I install Linux? dms05 Linux - Newbie 15 05-22-2006 10:52 AM
Fedora5 help convert NTFS partition/format to Linux please lizard_king825 Linux - General 4 05-21-2006 12:11 AM
Format NTFS partition from Linux? EgosZ Fedora 3 10-21-2004 07:59 AM
how do i format drive as ntfs from linux fedora unixmad Linux - Newbie 1 08-20-2004 07:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration