I want to merge two system partitions with the same directory...

_thedemiurge

Prominent
Jan 28, 2018
5
0
510
Hello everyone,

I am a student developer that is learning Java and I figured I would turn my computer into a dual boot; using the existing Windows operating system for fun and games and Ubuntu exclusively for web development.

Unfortunately, when I tried to partition some space for Linux, I some how ended up splitting my C: drive into two separate partitions with the same "C:" drive designation. These are two different spots in my disk management utility that both have the C: designation, but otherwise have the same directory when clicking into it. Here is a photo: https://imgur.com/a/GGmc5

I have used Windows Disk Management, EaseUS Partition Master, and now I am trying to use Gparted. I already have the bootable USB for Gparted, but when I look at the partitions, it seems to only recognise the data and not the partitions that Windows has set up.

I have important work on this computer and I don't have money for an additional drive to backup all the data. Can someone help me merge the two spots on the disk?
 
Solution


OK, yes. There are some 3rd party GUI wrappers on powershell or CMD.
But if you're going to be a developer, AND use Linux...you really need to investigate and embrace the commandline.

USAFRet

Titan
Moderator


First, reboot the system and see if that C designation (or any drive letter) still holds on the 1.5GB partition.

If it does, then remove that drive letter from the 1.5GB partition.
Leaving the 98.5GB partition as the actual C.

Assuming that works, leave that 1.5GB partition alone.


And this is why you ALWAYS need a backup. Especially when messing about with partitions and building up a dualboot.
Starving student or not.
 

_thedemiurge

Prominent
Jan 28, 2018
5
0
510


When I highlight the 1.5GB partition, both the 98.50GB partition and the 1.5GB partition are highlighted. The "extend partition" option is available, but it will only let me extend the partition from the right of the 1.50GB allocated space.
 

USAFRet

Titan
Moderator


Don't extend or merge anything.

If you go through diskpart, does it still show that 1.5GB partition?
Don't DO anything with it...just to see if it appears.
 

_thedemiurge

Prominent
Jan 28, 2018
5
0
510


I didn't do anything. Diskpart? What is that?

I hit "RUN" in the start menu and typed in "diskpart." I have a command window that says DISKPART> _

What do I do now?
 

USAFRet

Titan
Moderator


diskpart is a commandline tool to manage drives, volumes, partitions, etc.
Very powerful, and very, very dangerous if you get it wrong.

Read this, in depth.
Sleep on it.
Read it again tomorrow.
Get a basic understanding of how the commandline thing works.

I'm not going to give you just a set of clicky keystrokes to enter...I want you to understand what it does, and why it does it.
 

_thedemiurge

Prominent
Jan 28, 2018
5
0
510


There's no GUI for this?
 

USAFRet

Titan
Moderator


No.
 

_thedemiurge

Prominent
Jan 28, 2018
5
0
510


http://www.alexcomputerbubble.com/diskpart-gui-update/

I will read up on your link anyway. I don't think this is normal...
 

USAFRet

Titan
Moderator


OK, yes. There are some 3rd party GUI wrappers on powershell or CMD.
But if you're going to be a developer, AND use Linux...you really need to investigate and embrace the commandline.
 
Solution

unclebun

Honorable
Mar 28, 2014
214
0
10,860
In looking at your disk management screenshot, I think you only have one partition with the drive letter C:, of 100GB. It's just that you somehow managed to put it on the drive with a 300GB unallocated space in the middle of it. Have you tried extending the 98.5GB part with the unallocated 300Gb space?
 

RealBeast

Titan
Moderator
Um, ya, if you really want to be a developer and learn anything get used to command line windows and Linux, simple stuff that should become quite simple to you very quickly.

My daughter was writing Java programs in grade school, which I guess is why she's a PhD with IBM consulting now -- you must challenge yourself and spend gaming time on learning new stuff.

Good luck.