LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-01-2005, 02:06 AM   #1
trainee
Member
 
Registered: Dec 2004
Distribution: Slackware
Posts: 142

Rep: Reputation: 16
Shrinking the Windows partition


Do you know if there is any open source or free software that can shrink the Windows partition?

Thanks in advance.
 
Old 07-01-2005, 02:31 AM   #2
Geronimo
Member
 
Registered: Aug 2004
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
The SuSE installer comes with a tool, that can resize any kind (or almost) of partitions.
Unfortunately I do not know what tool this is...

just my 2 cents
 
Old 07-05-2005, 06:32 PM   #3
jhumeston
Member
 
Registered: Mar 2004
Posts: 50

Rep: Reputation: 15
To resize a windows partition, you will have to go through several steps. First, you will need dynamic disks (windows 2000 and newer). In a dynamic disk you an resize the file system and the partition. I will not give those instructions here, as they are specific to winders. The Linux NTFS tools are not "stable" yet and I wouldnt trust them. resizing an NTFS file system in Linux would be risky in my opinion.
 
Old 07-05-2005, 09:22 PM   #4
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
ntfsresize will safely resize an NTFS partition. You need to defrag it first, then do not attempt to make the partition smaller than the location of the last piece of data that is on it.
 
Old 07-05-2005, 09:39 PM   #5
juanbobo
Member
 
Registered: Mar 2005
Location: Chicago
Distribution: Gentoo AMD64
Posts: 365

Rep: Reputation: 30
I was able to resize an NTFS partition successfully by turning off the swap file in Windows and repeatedly defraging the partition until there were no files after the point I wanted to the split the drive at. Then I just put in the Mandrake 10.1 CD and it resized the partition in the installation menu. I suppose that is the easiest way to do it.
 
Old 07-06-2005, 02:24 PM   #6
igu
Member
 
Registered: Jan 2003
Distribution: Fedora, Gentoo, SUSE, Mandriva
Posts: 127

Rep: Reputation: 15
trainee: free, open source tools to repartition Windows (both FAT and NTFS): QTParted, GParted, Mandriva's DiskDrake, IBM's EVMS, Novell/SUSE YAST, Debian's/Ubuntu's Partman, Parted (FAT), ntfsresize + fdisk/cfdisk (NTFS). Btw, all previous tools use ntfsresize and parted internally. Probably I missed some. Sorry about it

Geronimo: SUSE uses Parted for FAT resizing and repartitioning, and ntfsresize for NTFS resizing.

jhumeston: dynamic disks are for only dedicated Windows use, no other OS can be installed. Also one can only expand the volume in some limited case (not boot, not system volume, etc). You are wrong about the Linux NTFS tools as well. The NTFS resizer is stable and it always was since its original release, three years ago: http://mlf.linux.rulez.org/mlf/ezaz/....html#reliable
http://linux-ntfs.sourceforge.net/status.html

jiml8: ntfsresize doesn't require defragmentation since the end of 2003. This is documented in several places:
http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html (see the first sentence)
http://linux-ntfs.sourceforge.net/man/ntfsresize.html (see the 3rd sentence in the 'Description' chapter)
Of course you can also make the partition smaller than the location of the last piece of data because ntfsresize will relocate these data safely if needed.

juanbobo: I don't remember what ntfsresize version Mandrake 10.1 used but built-in "defragmentation" support is available only since ntfsresize version 1.9.0 (end of 2003):
http://mlf.linux.rulez.org/mlf/ezaz/...tml#fragmented
But I do know that Mandriva (10.2) doesn't require defragmentation and turning off pagefile to be able to safely resize NTFS, though its manual wasn't updated to reflect this fact.
 
Old 07-06-2005, 02:51 PM   #7
jhumeston
Member
 
Registered: Mar 2004
Posts: 50

Rep: Reputation: 15
when in the 2.6 kernel the support for ntfs (write) is "experamental" I would say that its not stable...
 
Old 07-06-2005, 03:24 PM   #8
[|RoA|]RoadRunner
Member
 
Registered: Jul 2005
Distribution: LFS
Posts: 43

Rep: Reputation: 15
ntfsresize doesn't rely on the NTFS-Kernelfunctions.

http://mlf.linux.rulez.org/mlf/ezaz/...ze.html#driver
 
Old 07-06-2005, 09:37 PM   #9
igu
Member
 
Registered: Jan 2003
Distribution: Fedora, Gentoo, SUSE, Mandriva
Posts: 127

Rep: Reputation: 15
Quote:
Originally posted by jhumeston
when in the 2.6 kernel the support for ntfs (write) is "experamental" I would say that its not stable...
As [|RoA|]RoadRunner wrote, ntfsresize doesn't use the kernel driver at all. This is also explained additionally here (also see the URL what [|RoA|]RoadRunner wrote): http://mlf.linux.rulez.org/mlf/ezaz/...ize.html#write

Moreover the write support in kernel 2.6 isn't experimental. You confuse that with the previous NT4 write support in a completely different NTFS driver, not used in 2.6. The NTFS driver in 2.6 can only overwrite files, nothing else. That is safe. No other write functionality implemented yet, thus there isn't any way to destroy any data currently.
 
  


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
Shrinking Root Partition celticdaddio SUSE / openSUSE 1 10-06-2005 10:00 AM
The amazing shrinking partition loudhoward Linux - Hardware 7 02-25-2004 03:50 PM
Shrinking Linux Partition w/ Partition Magic jrdioko Linux - Newbie 11 12-21-2003 03:46 PM
Shrinking a ext3 partition Radicalm16 Linux - Newbie 4 01-21-2003 09:37 PM
partition or shrinking? M@tt Linux - Newbie 2 11-12-2001 09:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:52 PM.

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