Thread: How to combine two partitions into one

  1. #1
    Registered User Swarvy's Avatar
    Join Date
    Apr 2008
    Location
    United Kingdom
    Posts
    195

    How to combine two partitions into one

    I was wondering how you would combine two partitions into one. I don't like having a partition on my hard drive. Do you need special software to do it?

  2. #2
    There is very basic disk management options under Control Panel->Admin Tools->Computer Management->Disk Management.

    If you delete one partition, it may be able to reclaim the unused space into your primary partition (I can't recall for sure). Normally I use Partition Magic, which is generally a very good piece of software. There are other partition managers out there however, some of them even freeware.
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  3. #3
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    I'd make a GParted live-cd... comes in handy. Delete the partition you don't want and resize the one you do want. I'm not sure if you can 'merge' partitions.

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Windows partitioning software can't be trusted. Use it and partitionmagic will complain about a thousand things next time you use it.
    I do not recommend Windows partitioning.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,732
    Yes, deleting a partition can be done to combine, but what happenes if that partition has some data in it. It is, to me movd to a different partition and then delete it and then combine it back again?

    ssharish

  6. #6
    Just get Partition Magic if you have any type of even remotely serious repartitioning to do. It can combine two partitions and many other useful things.
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  7. #7
    Cogito Ergo Sum
    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    463
    If you got Windows Vista you can do it with the inbuilt disk management utility.

    Start->Computer->Right Click->Manage
    =========================================
    Everytime you segfault, you murder some part of the world

  8. #8
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Follow lightatdawn's advice instead. Vista is also very crappy at handling partitions. It will also screw up your disks.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  9. #9
    Cogito Ergo Sum
    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    463
    Quote Originally Posted by Elysia View Post
    Follow lightatdawn's advice instead. Vista is also very crappy at handling partitions. It will also screw up your disks.
    I've used it several times with no problems.
    =========================================
    Everytime you segfault, you murder some part of the world

  10. #10
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Try using PartitionMagic or some other software afterwards. It screws it all up horribly. It may work, but that doesn't mean it's right.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  11. #11
    Cogito Ergo Sum
    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    463
    Ah well, I haven't used anything afterwards. It's probably that Vista writes something into the disk when it partitions it, probably a few KB and Partition Magic probably doesn't know how to deal with that.
    =========================================
    Everytime you segfault, you murder some part of the world

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Combine 3 files in C
    By Leyla_ in forum C Programming
    Replies: 2
    Last Post: 03-21-2009, 03:38 AM
  2. how to combine these working parts??
    By transgalactic2 in forum C Programming
    Replies: 0
    Last Post: 02-01-2009, 08:19 AM
  3. Using OR operator to combine two chunks of bits?
    By yougene in forum C Programming
    Replies: 5
    Last Post: 12-22-2008, 09:54 PM
  4. Splitting NTFS Partitions...
    By Grayson_Peddie in forum Tech Board
    Replies: 12
    Last Post: 02-20-2004, 12:24 AM
  5. Replies: 5
    Last Post: 09-28-2003, 10:22 AM