LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 09: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, 09: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, 02:55 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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-16-2009, 11:16 PM   #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-16-2009, 11:58 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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-17-2009, 11:45 PM   #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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:10 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
Open Source Consulting | Domain Registration