How to merge NTFS partitions on external drive?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
orange71
Level 1
Level 1
Posts: 31
Joined: Sat Aug 29, 2009 6:35 am

How to merge NTFS partitions on external drive?

Post by orange71 »

I have an external drive that's formatted as NTFS (ex-windows), where the lion's share (around 140Gb) is one partition (used to store documents/images etc.), but there's an annoying 8Gb separate (unused, but NTFS formatted) partition that's sitting at the end there. I can't seem to get the partition editor to merge the two partitions. Even deleting the partition, it won't let me stretch the big partiton over the empty space :(

Any ideas?
User avatar
lagagnon
Level 7
Level 7
Posts: 1879
Joined: Wed Jun 17, 2009 7:38 pm
Location: an island in the Pacific...

Re: How to merge NTFS partitions on external drive?

Post by lagagnon »

That's strange. Show us the output to "sudo fdisk -l" run in a terminal, and also if you can, a screenshot of gparted with those partitions showing.
orange71
Level 1
Level 1
Posts: 31
Joined: Sat Aug 29, 2009 6:35 am

Re: How to merge NTFS partitions on external drive?

Post by orange71 »

  • Disk /dev/sda: 40.0 GB, 40020664320 bytes
    255 heads, 63 sectors/track, 4865 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xa175a175

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 4660 37431418+ 83 Linux
    /dev/sda2 4661 4865 1646662+ 5 Extended
    /dev/sda5 4661 4865 1646631 82 Linux swap / Solaris

    Disk /dev/sdb: 123.5 GB, 123522416640 bytes
    255 heads, 63 sectors/track, 15017 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xa8baa8ba

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 15016 120615988+ 7 HPFS/NTFS
    /dev/sdb2 15017 15017 8032+ 7 HPFS/NTFS

    Disk /dev/sdc: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x6f1bdd8d

    Device Boot Start End Blocks Id System
    /dev/sdc1 1 18805 151051131 7 HPFS/NTFS
    /dev/sdc2 18806 19457 5237190 7 HPFS/NTFS
Here's a screenshot - wasn't quite right about sizes, but it's the principle. I put up the warning message too if that's worth knowing.

Image
User avatar
gees
Level 1
Level 1
Posts: 27
Joined: Sun Jul 05, 2009 2:19 pm

Re: How to merge NTFS partitions on external drive?

Post by gees »

Did you unmount the partition before trying to change them?
"The web was made for sharing ..."
orange71
Level 1
Level 1
Posts: 31
Joined: Sat Aug 29, 2009 6:35 am

Re: How to merge NTFS partitions on external drive?

Post by orange71 »

yes, that brought up the various resize/move etc options... but couldn't merge, unless I'm missing something obvious...

what steps would you normally take to do this?
User avatar
lagagnon
Level 7
Level 7
Posts: 1879
Joined: Wed Jun 17, 2009 7:38 pm
Location: an island in the Pacific...

Re: How to merge NTFS partitions on external drive?

Post by lagagnon »

/dev/sdc2 is still mounted as /media/disk (see the screenshot) . You must unmount all partitions you intend to work on.
nadir
Level 3
Level 3
Posts: 142
Joined: Fri Oct 02, 2009 2:25 pm

Re: How to merge NTFS partitions on external drive?

Post by nadir »

just some ideas:
you got an entry for /dev/sdc2 in /etc/fstab? if so i would remove it and try again.
you tried deleting both sdc1 and sdc2 (if you got enough space to backup data, if any)? Thats the way i would do it / i usually do it. But its berserk.
i just had a similar problem with ext3 partitions: one was a primar one and one a logical. That seems to have been the problem. For the life of me i couldnt get them merged.
with XP i once had to install ntfsprogs to get any further with gparted (but i for sure dont know what exactly it did or was good for).
greetings, good luck
Post Reply

Return to “Newbie Questions”