LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-04-2018, 03:07 PM   #1
Ennai
LQ Newbie
 
Registered: May 2017
Location: Earth
Distribution: Kubuntu
Posts: 14

Rep: Reputation: Disabled
I can't purge windows from UEFI!


Hi all, i'm having problems deleting windows boot manager, i'm on Kubuntu right now, i deleted windows partitions, then did $ sudo update-grub and it finds "Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi". How to perma remove it?

Last edited by Ennai; 07-05-2018 at 10:17 AM.
 
Old 07-04-2018, 03:49 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,195

Rep: Reputation: 164Reputation: 164
Partitioning?

I think it must be deleted from the EFI partition.

You can also delete it from grub.cfg.
 
Old 07-04-2018, 03:51 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,220

Rep: Reputation: 3803Reputation: 3803Reputation: 3803Reputation: 3803Reputation: 3803Reputation: 3803Reputation: 3803Reputation: 3803Reputation: 3803Reputation: 3803Reputation: 3803
If /dev/sda1 is not mounted:
sudo mount /dev/sda1 /mnt
Then (again, use sudo if need be)
mv /mnt/EFI/Microsoft/Boot/bootmgfw.efi /mnt/EFI/Microsoft/Boot/bootmgfw.efi.orig
update-grub

In case you change you mind, rename the file as it was originally.

Even simpler, if you have just one system, uncomment this line in /etc/defaul/grub:
#GRUB_DISABLE_OS_PROBER=true
To do that, just remove the leading #
Then again:
update-grub
 
1 members found this post helpful.
Old 07-04-2018, 05:28 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,909

Rep: Reputation: 1861Reputation: 1861Reputation: 1861Reputation: 1861Reputation: 1861Reputation: 1861Reputation: 1861Reputation: 1861Reputation: 1861Reputation: 1861Reputation: 1861
It is actually pretty easy to remove/delete from the efi partition but I think the suggestion above of renaming/moving the file is better.

Last edited by yancek; 07-05-2018 at 01:42 PM.
 
Old 07-05-2018, 10:16 AM   #5
Ennai
LQ Newbie
 
Registered: May 2017
Location: Earth
Distribution: Kubuntu
Posts: 14

Original Poster
Rep: Reputation: Disabled
Thank you all, it works.
 
Old 07-05-2018, 02:23 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,514

Rep: Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017
Be sure to monitor it from command line. Command would be sudo efiboomgr. Some bios's seem to grow loader information till they can't and brick.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware 14.2 64 bits, UEFI, GPT and Windows 8.1: Windows cannot be installed on this disk. YuGiOhJCJ Slackware 16 08-14-2016 04:17 AM
how to install linux mint side by side windows into an uefi machine without uefi partition valgalsan Linux - Newbie 2 11-03-2015 01:25 PM
apt-get purge or --purge is false advertising... jmgibson1981 Linux - Newbie 12 07-01-2015 09:04 AM
[SOLVED] UEFI, Windows 8, and Linux Nbiser Linux - General 8 03-13-2013 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration