LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 12-27-2003, 10:09 PM   #1
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 438

Rep: Reputation: 30
Disk Compaction


I just got a laptop, and since I don't know how long it will take for me to get it configured properly, I'm leaving windows xp on it too. the catch is that I am resizing the partition. I defragged the drive, and then used qtparted on the knoppix disk. I have a 60gb drive and I would like to make the windows partition around 10gb. The problem is that I'm only able to resize the drive ntfs partition to about 30gb because windows places a contiguous file there for some reason (there doesn't appear to be any files after 3 gigabytes and before 30 gigabytes). So my question is there some sort of Disk Compaction utility that would allow me to move this contiguous file near the front of the partition? I would hate to have to waste 30gb on windows. Thanks for any help.

Last edited by oulevon; 12-27-2003 at 10:11 PM.
 
Old 12-28-2003, 06:09 AM   #2
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
ntfs drives can be compressed themselves, but I don't understand your problem. What is the size of your data on the windows partition?
 
Old 12-28-2003, 10:48 AM   #3
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 438

Original Poster
Rep: Reputation: 30
I don't need it to be compressed, I need it to be compacted. I have a 60gb harddrive with just windows at the beginning of it. For some reason, windows isn't contiguously installed at the front of the drive. Most of it is, but then there is a big hole (about 30 gb) and then there are a few more files. The files at the end are not fragmented, so when I try to defrag the drive, they are not moved. So if I try to resize the drive, I can only resize it to about 30, because the resizing tool (qtparted) thinks that the drive is fragmented because of that files installed around 30 gb in. So essentially I want to move all the windows files to the very front of the disk with no holes, so I'm not wasting any space when I resize it.
 
Old 12-28-2003, 05:31 PM   #4
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
maybe try partition magic?
 
Old 03-05-2004, 03:59 PM   #5
lcgillies
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
Another thing to try is to remove the Windows Paging File. Use Control Panel | System | Advanced | Performance Settings | Advanced | Virtual Memory | Change (under XP anyway!) and select the "no paging file" radio button---you will need to reboot for this to take effect. The paging file is often placed out far away from the normal run of files tha accumulate as you start to fill up a new machine. It is not movable, so the defragmenter does nothing with it.

What I've found after removing the paging file is that the defragmenter then goes into file compaction mode (even though it may tell you that you don't need to defrag---if you've already run this recently---just say yes anyway).

Be sure to set your paging file back on when you've finished reconfiguring the harddrive---it pretty critical for Windows performance.
 
Old 03-05-2004, 04:22 PM   #6
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 438

Original Poster
Rep: Reputation: 30
I solved the problem a couple months ago. I reformatted the whole drive with fdisk. Making a 10GB NTFS partition, and then I used the other 50 GB for my linux partitions. I then reinstalled Windows on the 10 GB partition and then installed linux on the linux partitions. Thanks for your suggestion though.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Error with Promise ultra133TX2 Controller and UDMA 120 GB Maxtor Disk samudhanar Linux - Hardware 3 06-13-2006 06:14 PM
disk to disk backup for debian/Mempis on bootable cd-- advice loninappleton Linux - Software 3 05-27-2005 01:00 AM
cloning disk using cp - no special devices for target disk vulture99 Linux - General 6 05-08-2005 05:36 PM
Creating an ISO from a Disk(Unreal Tournament 2003 Disk 2) Mustard010 Linux - General 15 11-12-2003 07:45 AM
Installing Slack using Boot Disk (root disk stalls!) guardian653 Slackware 3 10-07-2003 04:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 03:24 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