On 01/06/16 13:47, Giampiero Gabbiani wrote:
> In data martedì 31 maggio 2016 22:18:27, Bill Kenworthy ha scritto:
>> On 31/05/16 06:43, Giampiero Gabbiani wrote:
>>> In data martedì 31 maggio 2016 05:55:10, Bill Kenworthy ha scritto:
>>>> On 30/05/16 20:09, Neil Bothwick wrote:
>>>>> On Sat, 28 May 2016 14:46:02 +0300, Thanasis wrote:
>>>>>> On 05/28/2016 09:03 AM, Bill Kenworthy wrote:
>>>>>>> I was just about to spring for a mid range MS surface pro 4 tablet

....

> 
> Great! I never tried rEFInd ... It looks interesting ... It seems to skip a 
> lot of grub complexity ... Could you share the config?
> 
> Regards
> Giampiero
> 
> 
> 
> 

The "internal" detection method of refind also works, but I am using
manual here.  When I have a usable system (I am still working on the the
touchscreen - interestingly it works fine in rEFInd) I'll restore secure
boot, go back to internal detection and recover the now useless /boot
partition. Going on my prior experience using an apple air laptop with
rEFInd this will be much simpler and easier to maintain than grub2.

This is what works:



bunyip ~ # grep -v \# /boot/efi/EFI/refind/refind.conf

...


timeout 2

showtools shell, gdisk, memtest, mok_tool, windows_recovery, about,
reboot, exit, firmware

scanfor manual

menuentry Linux {
    icon /EFI/refind/icons/os_gentoo.png
    volume 760df07d-ec40-452f-95ee-cb47acf22069
    loader /EFI/gentoo/kernel-genkernel-x86_64-4.4.11-gentoo.efi
    initrd /EFI/gentoo/initramfs-genkernel-x86_64-4.4.11-gentoo.img
    options "ro root=UUID=034f406b-be3f-41bf-a110-bf7c5bb62d8b
rootfstype=btrfs zcache"
}

menuentry "Windows 10" {
    loader \EFI\Microsoft\Boot\bootmgfw.efi
}




bunyip ~ # blkid
/dev/nvme0n1: PTUUID="c0306c69-b496-491a-aa88-632e4cdc9065" PTTYPE="gpt"
/dev/nvme0n1p1: LABEL="SYSTEM" UUID="2258-0C6A" TYPE="vfat"
PARTLABEL="EFI system partition"
PARTUUID="760df07d-ec40-452f-95ee-cb47acf22069"
/dev/nvme0n1p2: PARTLABEL="Microsoft reserved partition"
PARTUUID="b9fca984-5eac-4b1d-839f-792610e34ba3"
/dev/nvme0n1p3: LABEL="Windows" UUID="4A44EC6844EC5869" TYPE="ntfs"
PARTLABEL="Basic data partition"
PARTUUID="3237c477-911a-436e-9394-9ac0284ad7fa"
/dev/nvme0n1p4: LABEL="Windows RE tools" UUID="0C42EEA242EE902E"
TYPE="ntfs" PARTLABEL="Basic data partition"
PARTUUID="e996fb0f-5359-454d-8146-81b8b185d79c"
/dev/nvme0n1p5: UUID="1b2d6926-a55f-43ff-bd55-6d8bec1c538a" TYPE="ext2"
PARTLABEL="primary" PARTUUID="7fe8849a-88ad-4dd5-8829-cf6ab5f29a72"
/dev/nvme0n1p6: UUID="16c7f09a-359e-4758-bd1f-f53b62fb232e" TYPE="swap"
PARTLABEL="primary" PARTUUID="fcee4c07-4aec-43f3-bf46-49808d3c3888"
/dev/nvme0n1p7: UUID="034f406b-be3f-41bf-a110-bf7c5bb62d8b"
UUID_SUB="c2fa051d-bf3b-4a65-85f7-0504bad930e3" TYPE="btrfs"
PARTLABEL="primary" PARTUUID="55fd3131-6a38-4266-bdc5-f3d0cb03a466"






bunyip ~ # efibootmgr -v
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0005,0000,0001,0003,0002
Boot0000* Windows Boot Manager
HD(1,GPT,760df07d-ec40-452f-95ee-cb47acf22069,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* Internal Storage
FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(50670071-478f-4be7-ad13-8754f379c62f)SDD.
Boot0002* USB Storage
FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(50670071-478f-4be7-ad13-8754f379c62f)USB.
Boot0003* PXE Network
FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(50670071-478f-4be7-ad13-8754f379c62f)PXE.
Boot0004* SurfaceFrontPage
FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(4042708a-0f2d-4823-ac60-0d77b3111889)VOL+.
Boot0005* rEFInd Boot Manager
HD(1,GPT,760df07d-ec40-452f-95ee-cb47acf22069,0x800,0x82000)/File(\EFI\refind\refind_x64.efi)
bunyip ~ #


Reply via email to