UEFI boot -- get rid of loads of OS'es (about 7) on boot menu

Page 1 of 2 12 LastLast

  1. Posts : 11,247
    Windows / Linux : Arch Linux
       #1

    UEFI boot -- get rid of loads of OS'es (about 7) on boot menu


    Hi there

    On a UEFI bootable computer (not secure boot) I've got a menu of about 7 different OS'es when I enter the BIOS boot setup because I've tried installing and testing all sorts of OS'es at various times.

    Most of these OS'es aren't on my system any more.
    Is there a way to clean these off -- a bit like the old FIXMBR on non UEFI boot systems.

    Should I just refresh / re-format the boot HDD and then re-install windows or is the boot stuff in the actual computer's bios chip - in which case do I need to flash it.

    Cheers
    jimbo
      My Computer


  2. Posts : 56,825
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #2

    jimbo45 said:
    Hi there

    On a UEFI bootable computer (not secure boot) I've got a menu of about 7 different OS'es when I enter the BIOS boot setup because I've tried installing and testing all sorts of OS'es at various times.

    Most of these OS'es aren't on my system any more.
    Is there a way to clean these off -- a bit like the old FIXMBR on non UEFI boot systems.

    Should I just refresh / re-format the boot HDD and then re-install windows or is the boot stuff in the actual computer's bios chip - in which case do I need to flash it.

    Cheers
    jimbo
    @jimbo45
    Jimbo... try msconfig. Highlight each, delete, apply, OK, exit without restart until the last one, which you would do an Exit with restart.

    UEFI boot -- get rid of loads of OS'es (about 7)  on boot menu-2018-04-26_10h34_18.png
      My Computers


  3. Posts : 11,247
    Windows / Linux : Arch Linux
    Thread Starter
       #3

    f14tomcat said:
    @jimbo45
    Jimbo... try msconfig. Highlight each, delete, apply, OK, exit without restart until the last one, which you would do an Exit with restart.

    UEFI boot -- get rid of loads of OS'es (about 7)  on boot menu-2018-04-26_10h34_18.png

    Hi there

    @f14tomcat

    It only sees the Windows stuff Windows 10

    on F11 (BIOS enter boot menu on system re-start after power off) I see about 7 OS'es usually in the wrong order .

    Can't show that image as I can't capture the screen on startup - and I can't be bothered with phone camera - still don't know how to use those !!!

    Here's though what Msconfig shows

    UEFI boot -- get rid of loads of OS'es (about 7)  on boot menu-boot.png

    I think the answer might be to remove all the HDD's and then enter boot and see what the BIOS shows -- although where it stores this stuff I haven't a clue.

    Cheers
    jimbo
      My Computer


  4. Posts : 56,825
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #4

    jimbo45 said:
    Hi there

    It only sees the Windows stuff Windows 10

    on F11 (BIOS enter boot menu) I see about 7 OS'es usually in the wrong order

    Here's though what Msconfig shows

    UEFI boot -- get rid of loads of OS'es (about 7)  on boot menu-boot.png

    I think the answer might be to remove all the HDD's and then enter boot and see what the BIOS shows -- although where it stores this stuff I haven't a clue.

    Cheers
    jimbo
    Do the entries say something like "UEFI OS on partition x, and so on?
      My Computers


  5. Posts : 11,247
    Windows / Linux : Arch Linux
    Thread Starter
       #5

    Hi there
    the only clue is if I try and select one of the OS'es I've removed I get a GRUB 2 line with enter parameters or something like that -- so I might have on HDD some type of hidden /efi/boot partition.

    Investigating further

    Cheers
    jimbo
      My Computer


  6. Posts : 56,825
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #6

    jimbo45 said:
    Hi there
    the only clue is if I try and select one of the OS'es I've removed I get a GRUB 2 line with enter parameters or something like that -- so I might have on HDD some type of hidden /efi/boot partition.

    Investigating further

    Cheers
    jimbo
    I know if I take something like Kyhi's Rescue PE, create a patition, copy it to that partition, then remove the drive letter, it shows up just like I mentioned. Might want to use something like MiniTool to look at the boot drive (physical hdd/ssd) for unlettered partitions and Explore with MiniTool. Might give you some clues. Then just zap them.
      My Computers


  7. Posts : 5,478
    2004
       #7

    jimbo45 said:
    Hi there
    the only clue is if I try and select one of the OS'es I've removed I get a GRUB 2 line with enter parameters or something like that -- so I might have on HDD some type of hidden /efi/boot partition.

    Investigating further

    Cheers
    jimbo
    Perhaps (depending where you see these entries) you might want to delete them from your NVRAM which holds previous OS you booted, what order the EFI should check them etc. My EFI systems (which are Apple who do a pretty non-compliant UEFI implementations) doesn't show non-existing boot loaders even if they are in NVRAM list but yours might.

    You can use bcfg from EFI shell (which I've used) or there are some other options I've not used namely efibootmbr (Linux) or EasyUEFI (Windows) which according to this post will let you delete redundant NVRAM boot entries.

    You can also delete old stuff from EFI partition. That will probably be mounted at /boot or /boot/efi or if you want to do it from Windows mountvol S: /S and you'll see it mounted a S drive. Windows seems to like to have both "/EFI/Boot" and "/EFI/Microsoft" subdirectories and the rest should be obvious.
      My Computer


  8. Posts : 4,565
    several
       #8

    You can also delete old stuff from EFI partition. That will probably be mounted at /boot or /boot/efi or if you want to do it from Windows mountvol S: /S and you'll see it mounted a S drive. Windows seems to like to have both "/EFI/Boot" and "/EFI/Microsoft" subdirectories and the rest should be obvious.
    Yes, that is where the extra stuff will be.
      My Computer


  9. Posts : 2,799
    Linux Mint 20.1 Win10Prox64
       #9

    Open Admin Command Prompt. Copy and paste to run. This should rebuild everything and eliminate all the junk:
    mountvol U: /s
    del /s /f /q U:\efi\*.*
    bcdboot c:\windows /s U: /f UEFI
    mountvol U: /d

    Shutdown and Reboot
      My Computer


  10. Posts : 5,478
    2004
       #10

    topgundcp said:
    Open Admin Command Prompt. Copy and paste to run. This should rebuild everything and eliminate all the junk:
    mountvol U: /s
    del /s /f /q U:\efi\*.*
    bcdboot c:\windows /s U: /f UEFI
    mountvol U: /d

    Shutdown and Reboot
    This is terrible advice.

    Firstly it will delete Grub which the OP is using. It isn't clear is he is using EFI stub for booting but either way deleting everything is excessive and would certainly result in him being unable to boot any of his other OS as you would delete /EFI/Grub which is where the Grub 2 loader is or EFI/Ubuntu or whatever if he is booting that way.

    Secondly it will not reset NVRAM (all bcdboot does it sticks windows loader at the top of the list). All other entries remain. You can easily check this from EFI shell.

    This set of commands should only be recommended if you only ran Windows which @jimbo45 certainly doesn't.
    Last edited by lx07; 26 Apr 2018 at 15:47. Reason: It would destroy my dual boot.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:49.
Find Us




Windows 10 Forums