Announcement

Collapse
No announcement yet.

Can I delete an unused (Windows) EFI entry?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can I delete an unused (Windows) EFI entry?

    I had a trial version of Windows 11 on a computer I just acquired. Here's my efi partition.

    sudo ls -l /boot/efi/EFI
    total 12
    drwx------ 2 root root 2048 Jul 10 14:51 Boot
    drwx------ 4 root root 2048 Jul 10 15:43 Microsoft
    drwx------ 2 root root 2048 Jul 11 16:40 neon
    drwx------ 6 root root 2048 Jul 21 07:50 refind
    drwx------ 2 root root 2048 Jul 10 17:41 tools
    drwx------ 2 root root 2048 Jul 10 14:51 ubuntu


    Can I delete the Microsoft entry without breaking anything?
    'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

    #2
    I can't see why that would affect any other entries, but as usual, make a backup first - just in case.
    Asus Z270i7 16gb rm 8tb GT1660 Haupp Quad tuner Kubuntu Jammy/Win 11 Be/FE mythtv 0.34Homerun dual netwk tuner 55¨ Smsng QN95B55" Lap Smsng NP R580 i5 nvidia linux Ultimate/Win 10

    Comment


      #3
      If you are talking about the efi boot then you can delete them with this command
      first list the active ones.
      Code:
      efibootmgr list
      Then delete unwanted ones with the command
      Code:
      sudo efibootmgr -B -b <boot code>
      Replace the boot code with the actual number of the item you want to delete.
      Example: sudo efibootmgr -B -b 0001 (would usually be the second item in the list.)
      Good luck.
      Dave Kubuntu 20.04 Registered Linux User #462608

      Wireless Script: http://ubuntuforums.org/showthread.p...5#post12350385

      Comment


        #4
        I assume you are successfully booting the computer using rEFInd, Neon, or ubuntu (your Kubuntu).
        If so, you could actually go into /EFI and delete the folder for Windows, for this: drwx------ 4 root root 2048 Jul 10 15:43 Microsoft.
        This folder: /boot/efi/EFI/Microsoft, it looks like.
        I think that BOOT is a standard backup, but not sure, hopefully Windoiws is not tied to it--You can make anything tied to it, even grubx64.efi.
        To get into the ESP, as root, you can use Krusader.
        Or, maybe the command line, using sudo -i.
        Be careful! But ... you got rEFInd, which should rescue you from (almost) anything.
        An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

        Comment

        Users Viewing This Topic

        Collapse

        There are 0 users viewing this topic.

        Working...
        X