UEFI booting Porteus (dual booting with Windows 10)
Posted: 25 Aug 2016, 06:59
I couldn't use the EFI boot configuration provided with Porteus with my Kangaroo, which lacks legacy booting. Installing Refind to the EFI system partition was necessary in order to boot Porteus but doing so and not changing anything in either copy of refind.conf resulted in chainloading the Porteus installations' own copy of Refind unnecessarily. No amount of tweaking of Refind's options would get it to find Porteus on its own; the firmware does not support legacy booting -- and Refind relies on it to find OSs. I copied the icons folder from Porteus' /EFI/refind folder to /EFI/refind in the EFI system partition, renaming it to p-icons, and modified Porteus' section in refind.conf:
to:
and added it to refind.conf in the EFI system partition (obviating /EFI in Porteus; I renamed it to /#EFI). I also added the lines:
and
Now Refind displays options to boot Windows 10 and Porteus with appropriate icons and boots Porteus rapidly by default..
Code: Select all
menuentry "Porteus GUI mode" {
volume KERNELS
icon EFI/BOOT/icons/os_porteus.png
loader boot/syslinux/vmlinuz
initrd boot/syslinux/initrd.xz
options ""
submenuentry "Save changes" {
add_options "changes=/porteus"
}
submenuentry "Always fresh" {
add_options "nomagic base_only norootcopy"
}
submenuentry "Boot to copy2ram mode" {
add_options "copy2ram"
}
submenuentry "Text mode" {
add_options "3"
}
submenuentry "pxe-boot" {
add_options "pxe"
}
}
Code: Select all
# non-EFI booting
menuentry Porteus {
icon EFI/refind/p-icons/os_porteus.png
volume Porteus
loader /boot/syslinux/vmlinuz
initrd /boot/syslinux/initrd.xz
options "from=/mnt/mmcblk0p4 changes=/dev/mmcblk0p4/porteus copy2ram rammod=00 timezone=America/Denver login=root"
}
Code: Select all
timeout 10
Code: Select all
default_selection Porteus