I deleted the 30_os_proxy file. It was giving me duplicate entries. 

Below is my /EFI/fedora/grub.cfg. Each disk's efi partition contains a copy. I 
use efibootmgr to select which disk's /EFI/fedora.grub.cfg  to use when the 
computer is powered on. Changes made with Fedora's efibootmgr are not permanent 
on my machine, so I use Ubuntu's. The efi partition's grub.cfg then chainloads 
/boot/grub2/grub.cfg for the distro I want to boot. 

# my semi-ideal grub.cfg

### BEGIN /etc/grub.d/06_grub-customizer_menu_color_helper ###
set color_normal=light-blue/black
set color_highlight=yellow/brown
### END /etc/grub.d/06_grub-customizer_menu_color_helper ###

# Handoff to Internal (Suneast) (/dev/sda2)
menuentry '********** SunEast **********' {
    savedefault
    insmod part_gpt
    insmod fat
    set root='hd0,gpt2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 
--hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  8C28-F550
    else
      search --no-floppy --fs-uuid --set=root 8C28-F550
    fi
    chainloader /EFI/fedora/grubx64.efi
}

menuentry 'F43 on Suneast 7' {
    search --no-floppy --fs-uuid --set=dev b27f4c55-288e-4c23-a5cf-93fa18f98f47
    set prefix=($dev)/boot/grub2
    export $prefix
    configfile $prefix/grub.cfg
}

menuentry 'F42 on Suneast 6' {
    search --no-floppy --fs-uuid --set=dev 5b51106b-9afd-4c09-8048-7894ac856acf
    set prefix=($dev)/boot/grub2
    export $prefix
    configfile $prefix/grub.cfg
}

menuentry 'F42 on Suneast 9' {
    search --no-floppy --fs-uuid --set=dev 216aaffe-6af0-4795-952f-a9b53d4afcf9
    set prefix=($dev)/boot/grub2
    export $prefix
    configfile $prefix/grub.cfg
}

# Handoff to Dogfish (/dev/sdb1)
menuentry '********** Dogfish **********' {
    insmod part_gpt
    insmod fat
    set root='hd1,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 
--hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  92FE-7434
    else
      search --no-floppy --fs-uuid --set=root 92FE-7434
    fi
    chainloader /efi/fedora/grubx64.efi
}

menuentry 'F43 on Dogfish 5' {
    search --no-floppy --fs-uuid --set=dev 5fed964f-2870-4a5b-9fde-5a9250713383
    set prefix=($dev)/boot/grub2
    export $prefix
    configfile $prefix/grub.cfg
}

menuentry 'F42 on Dogfish 7' {
    search --no-floppy --fs-uuid --set=dev 258d3e00-2870-42da-acd4-0a5f3e63f978
    set prefix=($dev)/boot/grub2
    export $prefix
    configfile $prefix/grub.cfg
}

# Handoff to Toshiba (/dev/sdc4)
menuentry '********** Toshiba **********' {
    insmod part_gpt
    insmod fat
    set root='hd2,gpt4'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt4 
--hint-efi=hd2,gpt4 --hint-baremetal=ahci2,gpt4  30B5-AFE3
    else
      search --no-floppy --fs-uuid --set=root 30B5-AFE3
    fi
    chainloader /efi/fedora/grubx64.efi
}


menuentry 'F42 on Toshiba 6' {
    search --no-floppy --fs-uuid --set=dev c9e986a4-5c3a-4d22-acdd-cbcf9a6f8ab8
    set prefix=($dev)/boot/grub2
    export $prefix
    configfile $prefix/grub.cfg
}

menuentry 'F43 on Toshiba 7' {
    search --no-floppy --fs-uuid --set=dev 248efce2-ea39-4c96-9dea-e76faa7315d1
    set prefix=($dev)/boot/grub2
    export $prefix
    configfile $prefix/grub.cfg
}

menuentry 'F42 on Toshiba 8' {
    search --no-floppy --fs-uuid --set=dev 8b5a0c9b-e0d5-4283-a4b1-9d55ba24e6c2
    set prefix=($dev)/boot/grub2
    export $prefix
    configfile $prefix/grub.cfg
}

menuentry 'U2404 on Toshiba 11' {
    search --no-floppy --fs-uuid --set=dev 92199fae-dc01-43ed-ae69-2eaa454ce052
    set prefix=($dev)/boot/grub
    export $prefix
    configfile $prefix/grub.cfg
}

menuentry 'Manjaro on Toshiba 12' {
    search --no-floppy --fs-uuid --set=dev a1a32ea5-7ea8-4b25-9444-289396593ca8
    set prefix=($dev)/boot/grub
    export $prefix
    configfile $prefix/grub.cfg
}

menuentry 'F42 on Toshiba 13' {
    search --no-floppy --fs-uuid --set=dev ae9ccfd9-d125-4a10-ab76-704a07344ad4
    set prefix=($dev)/boot/grub2
    export $prefix
    configfile $prefix/grub.cfg
}

menuentry 'U2504 on Toshiba 14' {
    search --no-floppy --fs-uuid --set=dev  ea36b37-891a-4cfc-9b83-1b61c541121c
    set prefix=($dev)/boot/grub
    export $prefix
    configfile $prefix/grub.cfg
}

menuentry '********** Windows from Suneast **********' {
}

menuentry 'Windows10 on Dogfish 1' {
    search --no-floppy --fs-uuid --set=root 92FE-7434
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

menuentry 'Windows10 on Suneast 2' {
    search --no-floppy --fs-uuid --set=root 8C28-F550
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

menuentry 'Windows10 on Toshiba 4' {
    search --no-floppy --fs-uuid --set=root 30B5-AFE3
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}


-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to