LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-31-2004, 10:00 AM   #1
overthinker
LQ Newbie
 
Registered: Dec 2004
Location: new york
Posts: 6

Rep: Reputation: 0
Increasing Size of Primary Windows Partition Using Parted


(I posted this in "software' 12 hours ago which was the wrong forum. I announced to them that I was redirecting it here. So I hope it is not viewed as a double post.)

Hi everybody,
This is my first post, and before my question, let me say as a 27-year-old New Yorker, I hope for next year as fair and just for people worldwide in all countries. I will do my small part. Maybe free software/open source plays a big big part. That would be great.
If anybody would be kind enough to quickly educate me about partitioning with Parted, I'd appreciate the knowledge! After years partitioning is one concept that just isn't sinking in like most. I have a question and would like to solve it with Parted, if possible. But I'm missing something about partitioning.

What I don't understand,
Using Parted from a Knoppix CD on a Windows-only machine with unallocated space, the primary partition (C drive) could not be increased but the extended partition (D and E drives) could.

Details:
The Windows 2000 desktop has one NTFS hard drive. At the beginning is the 3GB C drive (3GB primary partition), in the middle are the 3GB D and 3GB E drives (6GB extended partition) and at the end is 1GB of unallocated space.
And for the life of me I cannot understand why *anybody* still has Windows...
Nah seriously, the primary partition had to be increased, so I threw in a Knoppix 3.6 CD and loaded Qtparted. I was only able to add the 1GB of unallocated space to the extended partition (D or E). I was unable to use the 1GB of unallocated space for the primary partition (C).

My questions (all the same basically):
1) This normal?
2) Or I just don't know the right command? (tried Parted too couldn't figure it out)
3) Maybe I cannot use Parted or any program (to get the unallocated 1GB space all the way across without deleting the extended partition in the middle)?
 
Old 12-31-2004, 10:44 AM   #2
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
Simple answer to this one I think:

NTFS drives cannot be resized... at all... ever... (AFAIK)
 
Old 12-31-2004, 11:55 AM   #3
overthinker
LQ Newbie
 
Registered: Dec 2004
Location: new york
Posts: 6

Original Poster
Rep: Reputation: 0
QTParted gained the capability to resize NTFS partitions recently.
My lettering scheme was bad. I should have named the partitions 1, 2 and 3 rather than C, D and E.
The primary partition is #1. The extended partition includes #2 and #3.
I booted from a Knoppix CD and shrunk #3 using QTParted. I restarted the machine in Windows and saw the resize took effect.
I booted from the Knoppix CD again. Using QTParted, I right-clicked on #2 and #3 and QTParted allowed me to add unallocated hard drive space to them (the extended partition). I right-clicked on #1 but it was not allowing me to add unallocated space to it. Nor could I shrink #1.
It seems like my extended partition is resizeable and my primary partition is not. This normal?
 
Old 12-31-2004, 12:04 PM   #4
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
From http://www.mepis.org/node/view/796 applies to FAT, but it might apply to NTFS as well.

Quote:
Run a complete defrag. If you have system restore enabled in WinXP, you will not be able to resize. System restore puts a locked file on the harddrive that can't be moved. In WinXP, in the defrag window, there will be a band off by itself to the right. If this doesn't move during defrag, then system restore is enabled. The only way to get around it that I know of is to uninstall winxp, then reinstall it and then resize the partition before installing any drivers. Even if you turn off system restore, the locked file remains if it is present.
 
Old 12-31-2004, 01:57 PM   #5
overthinker
LQ Newbie
 
Registered: Dec 2004
Location: new york
Posts: 6

Original Poster
Rep: Reputation: 0
In this case, I used Windows Disk Defragmenter across the entire drive, each partition separately, before using QTParted.
It is Windows 2000 without any restore programs like System Restore or GoBack.

Last edited by overthinker; 12-31-2004 at 01:59 PM.
 
Old 12-31-2004, 03:44 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Assuming that the starting position of the extended partition has not changed there isn't any room to resize the c: drive. You will need to move the staring position of the extended partition. This will leave some unallocated space inbetween the c: drive and the extended partition. Have never used QTparted nor have attempted to resize an NTFS partition so I do not know how well it works.

The notes say the qtparted requires mkntfs and ntfsresize (linux-ntfs).
 
Old 01-01-2005, 09:56 AM   #7
overthinker
LQ Newbie
 
Registered: Dec 2004
Location: new york
Posts: 6

Original Poster
Rep: Reputation: 0
I shrunk #2 but moved the ending position.
The free space went between #2 and #3 rather than between #1 and #2, where I wanted it to.
So I could not increase #1.
I'll read the Parted manual soon what command can move the starting position of a partition.
This is not a priority during this busy work week for me so I'll figure it out next week.
I'll post back.
Thanks for the boost.
 
  


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
increasing partition size Don Powell Linux - Hardware 3 06-23-2005 09:14 AM
FC3 root partition size not increasing abhigo Fedora 6 01-29-2005 11:33 AM
Increasing Size of Primary Windows Partition Using Parted overthinker Linux - Software 2 12-31-2004 12:49 PM
Increasing partition size?? petey *BSD 5 04-25-2002 07:24 AM
Increasing Partition Size? petey Linux - General 1 04-24-2002 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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