Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-20-2001, 02:30 AM   #1
LQ Newbie
Registered: Sep 2001
Posts: 1

Rep: Reputation: 0
Question defragmenting

I'm trying to install Linux on my computer which already runs Windows Me. I have a 14 Gb harddrive that is 7 Gb full. I want to have Linux partitions on the remaining 7 Gb. Sounds pretty simple, but when I defragment to move all my files to the front of the Windows partition, there is this one file that is left at the end of the partition that can't be moved. I read that hidden/system/read-only files can't be moved, so I took of all the hidden/system/read-only attributes that I could but some files won't allow me to change their attributes. And I also read that files in use by the system can't be moved either. So this one file at the end of the partition that is either a file in use or a hid/sys/r-o is preventing me from having a Linux partition and is really pissing me the @!#$ off. I don't want to have to reinstall Windows and go through all that back-up stuff, but I want Linux on my machine. Someone PLEASE help.
Old 09-20-2001, 10:42 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
you should try using partition magic. it should be able to setup a partition scheme on what you want and not destroy any files already that you may have... but its always good to keep backups just in case...
Old 09-21-2001, 09:25 AM   #3
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Windows is viewing the entire drive as one partition at the moment, tricykid has the right idea, you need to create a _new_ partition for linux and partition magic is possibly the _best_ tool for the job. I use it myself even though I don't have windows on my computer. With your spare 7g you should make two linux partitions, one for root and one for swap. Make the swap double your RAM. With PM the partitions will be "linux native" (ex2). When you do the linux install look for an option to use reiserFS or ex3 for the file system, much more advanced than fat*, ntfs or ex3.
Old 09-21-2001, 05:31 PM   #4
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
What otaku9876 is saying is that prior to shrinking the Windows partition, he/she is trying to defrag, but one of the files at the end of the Win partition can't be moved. This can prevent some non-destructive partition managers from shinking the Win part.

Otaku9876- when trying to change attributes, do it from a "pure DOS" command line. In other words, don't do it from the file's "Properties" window, or from a DOS mode started from Windows.
If the file in question can't be moved because it is in use, boot from a utility disk and run the defrag from there.
Old 09-24-2001, 03:38 PM   #5
LQ Newbie
Registered: Sep 2001
Location: Brazil
Distribution: Rh9
Posts: 7

Rep: Reputation: 0
I've used partition magic, (installed in Windows98) to resize an create new partitions to install Linux without defragmenting. No data Loss! Try this!


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
defragmenting and Ext2fs masand Linux - Software 10 08-23-2004 02:53 AM
defragmenting ttilt Linux - Software 11 12-28-2003 08:34 AM
Defragmenting in linux? wiggywag Mandriva 7 11-25-2003 12:22 AM
Defragmenting cucolin@ Linux - Software 2 11-25-2003 12:10 AM
Defragmenting files.. udayan Programming 2 07-19-2002 08:15 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration