-1

Two weeks ago i installed Lubuntu for test purpose as dual boot. It installed GRUB as boot loader, but now i want to remove lubuntu from my disk, but i cannot find the linux partition. This is what i see:

Only C:/ partition

So now i don't know how to delete lubuntu

Update:

This is what i have using gparted:

gparted

josmanuel
  • 129
  • Windows does not recognize Ubuntu (Lubuntu) partitions. So Windows can't show you what it can't see. Use the live installation USB and try Lubuntu option to see the Lubuntu partition. – user68186 Apr 21 '21 at 19:11
  • As above but what you're showing only has Windows partitions. Possibly you installed Lubuntu in an external drive that wasn't connected when you took that screeshot? If not how exactly did you install Lubuntu? – ChanganAuto Apr 21 '21 at 19:39
  • I installed Lubuntu in a USB and installed it. I selected "Install Lubuntu alongside Windows Boot Manager" instead of custom install. If it doesn't show Lubuntu partition, what can i do so i can delete it? – josmanuel Apr 21 '21 at 20:17
  • Make sure Lubuntu is not involved in the booting of your system, if it is and you remove it, you'll find you've lost access to boot into your windows as well. You didn't give release details on Lubuntu so tools differ, but I'd be using windows tools myself (given that's what you're keeping, but windows is off-topic here) – guiverc Apr 21 '21 at 22:37
  • I installed Lubuntu in a USB and installed it is actually meaningless, everybody does that. How was it installed is what I asked and the "install alongside" doesn't do it either. But you must have been informed where Lubuntu would have been installed. Did you had an additional (external) drive during installation that wasn't connected when you took that screenshot? Again, there Windows partitions ONLY. Lubuntu was never installed in the drive you're showing us, period. – ChanganAuto Apr 21 '21 at 23:20

1 Answers1

2

2 Ways:

  1. You boot from a live cd/usb, on your desk you search the programm gparted and open it, you should see something like this: enter image description here here you see many partitions I don't know how you setup your Lubuntu, but in most cases it is enough to delete the ext4 partition and the linux-swap. After that you can resize to maximum your Windows(NTFS) partiton.

Image source: https://superuser.com/questions/1474987/how-do-i-fix-the-partitions-and-dual-boot-with-windows-10-ubuntu-19-04

  1. in your windows you should have a partition manager, there you delete all partitions who aren't needed. This way may unnecessary complicated.

In your explorer Linux aren't showed because of the missing ext driver. You could say Windows won't support Linux.

lucki1000
  • 134
  • So what are the steps should i follow to completely delete Lubuntu? – josmanuel Apr 21 '21 at 20:20
  • I updated my answer is it now clearer? – lucki1000 Apr 21 '21 at 21:11
  • @thestuckboy Please do as instructed in #1 then edit your question and add a screenshot of Gparted. And again, check for other drives. This whole thing without an additional drive that you aren't showing being involved in the process is totally nonsensical. – ChanganAuto Apr 21 '21 at 23:23
  • @ChanganAuto i edited the question – josmanuel Apr 22 '21 at 00:12
  • @thestuckboy Now it makes sense although it doesn't match with the Windows screenshot. sda5 and sda6 are logical partitions inside the extended sd4 (the logical one need to be deleted before the extended). Please follow the instructions in the link of the first comment under the question carefully. Because you have a Legacy/BIOS installation it's not a simple matter of deleting partitions, you must have the Windows installation USB and reinstall the Windows bootloader. – ChanganAuto Apr 22 '21 at 01:33
  • So this is the first thing i should do:

    1.-Delete extended sda4 partition 2.-Delete sda5 and sda6 partition

    am i wrong? what is suppose to happen if i delete those partitions?

    – josmanuel Apr 22 '21 at 04:33
  • @thestuckboy after that you successfully remove Lubuntu from your disk – lucki1000 Apr 22 '21 at 15:01
  • Now i got two new questions:

    1-After i delete Lubuntu, do i still have the grub? 2-If yes, i suppose i can still load Windows...? 3-If i want to delete GRUB from my PC, do i have to use a Windows 10 iso to recover the windows boot?

    – josmanuel Apr 22 '21 at 16:30
  • Yes, you still have Grub, cause Grub was installed in MBR, you need to overwrite your MBR with the Windows iso, as you say. – lucki1000 Apr 22 '21 at 16:37
  • So what if i just want to delete lubuntu, and have another Ubuntu based distro like Linux Mint? Sorry for making so many questions the things is i'm really noob at this:( – josmanuel Apr 22 '21 at 16:43
  • Then you must delete nothing manually, you boot up mint run the installer and use /dev/sda5 as / (this step deletes Lubuntu and installs mint) – lucki1000 Apr 22 '21 at 16:52