PDA

View Full Version : Using qtparted to resize a NTFS partition



eadz
07-06-2003, 10:03 PM
Last weekend I helped out at an installfest, and as expected, people came with only one NTFS partition with XP on it.

I had never used qtparted before, and was not sure it would work considering the "can't write to NTFS" linux issue.

But I gave it a go on 2 machines, the first worked perfectly, and the second gave an error before starting becasue the disk wasn't defragged.

Now I'd still back up the hard disk before doing this, but it is nice to know that it works.

Irgu
07-08-2003, 09:14 AM
I had never used qtparted before,

I really like qtparted :)


and was not sure it would work considering the "can't write to NTFS" linux issue.

There are some confusions on NTFS support. I've read some clarification on http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html#write

As you can see, Knoppix has the lower quality driver. I hope developers will upgrade it. cloop'ing from an NTFS partition, as TopologiLinux does, would be very useful!


But I gave it a go on 2 machines, the first worked perfectly, and the second gave an error before starting becasue the disk wasn't defragged.

There are rumours, the new ntfs resizer will have built-in defragmentation.


Now I'd still back up the hard disk before doing this, but it is nice to know that it works.

If the data is valuable then back up is always a good idea. I "lost" data because of disk faults, stolen computer, software bugs and user error.

jdong
09-20-2003, 12:05 AM
Well , to add to this discussion:

I've done 9 NTFS resizes on 4 totally different systems, with no difficulties... Only I needed to thoroughly defrag the drives.... Not many defraggers leave the end space clean; actually, I've only found one, O&O Defrag(www.oo-software.com) that does so with NTFS...

didac
09-26-2003, 06:34 PM
I took a look at o&o software, it costs 45 $.
Bootit-ng costs 35, does resize NTFS and amongst others EXT3 and Reiserfs, backs up partitons to cd and appears to be a capable bootloader (didn't check te last item). It fits on a single floppy and has a graphical user interface.
What good is a powerfull QTparted if you need a commercial defragger first?

Whether M$ locks its NTFS partitions on purpose or not, I don't know but free resizers are not as good as the commercial ones yet because there is no free info available on the NTFS format. This does not stop development but surely slows it down considerably until the next NNTFS (Newer NTFS) comes along.

cascadefx
01-28-2004, 05:26 PM
Well , to add to this discussion:

I've done 9 NTFS resizes on 4 totally different systems, with no difficulties... Only I needed to thoroughly defrag the drives.... Not many defraggers leave the end space clean; actually, I've only found one, O&O Defrag(www.oo-software.com) that does so with NTFS...

Then boot to safemode in windows and force a chkdsk on next reboot. That should clean up any problems left behind.

debi
02-16-2004, 07:30 PM
I have the problem what i cant get more than 5.5 gb out of my ntfs partition.
There are alway some fragments at the end of the partition. I already tried o&o defrag but that didn't help.

@cascadefx
What does chkdisk do that could solve my problem?

FlorianK
02-16-2004, 07:41 PM
hi, you may want to check here (http://www.knoppix.net/forum/viewtopic.php?t=6406&highlight=&sid=e8d627921cdbdb7d8a5015660aa00347); Facteur came up with some stuff and there may be some useful links for you. I still haven't got the faintest idea what I did to make it work for me, sorry!
Best of luck,
FlorianK.

jkocurek
02-18-2004, 01:47 PM
I had this problem. I solved it by partioning it, defragging, re-partioning, degragging and so on, until it squeezed things down enough. Apparently Windows ntfs likes to have some stuff at the end, but not too close...

debi
02-18-2004, 06:02 PM
it seems like there are some system and paging files at the end.
There is also the windows "swap partition". So must deactivate it because the defrag tools dont touch at them.

debi
02-18-2004, 09:04 PM
HMMM...
Just tried a read-only test run with ntfsresize and told me i could free another 5 gb of my partition. Why didn't qtparted tell me?

jkocurek
02-19-2004, 03:56 PM
That's the thing, once you shrink the partition and reboot into Windows, it moves those files down. Then defrag, shrink the partition and reboot. Repeat until there is enough room.

Irgu
02-21-2004, 12:07 PM
You could also use ntfsresize 1.9-BETA, it doesn't need any defragmentation before resizing. It worked fine always so far also.

However unfortunately QTParted was't updated to be compatible with this newer ntfs resizer. This might also explain why you see ntfsresize can shrink more than QTParted.

debi
02-22-2004, 11:34 AM
I really need that free space so i formatted windows, and reinstalled it again on a smaller partition. (in fact i have splittet the partition in two.) I moved linux onto the new bigger partition, did the right entries in lilo, fstab and mtab and the system booted from the new partition.
The only problem is that linux does not load any modules now?! It said it couldn't find /proc/modules?
Hmmm...