LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-11-2005, 05:00 PM   #1
blizunt7
Member
 
Registered: Mar 2004
Distribution: Fedora Core 1,2,3, RHEL3,4,5 Ubuntu
Posts: 274

Rep: Reputation: 30
resize external NTFS HD


Hey All,
I have just attached an external NTFS 250G HD to my FC4 remote linux box, for extra storage.
I have succesfull mounted the device, and i am looking to resize the first and only partition and create a second NTFS partition, so i can mount each partition for different uses.

out put of fdisk -l /dev/sda
Code:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       30401   244196001    7  HPFS/NTFS
i would like to use, lets say 70G for a new NTFS partition.

I have never created a new partition on a live drive, and just like anyone else prefer not to loose my other data on it already.

Can someone lead me in the right direction?

THanks
 
Old 10-11-2005, 05:44 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Start here - there will be RPMs available I would think.
Redhat were all bitter and twisted about NTFS support, I suppose Fedora are too although I've never tried any of the FC distros.
 
Old 10-11-2005, 06:22 PM   #3
blizunt7
Member
 
Registered: Mar 2004
Distribution: Fedora Core 1,2,3, RHEL3,4,5 Ubuntu
Posts: 274

Original Poster
Rep: Reputation: 30
i have alrady downloaded NTFS support, and is working properly.

What I am looking to do now, is resize my enternal NTFS harddrive, and add a partition (NTFS) to it, via my linux machine.

Thanks
 
Old 10-11-2005, 06:59 PM   #4
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Use the ntfsresize program that syg00 pointed you to.

If you want a GUI then either install QTParted or boot off a PCLinuxOS LiveCD or Mandriva Install CD and use the Mandrake Paritioning program (in the PCLinuxOS Control Centre on PCLinuxOS).
 
Old 10-11-2005, 06:59 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I never tried using Linux tools on NTFS partitions but the only thing that comes to my mind is parted with the front-end qtparted. I would really look at using Windows to resize it with an app like Partition Magic or there are a couple of shareware tools. If you try qtparted I would make sure if there is data you need is to back it up first. Even Partition Magic recommends doing this before modify a partition structure.

Brian1
 
Old 10-11-2005, 08:12 PM   #6
blizunt7
Member
 
Registered: Mar 2004
Distribution: Fedora Core 1,2,3, RHEL3,4,5 Ubuntu
Posts: 274

Original Poster
Rep: Reputation: 30
Is there any reason why i cannot write to my NTFS drive from linux??

It is mounted rw, i am root, and all the perms are set right..

what am i doing wrong??

thanks so much
josh
 
Old 10-11-2005, 08:51 PM   #7
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
The various Linux tools can safely resize NTFS partitions but you cannot write to an NTFS partition using Linux yet. NTFS write support is still under development and is not considered safe yet - I think the latest is that you can change already created files but creating new ones leads to corrupted partitions. For this reason most distros ship with read-only NTFS support only.

Resizing a partition is a completely different thing to writing files to it, which is why the Linux NTFS resize software can be considered safe while NTFS file writing support isn't.

As always of course, you should backup your data before you try to do any repartitioning.

Last edited by tkedwards; 10-11-2005 at 08:53 PM.
 
Old 10-11-2005, 08:56 PM   #8
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Just about all the post here about writing to ntfs says use at your own risk. There is no gaurantee. There are many sub version levels of ntfs. They say captive-ntfs is better than using the ntfs write capablity from the kernel. Not sure which you are using. Reading ntfs is no problem just writing can ruining the partition. If you need to transfer between the two it is best to have fat32 partition since either OS have no problems writing.

Just from what I read.
Brian1
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NTFS Resize cheetahman Linux - Software 11 08-01-2005 03:33 PM
Resize NTFS with FTP Install? JSmith SUSE / openSUSE 2 01-12-2005 12:14 PM
resize NTFS Joey.Dale Linux - General 2 04-16-2004 02:53 PM
ntfs resize - xp partition - files in the way jonnycarlos Linux - Software 3 02-28-2004 09:41 PM
Resize NTFS from Linux gcmartin Linux - Distributions 2 06-13-2003 12:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:10 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
Open Source Consulting | Domain Registration