Menu

Customizing rEFInd

biuro74
2014-10-06
2019-06-05
  • biuro74

    biuro74 - 2014-10-06

    Hello,

    I've got 2 things that I can't cope with rEFInd, hopefully there's someone who knows how to sort out my issues.

    1. [solved]
      How to disable volume scanning AT ALL = just to show boot stanzas ONLY ? My issue is I can get rid of default Linux icons, but Windows icons will stay no matter what (I've tried dont_scan_volumes with Windows labels and dont_scan_dirs \EFI\Microsoft\Boot, but this won't work, or Windows icons become "unknown-OS-type").
      At this moment, I've got boot menu with doubled Windows positions.

    I've just done this by adding:
    scanfor manual
    in conjunction with dont_scan_volumes, so any of them did the job (or both). I'd suggest ammend manual/web page to make it more clear for users (like "disable automatic volume scanning = add this and this"), because it looks like some scanning queue, and not switch right now.

    1. How to bind an icon to direct Windows loader (better) or Windows Boot Menu (worse) located on another drive ? It drives me mad, I can't configure it properly and picking "Windows 7_2" icon gives me a message "Invalid loader file! Not Found while loading bootmgfw.efi". First menuentry is fine and boots Windows located on SSD.
      I've got two drives, each one has got rEFInd installed on, and there are TWO independent entries in my UEFI BIOS where to boot from: "rEFInd" (SSD-based) and "rEFInd_HDD" (HDD-based). Booting is being done via SSD rEFInd, so default \EFI location regards to SSD. Question is - how to get an access to HDD loaders, and is it possible to boot directly Windowses from there (better scenario), or Windows Boot Menu is all what I can have (worse scenario) as there are few Windowses installed on HDD ? :)

    refind.conf:
    menuentry "Windows 7" {
    icon \EFI\refind\next-theme\icons\os_win_ssd.png
    loader \EFI\Microsoft\Boot\bootmgfw.efi
    }

    menuentry "Windows 7-2" {
    icon \EFI\refind\next-theme\icons\os_win_hdd.png
    volume Windows7_HDD
    loader \EFI\Microsoft\Boot\bootmgfw.efi
    }

    menuentry OpenMandriva {
    icon /EFI/refind/next-theme/icons/os_mandriva_hdd.png
    volume OpenMandriva
    loader boot/vmlinuz-3.13.11-nrjQL-desktop-1omv
    initrd boot/initramfs-3.13.11-nrjQL-desktop-1omv.img
    options "ro root=UUID=c7b997be-1178-4092-b261-f7f4ad11e3e3"
    }

    menuentry Fedora {
    icon EFI/refind/next-theme/icons/os_fedora_hdd.png
    volume Fedora
    loader boot/vmlinuz-3.16.3-200.fc20.x86_64
    initrd boot/initramfs-3.16.3-200.fc20.x86_64.img
    options "ro root=UUID=ff30edfe-04ef-411d-b678-b5c322ef5062"
    }

    sda = SSD
    sdb = HDD

    [root@localhost marcin]# df /boot/efi_ssd
    System plików 1K-blocks użyte dostępne %uż. zamont. na
    /dev/sda1 130040 25090 104950 20% /boot/efi_ssd
    [root@localhost marcin]# df /boot/efi
    System plików 1K-blocks użyte dostępne %uż. zamont. na
    /dev/sdb1 126976 32884 94092 26% /boot/efi
    [root@localhost marcin]#

    [root@localhost marcin]# lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 55,9G 0 disk
    ├─sda1 8:1 0 128M 0 part /boot/efi_ssd
    ├─sda2 8:2 0 102M 0 part
    └─sda3 8:3 0 55,7G 0 part
    sdb 8:16 0 2,7T 0 disk
    ├─sdb1 8:17 0 128M 0 part /boot/efi
    ├─sdb2 8:18 0 102M 0 part
    ├─sdb3 8:19 0 16G 0 part
    ├─sdb4 8:20 0 40G 0 part
    ├─sdb5 8:21 0 40G 0 part
    ├─sdb6 8:22 0 40G 0 part
    ├─sdb7 8:23 0 24G 0 part /media/OpenMandriva
    ├─sdb8 8:24 0 24G 0 part /
    ├─sdb9 8:25 0 24G 0 part
    ├─sdb10 8:26 0 24G 0 part
    ├─sdb11 8:27 0 24G 0 part
    ├─sdb12 8:28 0 8G 0 part [SWAP]
    ├─sdb13 8:29 0 64G 0 part /home/marcin/MojeDokumenty
    ├─sdb14 8:30 0 700G 0 part
    └─sdb15 8:31 0 1,7T 0 part
    sr0 11:0 1 1024M 0 rom

    Any clues welcome, thanks in advance for any replies.
    Martin

     

    Last edit: biuro74 2014-10-08
  • M.R.P.

    M.R.P. - 2019-06-05

    I am on a mac can I customize refind after I do a stock installation?

     

Log in to post a comment.