2

I have a dual boot system and I'm finally ready to remove my training wheels. Its time to say adieu to Windows, I have creates an ISO of my whole drive in case things go wrong and I intent to use GParted from within my Ubuntu system to simply delete every Windows related partition on the SSD (a separate drive) and then I wish to move Ubuntu to the newly freed drive and give it the drive it currently resides on as additional storage.

My question is that because I gave Windows additional storage on the drive my Ubuntu system is currently installed on I am unaware which partitions belong to to Windows and which belong to Ubuntu. So to clarify sda is all Windows and is no problem I'll delete it but sdb contains some partitions I am not certain on. These are some GParted screenshots

Windows

enter image description here

sbd containing both my Ubuntu install and some Windows storage

enter image description here

SO from the above screenshots my question is are sdb2 and sdb3 windows or Ubuntu?

thanks

nrmad
  • 143

2 Answers2

1

I suggest to back up your Linux files and go for a fresh Ubuntu install. You can use timeshift or a similar app, or even rsync to back up your files.

Boot into a live session and choose Erase disk and install Ubuntu or Something else if you wish to include an extra level of precaution, in this case you should know how to set the partitions and mount points and how much size to allocate.

If you wish to manually partition your disk, please refer to this article for the various options.

Follow the instructions. Once the install is complete, you can restore your backed-up files to their respectful partitions.

1

SO from the above screenshots my question is are sdb2 and sdb3 windows or Ubuntu?

  • sdb2 is an NTFS partition, so it is likely used by Windows but it might be also used for shared data between Windows and Ubuntu (you as the user should know…).
  • sdb3 is an EFI partition, just like sda2. This is where operating systems store their boot data but in your case, sda2 seems to be used as it’s mounted as /boot/efi.
  • sdb4 is your only ext4 partition, so it is most likely your Ubuntu filesystem (undivided), containing all your Ubuntu data.
  • sdb5 is a swap partition used by Ubuntu but it only contains useful data during runtime. After you turn off Ubuntu, it can be wiped safely.

If your Ubuntu OS is working well, you can keep the data of your sdb4 partition (unlike Raffles recommends), expand it to the whole drive (while keeping the EFI partition and perhaps the swap) and continue using it. However, this is a more complicated procedure (see How do I remove Windows but keep Ubuntu?) than just wiping everything and doing a complete reinstall.

Melebius
  • 11,750