LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-16-2009, 09:36 PM   #1
7mza
Member
 
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 09:43 PM.
 
Old 05-16-2009, 09:53 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
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 09:54 PM.
 
Old 05-16-2009, 10:32 PM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,614

Rep: Reputation: 433Reputation: 433Reputation: 433Reputation: 433Reputation: 433
7mza:

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, 11:14 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,542
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

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

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

SYNOPSIS
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 ]

DESCRIPTION
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.
 
  


Reply


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 08:07 PM
NTFS format HDD - can I install Linux? dms05 Linux - Newbie 15 05-22-2006 11:52 AM
Fedora5 help convert NTFS partition/format to Linux please lizard_king825 Linux - General 4 05-21-2006 01:11 AM
Format NTFS partition from Linux? EgosZ Fedora 3 10-21-2004 08:59 AM
how do i format drive as ntfs from linux fedora unixmad Linux - Newbie 1 08-20-2004 08:54 AM


All times are GMT -5. The time now is 06:23 AM.

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