Menu

2 Windows Icons in rEFInd boot menu _ refind.conf "dont_scan_volumes" token not working

Noel K.
2016-03-04
2016-03-05
  • Noel K.

    Noel K. - 2016-03-04

    Hi everyone,

    I'm triple booting a Retina MacBook Pro 11,1 (late 2013) with following OSes under rEFInd 0.10.2 :
    - OS X El Capitan 10.11.3
    - Windows 8.1 x64 Pro
    - Linux Mint 17.3 Rosa Cinnamon 64 bits (with related swap partition)
    + an additional NTFS Data partition

    I originaly had several unwanted boot icons which I managed to remove from my boot menu by :
    either moving the appropriate folder in the refind folder of my mounted EFI partition ("ubuntu" in my case probably related to the way the linux installer was seen)
    or adding the ntfs_x64.efi under EFI/refind/drivers_x64, which removed an unbootable Windows boot icon related to my NTFS Data partition.

    Now my rEFInd boot menu shows the following options :
    1) Boot Microsoft EFI boot from EFI
    2) Boot Mac OS X from MacIntoshSSD
    3) Boot boot\vmlinuz-3.19.0-32-generic from LinuxMint
    4) Boot Windows from Bootcamp [unbootable, I would like to remove it from my rEFInd's boot menu ]

    I didn't managed to get rid of the fourth and last unbootable Windows icon even if I tried :
    to make use of the refind.conf "dont_scan_volumes" token
    moving various files of my mounted EFI partition in the refind folder

    Could somebody held me to find a way out to get rid of this unbootable Windows boot option ?

    Below, you'll find a copy of my "diskutil list",

     /dev/disk0 (internal, physical):  
       #:                       TYPE NAME                        SIZE   IDENTIFIER
       0:      GUID_partition_scheme                        *500.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:       Microsoft Basic Data Bootcamp                155.8 GB   disk0s2
       3:         Microsoft Reserved                         134.2 MB   disk0s3
       4:       Microsoft Basic Data Data                    125.2 GB   disk0s4
       5:                  Apple_HFS MacIntoshSSD            154.7 GB   disk0s5
       6:                 Apple_Boot Recovery HD             650.0 MB   disk0s6
       7:           Linux Filesystem                         50.4 GB    disk0s7
       8:                 Linux Swap                         12.3 GB    disk0s8
    

    of the way I tried to make use of the "dont_scan_volumes" token,

    # Partitions (or whole disks, for legacy-mode boots) to omit from scans.
    # For EFI-mode scans, you must specify a volume by its label, which you
    # can obtain in an EFI shell by typing "vol", from Linux by typing
    # "blkid /dev/{devicename}", or by examining the disk's label in various
    # OSes' file browsers.
    # For legacy-mode scans, you can specify any subset of the boot loader
    # description shown when you highlight the option in rEFInd.
    # The default is "LRS_ESP".
    #
    #dont_scan_volumes "Recovery HD",Bootcamp
    

    and finaly from the links of the tutorials I followed in order :

    Thanks for the reading, for creating and improving this software, and for running this forum
    Noël

    PS : sorry for my english if some parts are not expressed the way they should

     
  • Roderick W. Smith

    Try uncommenting the scanfor option in refind.conf and ensure that hdbios is not among the options it lists. This should take care of the problem.

    Note that the dont_scan_volumes line you showed is still commented out -- the # character at the start of the line indicates a comment line, which rEFInd ignores when parsing the file. When I say to uncomment a line, I mean to remove that character.

     

    Last edit: Roderick W. Smith 2016-03-05
    • Noel K.

      Noel K. - 2016-03-05

      Thank you very much.

      The uncommenting of the "scanfor" option in refind.conf worked fine.

       

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.