Hi - I wanted to ask questions here - about uninstallation


Jul 24, 2021
Reaction score
Hi - I would like to know about this way - what optimal ways there are Linux types such as e.g. Deleting Manjaro and Mageia8 neatly and cleanly without leaving traces of Grub entries / traces.
I do this - because I don't know any better - with a Windows11 stick and flatten the local partitions.
But I don't know the grub commands you need to clean the bootloader

who helps me?

there were about a year ago reports of issues with grub customizer with manjaro
Hmm... Yeah, don't do that... Whelp... if they broke anything I can probably get 'em up and running again. Effin' Manjaro... Looks like they have some weird grub configuration(s) and this can break them. Though it *might* be working as of at least January of this year, from what I saw as I skimmed some links.

They're going to want to remove the entries manually, otherwise. That's reasonably safe. Just backup and remember to run 'update-grub' as a privileged user and they should be okay restoring grub if something goes amiss. That should be well documented somewhere.
[endruschat@localhost bin]$ sudo dnf install grub-customizer
[sudo] Passwort für endruschat:
endruschat ist nicht in der sudoers-Datei. Dieser Vorfall wird gemeldet.
[endruschat@localhost bin]$

I'm in Mageia8 & get this message & unfortunately don't know what to do, the command is above, thanks
Are you using Manjaro or Mageia? If you're using Manjaro, our esteemed @captain-sensible has informed us that using grub-customizer is a bad idea.

I did some reading when he shared that and I'd presume it's a bad idea even if you're dual booting and you're currently booted to some other distro besides Manjaro. As you're using Mageia, a distro derived from Manjaro, it'd be unwise to ignore the sage advice given by the Captain above.
I understand then I'd rather not install the grub customizer for mageia8? Actually, I'm more looking for reliable methods, such as deleting manjaro first and then mageia8. Is there a software for windows 11? that would be useful for example-if i downloaded mageia9 via windows11 and reinstalled via usb
There are two things to care about: bootloaders and grub.

Bootloaders are programs that the EFI delegates in order to load operating systems. GRUB is one of the Linux bootloaders, but you can have plenty of others in your computer; in modern computers they are usually copied into an EFI partition that is small and formatted as FAT32. Windows will have its own bootloader, and what GRUB does is to give control to it. GRUB doesn't know how to load Windows.

Each bootable operating system has its own bootloader. When you configure a Linux bootloader as the first one (let's call it your main Linux installation), if you have configured it to scan for others, it will present you a menu to choose a Linux Kernel (of the many you have installed and preserved in your main installation), and other operating system options.

So, back to your questions:
  1. Windows 10/11 won't natively help you clean the bootloaders of missing Linux installations. You need to use other tools that may have changed since last time I checked, so better use your search engine of choice. If you want to remove all Linux installations and remain with Windows, what you would do would be to: (i) back up everything because if you make mistakes you'd end up with an empty computer (ii) get into EFI / BIOS, (iii) select as the EFI's first boot option the Windows Bootloader, and reboot your computer. (iv) You shall not see GRUB. Once into Windows, (v) delete Linux partitions to get back your storage space, and then (vi) use some other tool to delete the bootloaders from the EFI.
  2. If, otherwise, you want to keep only a Linux installation: (i) back up everthing, again (ii) get into EFI/ BIOS and make sure you are booting to the right GRUB by default. You'll know because the title will talk about your main distribution. (iii) make sure you have identified all your partitions from your main Linux installation (iv) Run efibootmgr to delete all other bootloaders, including windows (v) delete any unused partitions
efibootmgr is a program that helps you see all the computers' boot options, which one is the default, their order, and manipulate them (e.g., delete entries).

I won't post the sequence of commands you should use because you must make sure you end up with a sequence of operations to serve your purposes, and this is rather a delicate thing to do. Rather, just check if your system has the tool, and if it finds anything --it will validate the process as it will tell you that your system has EFI and all the concepts related:

[l:0, a:0] ~  efibootmgr
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,001A,001B,001C,001D,001E,001F,0020,0021,0011,0023,0022,0028
Boot0000* Fedora
Boot0010  ThinkShield secure wipe
Boot0012  Setup
Boot0013  Boot Menu
Boot0014  Diagnostic Splash Screen
Boot0015  Lenovo Diagnostics
Boot0016  Regulatory Information
Boot0017  Startup Interrupt Menu
Boot0018  Rescue and Recovery
Boot0019  MEBx Hot Key
Boot001A* USB CD
Boot001B* USB FDD
Boot001C* NVMe0
Boot001D* NVMe1
Boot001E* ATA HDD0
Boot001F* ATA HDD1
Boot0020* USB HDD
Boot0021* PXE BOOT
Boot0022  Other CD
Boot0023  Other HDD
Boot0025* IDER BOOT Floppy
Boot0026* ATA HDD
Boot0027* ATAPI CD
As you can see:
  • my first and default bootloader is Fedora, which means it will defer to GRUB (it could be systemd-boot, but not this time, Lennart, not this time). Grub won't present any Windows options, as I don't have it.
  • the program also gives me a very valuable piece of information, and it's in the first line of its output: what EFI bootloader led me to the active operating system. Thanks to that, I know that the bootloader for this Linux installation is BootCurrent: 0000 ---> 0000 --> Boot0000 --> the one labelled as Fedora. If I want to keep my current OS, Fedora 36 in this case, I should never delete the mentioned entry.
If I had Windows, you'd see something like the following:
[l:0, a:0] ~  efibootmgr
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0000,0001,001A,001B,001C,001D,001E,001F,0020,0021,0011,0023,0022,0028
Boot0000* Fedora
Boot0001* Windows
Boot0010  ThinkShield secure wipe
Boot0012  Setup
Boot0013  Boot Menu
In that case, GRUB would be presenting me with a Windows option. The moment you'd delete Windows bootloader and refresh GRUB configuration according to your distribution's instructions, GRUB would be clean.

I hope this gives a bit of clarity. But you'll need to read and try, and make backups and mistakes, by yourself.

A last warning: only manipulate operating sytems' entries recognisable by you. You should never tinker with anything else. In my example, nothing from Boot0010 onwards is for us to tinker with, as doing the wrong thing could have unpredictable and harmful consequences to the EFI, other firmware, your machine's warranty or serviceability,... only touch what you know!
Last edited:
so I don't want to delete windows11 in any case - in windows11 I can maybe search for a grub tool if I read it correctly?
otherwise i wonder - whether there is a way - directly after you have deleted the linux partitions in windows without changing the order in the bios (because after a windows11 restart you would have to get into the black grub command line if i am I not mistaken?) - and start right there - and enter commands - which I don't know - as a grub cleanup - is that possible?
No, grub configuration and entries are managed from the OS itself, not from the actual grub screen. You normally edit a file with some high level options, and then run a command which creates the end menu, all for the next boot. I am not posting any commands and actual files as they vary from distribution to distribution.

From the grub screen you can run rescue operations and add kernel parameters to the already existing entries.

And still, after deleting the partitions and the options in grub, you’ll still have the boot loaders in the EFI boot menu, hence my points about efibootmgr.

Members online

Latest posts