Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My current windows installation got screwed but the files are fine. I want to install a new windows on a new partition. I thought about leaving 0 bytes free in the current installation partition and creating a new partition on the remaining space using Ubuntu live cd.
My problems are:

  1. Is it ok to leave 0 bytes free in the partition if I will never boot it again, only copy files off it?
  2. Even if its ok, will gparted shrink it to 0 bytes free without defrag? if it won't, how can I defrag it without booting windows?
share|improve this question
add comment

1 Answer

It's never a good idea to leave zero bytes free. Even accessing files on some filesystems will increment internal counters in the file system table, or change file access times.

If you really cannot transfer your files to another drive, consider making a new partition, moving your files to the new partition, and re-installing your operating system on the initial partition. Then, move your files back to the initial partition, and re-size it to use the full drive again.

If you have too many files to move, you might have to do some mid-step resizing (e.g. transfer half of the files to the new partition, resize the initial one smaller, make the new one bigger, and so on and so fourth). In any case, it would be really ideal to have a second drive in your system (especially for data contingency reasons).

share|improve this answer
    
My problem is I interrupted a gparted operation which caused this mess. accessing some files causes a blue screen so I think copying all of them is not an option, I don't even think Ubuntu can handle that. –  Dani Jul 22 '11 at 15:57
1  
@Dani then post what actually happened rather then what you think the solution is. When you say your Windows installation "is screwed", I assumed that you got a virus, system files were corrupted, etc. You mean the filesystem is corrupted (which, in turn, corrupted everything else). –  Breakthrough Jul 22 '11 at 16:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.