[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:slackware_admin:uefi_triple_boot_with_refind_on_slackware [2016/11/17 09:00 (UTC)] – [Tidying up] aragorn2101 | howtos:slackware_admin:uefi_triple_boot_with_refind_on_slackware [2017/01/25 08:49 (UTC)] (current) – [GRUB] aragorn2101 | ||
---|---|---|---|
Line 51: | Line 51: | ||
# mount -t vfat /dev/sda2 / | # mount -t vfat /dev/sda2 / | ||
- | # mount -t proc /proc proc | + | # mount -t proc /proc /mnt/proc |
- | # mount --rbind /sys sys | + | # mount --rbind /sys /mnt/sys |
- | # mount --rbind /dev dev | + | # mount --rbind /dev /mnt/dev |
- | # mount --rbind /run run | + | # mount --rbind /run /mnt/run |
</ | </ | ||
Line 225: | Line 225: | ||
</ | </ | ||
- | The refind.efi binary will be booted automatically as it was added in the EFI firmwares using efibootmgr. | + | We should add custom entries for each of the EFI binaries we want to appear in the refind menu. |
-> Entry for Windows: | -> Entry for Windows: | ||
< | < | ||
menuentry Windows { | menuentry Windows { | ||
- | icon EFI/ | + | |
- | loader EFI/ | + | loader EFI/ |
} | } | ||
</ | </ | ||
- | Note that we can choose any of the icons from the icons/ directory. | + | Note that we can choose any of the icons from the EFI/refind/icons/ directory. |
-> Entry for Slackware: | -> Entry for Slackware: | ||
< | < | ||
menuentry Slackware { | menuentry Slackware { | ||
- | icon EFI/ | + | |
- | loader EFI/ | + | loader EFI/ |
} | } | ||
</ | </ | ||
Line 247: | Line 247: | ||
< | < | ||
menuentry Ubuntu { | menuentry Ubuntu { | ||
- | icon EFI/ | + | |
- | volume 9f5b153d-d103-4314-bc98-455fa5d0c625 | + | volume 9f5b153d-d103-4314-bc98-455fa5d0c625 |
- | loader EFI/ | + | loader EFI/ |
} | } | ||
</ | </ | ||
Line 255: | Line 255: | ||
=== Apple Mac === | === Apple Mac === | ||
- | For a Mac, refind will automatically detect the EFI binary. It is mos probably named " | + | For a Mac, refind will automatically detect the EFI binary. It is most probably named " |
< | < | ||
# cp / | # cp / | ||
Line 275: | Line 275: | ||
| | ||
| | ||
- | | + | |
|_ vmlinuz-4.4.16-21.generic | |_ vmlinuz-4.4.16-21.generic | ||
|_ initrd.img-4.4.16-21.generic | |_ initrd.img-4.4.16-21.generic | ||
Line 310: | Line 310: | ||
options "ro root=UUID=9f5b153d-d103-4314-bc98-455fa5d0c625" | options "ro root=UUID=9f5b153d-d103-4314-bc98-455fa5d0c625" | ||
} | } | ||
- | submenuentry "Linux 4.4.14 generic (recovery mode)" { | + | submenuentry "Linux 4.4.29 generic (recovery mode)" { |
options "ro root=UUID=9f5b153d-d103-4314-bc98-455fa5d0c625 single" | options "ro root=UUID=9f5b153d-d103-4314-bc98-455fa5d0c625 single" | ||
} | } | ||
Line 355: | Line 355: | ||
=== Using a refind_linux.conf file === | === Using a refind_linux.conf file === | ||
- | If we have placed a kernel on the EFI partition, like above with Slackware14.1 and Slackware14.2, we can also place a file called refind_linux.conf, | + | If we have placed a kernel on the EFI partition, like above, we can also place a file called refind_linux.conf, |
-> EFI/ | -> EFI/ | ||
Line 392: | Line 392: | ||
===== Non-bootloader tools ===== | ===== Non-bootloader tools ===== | ||
- | Below the icons for bootloaders and kernels selection, there is a set of icons for a set of useful tools/ | + | In the refind menu, below the icons for bootloaders and kernels selection, there is a set of icons for useful tools/ |
< | < | ||
showtools reboot, | showtools reboot, | ||
Line 422: | Line 422: | ||
=== Using custom icons === | === Using custom icons === | ||
- | As we saw above with the custom menu entries we can choose icons for each entry with the **icon** option | + | As we saw above with the custom menu entries we can choose icons for each entry with the **icon** option. So we can make our own icons and place them in directory EFI/ |
< | < | ||
large_icon 128 | large_icon 128 | ||
Line 467: | Line 467: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must remove the tag-word " | <!-- You must remove the tag-word " | ||
- | {{tag> | + | {{tag> |