0

I'm really new to Linux in general. So I had installed Ubuntu on one of the partitions in my HDD while keeping Windows 10 on the SSD (single partition). Today I went to install Ubuntu on the SSD in a separate partition, before which, I followed this guide to remove it from the HDD.

The first block of (D:) disk in the image was the one having Ubuntu on it. I deleted it & extended the next block of (D:) disk to take up the unallocated space.

enter image description here

I can see the (D:) disk as a single partition in the windows explorer-

enter image description here

However, I still get the earlier Ubuntu option in the Boot menu. And in newly installed Ubuntu (on SSD), I see the entire HDD with following contents-

enter image description here

What went wrong in removing the OS? How do I fix it?

2
  • 1
    The boot menu is called a boot loader. It loads before Ubuntu or Windows or any operating system loads. Part of the boot loader resides in a special partition called EFI System Partition, or ESP in short. See Part 1: Remove Ubuntu entry from the EFI partition in the internal disk for an answer to a similar problem. Also see the question and answer linked above.
    – user68186
    May 18, 2021 at 15:18
  • 4
    You have Windows dynamic partitions. That is proprietary to Microsoft and is not related nor does not work with Linux. Typically not required now that Windows in UEFI mode uses gpt partitioning. It was a work around for the 4 primary partition limit with MBR partitioning instead of the more common primary, extended & logical partitions. askubuntu.com/questions/482768/… & ubuntuforums.org/…
    – oldfred
    May 18, 2021 at 15:19

1 Answer 1

1

You probably installed the new Ubuntu on the SSD before removing the old one. Upon installation, GRUB is installed. It checks what operating systems exist on the system. Since your old Ubuntu was still there, it was also included in the GRUB menu.

Boot into your Ubuntu session, and run the command sudo update-grub. The existing kernels and other operating systems will be probed, resulting in an updated boot menu.

That you still may see the files of the old install is apparently related to the fact that this disk uses Windows dynamic partitions. I would not touch that drive using Linux tools. Deleting that partition from within linux probably would delete it effectively, but may damage the dynamic partitioning.

1
  • The issue has been resolved. But I don't know why the Windows file explorer never shows the SSD partition running Ubuntu (see the image in the question). Is it normal? May 19, 2021 at 3:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .