Expanding NTFS partition on a dual-boot

Asked by Rusty

I'm dual-booting Vista & Ubuntu 10.10 and would like to expand the NTFS partition after installing a new larger hard drive. I have gparted installed along with ntfsprogs. After imaging my drives back from my backup via Seagate's DiskWizard, I am unable to resize the NTFS partition of the drive. Vista is installed in the first partition. I'm not sure if that is going to restrict me from resizing the partition.??? Of course, Ubuntu is installed on the latter partition of the new drive. I have no problems enlarging that portion. There is over 300GB of free/unpartitioned space on the new drive.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gparted Edit question
Assignee:
No assignee Edit question
Solved by:
Rusty
Solved:
Last query:
Last reply:
Revision history for this message
John Shortland (jshortland) said :
#1

Is the free space after your NTFS partition or after your Ubuntu partition. If the free space is at the end of the drive (after Ubuntu) you'll have to move the Ubuntu partition to the end and then re-size the NTFS one to use all the space in between. If the free space is between them all ready you could try running chkdsk from the command line in windows (or from the windows install CD) and then attempt to re-size the partition again.

Revision history for this message
Rusty (rustylong) said :
#2

John - The free space is after the Ubuntu partition. I'll try to move it toward the end and see if the NTFS will let me resize it. I'll let you know the outcome. It will probably be sometimes tomorrow before I get the chance to do anything.

Revision history for this message
John Shortland (jshortland) said :
#3

Rusty - Takes time but is fairly simple process. I've had to do this several times, so I'd imagine this should solve your problem. Update us when you can anyway.

Revision history for this message
Rusty (rustylong) said :
#4

John - gparted wouldn't allow me to resized the "Free Size Preceding" on the Ubuntu partition.

Revision history for this message
Rusty (rustylong) said :
#5

GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA ST95005620AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
 1 1049kB 43.6GB 43.6GB primary ntfs boot
 2 43.6GB 120GB 76.5GB extended
 5 43.6GB 117GB 73.3GB logical ext4
 6 117GB 120GB 3160MB logical linux-swap(v1)

Revision history for this message
John Shortland (jshortland) said :
#6

Did you resize both the Logical EXT4 partition and the Extended Partition?

Revision history for this message
delance (olivier-delance) said :
#7

When I look at partition table, I see free space after extended partition. So I have same question as John.
Extend Extended Parittion before extending partitions inside this one.

Revision history for this message
Rusty (rustylong) said :
#8

I have 353GB of unallocated disk space that didn't show up in the report I ran above.

Revision history for this message
delance (olivier-delance) said :
#9

Could you expand sda2 (extended partition) so it uses space free at end of disk.
Free space is not reported as it is not allocated in a partition.

Revision history for this message
Rusty (rustylong) said :
#10

Delance - I am unable to expand the sda2 so that it uses free space at the end of the disk. I guess I'll just have to reinstall Vista and then reinstall Ubuntu afterwards in order to set the partitions up the way I'd like. I want to allocate 100GB to Vista and the remaining disk space (400GB) to Ubuntu.

Revision history for this message
delance (olivier-delance) said :
#11

Disk /dev/sda: 500GB
 1 1049kB 43.6GB 43.6GB primary ntfs boot
 2 43.6GB 120GB 76.5GB extended

When I see your partition table, I see sda2 stops at 120GB, so space from 120GB to 500GB should be free. Could you provide new partition table if data are obsolescent.

Revision history for this message
Rusty (rustylong) said :
#12

I just formatted the drive again and did a new install of Ubuntu. I partitioned the last 100GB of the drive as an NTFS for Vista. Thanks for the advice.