LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 09-15-2009, 10:30 PM   #1
StevenRosson
LQ Newbie
 
Registered: Sep 2009
Posts: 5

Rep: Reputation: 0
NTFS partition not resizing right: reads as two different sizes


I am trying to install Fedora or Ubuntu (both fail) on a desktop. It has been an XP Home box for a couple years and had a 155GB HD with about 130GB of stuff. I cleaned it up, defragged for three days, and then began an Ubuntu install.

First off, there was insufficient free space to install it, so I tried to shrink the NTFS partition. The output revealed bad sectors. So I rebooted and ran "chkdsk /f /r" in Windows, let it reboot itself, and it said it fixed the bad sectors.

I then booted onto the Ubuntu Live CD and ran ntfsresize with the -b switch. I resized to about 130GB so I'd have 25GB free (there is 109 GB of data on the NTFS partition and it was recently defragged, so shrinking down to 130GB shouldn't be a problem, right?)

Ntfsresize completed successfully and now tells me a new size. Ubuntu and Fedora, however, still do not allow me to install. They still see the partition as being its original 155GB or whatever it was. When I try to shrink from the install, I get the same message about bad sectors keeping ntfsresize from running.

I have booted with the GParted Live CD as well, and it also shows the original partition size before I shrank it.

Running fdisk -l shows me a list of my partitions but in "blocks" rather than sizes. I did "fdisk /dev/hda" and "w" to write that table to disk. Nothing changed. I also tried running the Windows Recovery Console and running "fixmbr" to see if that would change anything. It didn't.

You can probably tell I've done a ton of Google searching and troubleshooting on this: to no avail so far. The Windows drive still functions fine, all data is accessible, and "My Computer" even shows that C:\ is now around 130GB - the size I wanted it to end up at.

So why does Windows recognize that I resized the partition but Linux does not?

Any assistance will be greatly appreciated.
 
Old 09-15-2009, 10:33 PM   #2
StevenRosson
LQ Newbie
 
Registered: Sep 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Also, GParted Live CD will not allow me to resize the NTFS partition either. It says that it cannot read the contents of the drive, so it won't even tell me how much space is used on it. It did allow me to delete my other NTFS partition (RECOVERY) but the main one cannot be mounted or anything.
 
Old 09-16-2009, 03:55 AM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 13,477

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
Quote:
so I tried to shrink the NTFS partition
that dose not always work , as you have found out

REINSTALL windows XP and import your NOW LOST data from your back-ups
You DID make back up RIGHT ???
 
Old 09-17-2009, 12:16 AM   #4
StevenRosson
LQ Newbie
 
Registered: Sep 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by StevenRosson View Post
The Windows drive still functions fine, all data is accessible, and "My Computer" even shows that C:\ is now around 130GB - the size I wanted it to end up at.
Everything is still operational. I want this partition to shrink!
 
Old 09-17-2009, 12:58 AM   #5
John VV
Guru
 
Registered: Aug 2005
Posts: 13,477

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
in xp then remove about 30 gig's of data , then defrag again and use xp's built in partition editor to resize it ( or gparted )

but MAKE a back up of ALL IMPORTANT data FIRST
resizing a partition may or might not work correctly . even if YOU do EVERYTHING 100% correct
 
Old 09-18-2009, 12:45 AM   #6
StevenRosson
LQ Newbie
 
Registered: Sep 2009
Posts: 5

Original Poster
Rep: Reputation: 0
I've already removed a bunch of data (enough so that I should have at least 10-15 GB of free space after the drive shrinks) and defragged. Windows Disk Defragmenter analysis tells me the drive is only a few percent fragmented and doesn't need anymore defragging.

Also XP doesn't have a built-in partition editor. My only option, it seems, is something like Gparted, which does not work per the errors above.
 
  


Reply

Tags
ntfs, partitions


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
Solution: Resizing a NTFS partition. PureRumble Linux - Software 12 04-03-2007 02:45 PM
I Need Help Resizing NTFS partition fatenabu Linux - Distributions 1 12-04-2005 02:47 AM
Linux reads NTFS partition, WinNT can't. WHY? JZL240I-U Linux - Software 12 02-18-2005 07:54 AM
Safely resizing NTFS partition jnsg Linux - General 9 01-13-2005 12:35 AM
NTFS Partition Resizing darkangel Linux - General 13 08-04-2002 01:38 AM


All times are GMT -5. The time now is 11:23 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration