RE: [SLE] Can Linux resize a WinsozeXP NTFS System Partition?
Some files (registry,...) are usually not moved to the beginning of the partion during the windows defragmentation. You can check http://www.sysinternals.com/ntw2k/freeware/pagedefrag.shtml; however i have not tried it yet. As far as I know, ntfsresize will not allow you to shrink your ntfs partition by more than the contiguous unused disk space at the end of the disk, ie it will not erase anything. But I never used it directly, only using a GUI. (You should always have a backup, anyway...) nicolas
-----Original Message----- From: S.R.Glasoe [mailto:srglasoe@comcast.net] Sent: 12 February 2004 17:20 To: suse-linux-e@suse.com Subject: Re: [SLE] Can Linux resize a WinsozeXP NTFS System Partition?
On Thursday 12 February 2004 10:57, Dave Howorth wrote:
Torsdag 12 februar 2004 16:35 kvad Steven T. Hatton:
Is there a way to resize an NTFS System partition using Linux?
From: Johnny Ernst Nielsen
Try ntfsresize It is on the SUSE Linux 9.0 CDs/DVD and I think it can be reaches if you boot off the CD/DVD and go into rescue mode.
Bob Shokes wrote:
Or Buy a copy of Partition Magic or a similar product.
ntfsresize will resize NTFS partitions OK, but last time I tried it couldn't move the files to the start of the partition to clear space, and Win2000 at least puts files in the middle of the partition to increase speed.
So I finished up using Partition Magic, which did the job.
Cheers, Dave
ALWAYS use a Windows defrag utility for (FAT32 or NTFS) BEFORE attempting resize of any kind. Quirks of those file systems and especially NTFS' undocumented features can ruin your day. Defrag should (cross your fingers, knock on wood, etc) put everything together so the space you free won't have important data in it. NTFSResize doesn't do the defrag that is necessary for a successful resize.
Stan
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
torsdag 12 februari 2004 18:38 skrev Nicolas Dubuit:
Some files (registry,...) are usually not moved to the beginning of the partion during the windows defragmentation.
Further problem with defragmentation in Microsoft Windows (Yes, the legal term is Microsoft Windows, not Windows, it would be horrible if we'd have to pay Microsoft legal fees, everytime we opened our Windows). Is that it only makes sure that each file has it's succeeding part, located on a sector that comes after, rather than before in a logical order. This does not mean, that parts will be moved to the beginning of the disk and packed there. And that was also the case, it didn't.
You can check http://www.sysinternals.com/ntw2k/freeware/pagedefrag.shtml; however i have not tried it yet.
On Thu, 2004-02-12 at 11:29, Örn Hansen wrote:
Further problem with defragmentation in Microsoft Windows ...Is that it only makes sure that each file has it's succeeding part, located on a sector that comes after, rather than before in a logical order. This does not mean, that parts will be moved to the beginning of the disk and packed there. And that was also the case, it didn't.
True - MS Windows won't defrag that way, unless you trick it into doing so. I've done it by making a second bootable MS Windows partition (usually both partitions were Win2k, if it matters). Either partition, when booted, could be used to defrag the other, non-running partition. I did it to be able to make a clean and defragged image backup of the non-running partition. It worked fine! HTH... // Russ Bates // Redmond, WA, USA
participants (3)
-
Nicolas.Dubuit@jet.efda.org
-
Russ Bates
-
Örn Hansen