Menu

Show ONLY specific boot entries (hide all others)

whaterfuk
2016-05-04
2016-05-04
  • whaterfuk

    whaterfuk - 2016-05-04

    rEFInd is completely useless to me if it will show me all 10+ boot entries from my previous Linux installs - the BIOS does that perfectly too, so why bother? There are only 3 entries that I need: Windows, Ubuntu, and Kali. I even commented out all the other menuentries even though they didn't do anything. I found that dont_scan_dirs failed miserably because all the useless GRUB menus can still make their way in, and if someone mentions altering efibootmgr one more time I will throw myself off this building.

    I know this can be done, because it can't just be me having this problem, and this is what rEFInd seems to be designed for - making booting easier.

    Thank you for your help,
    your average newb.

     
  • Roderick W. Smith

    rEFInd ignores NVRAM entries (as set via efibootmgr), so trying to mess with that would be a waste of time. Instead, focus on:

    • Using dont_scan_files, dont_scan_dirs, and/or dont_scan_volumes in refind.conf. Complaining that it "fails miserably" won't help me give you advice unless you provide details, such as what you've tried putting in those entries and what files are slipping through.
    • Deleting old and unwanted boot loaders. This is easily done, but you need to know where to look. In most Linux distributions, the ESP is mounted at /boot/efi, and boot loader files go in subdirectories of EFI in that location, so you should look at /boot/efi/EFI/*. Removing an OS in most ways (like deleting its install partition(s)) will not remove its boot loader from the ESP; you must do that separately.
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.