On 28/01/17 07:27, Mick wrote:
> On Saturday 28 Jan 2017 06:50:32 Bill Kenworthy wrote:
>> On 28/01/17 00:25, Tom H wrote:
>>> On Thu, Jan 26, 2017 at 7:10 PM, Bill Kenworthy <[email protected]>
> wrote:
>>>> I tried grub2 and dumped it for "rEFit" - ended up a lot easier and
>>>> more robust.
>>>
>>> rEFIt or rEFInd?
>>
>> Sorry, yes it is rEFInd I am using.
>>
>> BillK
>
> Where did you install rEFInd? In the EFI partition? I am about to install
> gentoo on a MackBook Pro, but do not want to mess up the original 3
> partitions
> installed by OSX, any more than is absolutely necessary.
>
> I could start a new thread if this is hijacking the OP's, but there are some
> parallels with boot loaders at least. I am thinking of trying out the sys-
> boot/systemd-boot (ex-gumiboot) instead of rEFInd. Will it be able to launch
> the OSX boot64.efi?
>
mounted at /boot/efi
/boot
└── efi
└── EFI
├── Boot
├── gentoo
├── Microsoft
│ ├── Boot
│ │ ├── ar-SA
snip
│ └── Recovery
├── refind
│ ├── banners
│ ├── drivers_x64
│ ├── fonts
│ ├── icons
│ │ ├── licenses
│ │ └── svg
│ ├── images
│ ├── keys
│ └── tools_x64
└── tools
bunyip ~ # fdisk -l /dev/nvme0n1
Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 8607528E-5D14-4725-BC44-F325B97B6736
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 534527 532480 260M EFI System
/dev/nvme0n1p2 534528 796671 262144 128M Microsoft reserved
/dev/nvme0n1p3 796672 251281407 250484736 119.5G Microsoft basic data
/dev/nvme0n1p4 496185344 500117503 3932160 1.9G Windows recovery
environment
/dev/nvme0n1p5 251281408 276447231 25165824 12G Linux swap
/dev/nvme0n1p6 276447232 496185343 219738112 104.8G Linux filesystem
Partition table entries are not in disk order.
/boot/efi/EFI/refind/refind.conf
timeout 2
showtools shell, gdisk, memtest, mok_tool, windows_recovery, about,
reboot, exit, firmware
scanfor manual
menuentry Linux-4.9.5-gentoo {
icon /EFI/refind/icons/os_gentoo.png
volume 760df07d-ec40-452f-95ee-cb47acf22069
loader /EFI/gentoo/kernel-genkernel-x86_64-4.9.5-gentoo.efi
initrd /EFI/gentoo/initramfs-genkernel-x86_64-4.9.5-gentoo.img
options "acpi_osi=Linux i915.semaphores=1 intel_iommu=off
pcie_port_pm=off rootdelay=15 ro
root=UUID=fc556f9c-e9b9-4ed3-8244-94f9f1a7d4d0 dobtrfs maxcpus=1 zcache
resume=/dev/nvme0n1p5"
}
menuentry Linux-4.9.4-gentoo {
icon /EFI/refind/icons/os_gentoo.png
volume 760df07d-ec40-452f-95ee-cb47acf22069
loader /EFI/gentoo/kernel-genkernel-x86_64-4.9.4-gentoo.efi
initrd /EFI/gentoo/initramfs-genkernel-x86_64-4.9.4-gentoo.img
options "acpi_osi=Linux i915.semaphores=1 intel_iommu=off
pcie_port_pm=off rootdelay=15 ro
root=UUID=fc556f9c-e9b9-4ed3-8244-94f9f1a7d4d0 dobtrfs maxcpus=1 zcache
resume=/dev/nvme0n1p5"
}
menuentry "Windows 10" {
loader \EFI\Microsoft\Boot\bootmgfw.efi
}