Gentoo Archives: gentoo-user

From: Bill Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] tablet
Date: Wed, 01 Jun 2016 21:45:37
Message-Id: 574F576F.5050604@iinet.net.au
In Reply to: Re: [gentoo-user] tablet by Giampiero Gabbiani
1 On 01/06/16 13:47, Giampiero Gabbiani wrote:
2 > In data martedì 31 maggio 2016 22:18:27, Bill Kenworthy ha scritto:
3 >> On 31/05/16 06:43, Giampiero Gabbiani wrote:
4 >>> In data martedì 31 maggio 2016 05:55:10, Bill Kenworthy ha scritto:
5 >>>> On 30/05/16 20:09, Neil Bothwick wrote:
6 >>>>> On Sat, 28 May 2016 14:46:02 +0300, Thanasis wrote:
7 >>>>>> On 05/28/2016 09:03 AM, Bill Kenworthy wrote:
8 >>>>>>> I was just about to spring for a mid range MS surface pro 4 tablet
9
10 ....
11
12 >
13 > Great! I never tried rEFInd ... It looks interesting ... It seems to skip a
14 > lot of grub complexity ... Could you share the config?
15 >
16 > Regards
17 > Giampiero
18 >
19 >
20 >
21 >
22
23 The "internal" detection method of refind also works, but I am using
24 manual here. When I have a usable system (I am still working on the the
25 touchscreen - interestingly it works fine in rEFInd) I'll restore secure
26 boot, go back to internal detection and recover the now useless /boot
27 partition. Going on my prior experience using an apple air laptop with
28 rEFInd this will be much simpler and easier to maintain than grub2.
29
30 This is what works:
31
32
33
34 bunyip ~ # grep -v \# /boot/efi/EFI/refind/refind.conf
35
36 ...
37
38
39 timeout 2
40
41 showtools shell, gdisk, memtest, mok_tool, windows_recovery, about,
42 reboot, exit, firmware
43
44 scanfor manual
45
46 menuentry Linux {
47 icon /EFI/refind/icons/os_gentoo.png
48 volume 760df07d-ec40-452f-95ee-cb47acf22069
49 loader /EFI/gentoo/kernel-genkernel-x86_64-4.4.11-gentoo.efi
50 initrd /EFI/gentoo/initramfs-genkernel-x86_64-4.4.11-gentoo.img
51 options "ro root=UUID=034f406b-be3f-41bf-a110-bf7c5bb62d8b
52 rootfstype=btrfs zcache"
53 }
54
55 menuentry "Windows 10" {
56 loader \EFI\Microsoft\Boot\bootmgfw.efi
57 }
58
59
60
61
62 bunyip ~ # blkid
63 /dev/nvme0n1: PTUUID="c0306c69-b496-491a-aa88-632e4cdc9065" PTTYPE="gpt"
64 /dev/nvme0n1p1: LABEL="SYSTEM" UUID="2258-0C6A" TYPE="vfat"
65 PARTLABEL="EFI system partition"
66 PARTUUID="760df07d-ec40-452f-95ee-cb47acf22069"
67 /dev/nvme0n1p2: PARTLABEL="Microsoft reserved partition"
68 PARTUUID="b9fca984-5eac-4b1d-839f-792610e34ba3"
69 /dev/nvme0n1p3: LABEL="Windows" UUID="4A44EC6844EC5869" TYPE="ntfs"
70 PARTLABEL="Basic data partition"
71 PARTUUID="3237c477-911a-436e-9394-9ac0284ad7fa"
72 /dev/nvme0n1p4: LABEL="Windows RE tools" UUID="0C42EEA242EE902E"
73 TYPE="ntfs" PARTLABEL="Basic data partition"
74 PARTUUID="e996fb0f-5359-454d-8146-81b8b185d79c"
75 /dev/nvme0n1p5: UUID="1b2d6926-a55f-43ff-bd55-6d8bec1c538a" TYPE="ext2"
76 PARTLABEL="primary" PARTUUID="7fe8849a-88ad-4dd5-8829-cf6ab5f29a72"
77 /dev/nvme0n1p6: UUID="16c7f09a-359e-4758-bd1f-f53b62fb232e" TYPE="swap"
78 PARTLABEL="primary" PARTUUID="fcee4c07-4aec-43f3-bf46-49808d3c3888"
79 /dev/nvme0n1p7: UUID="034f406b-be3f-41bf-a110-bf7c5bb62d8b"
80 UUID_SUB="c2fa051d-bf3b-4a65-85f7-0504bad930e3" TYPE="btrfs"
81 PARTLABEL="primary" PARTUUID="55fd3131-6a38-4266-bdc5-f3d0cb03a466"
82
83
84
85
86
87
88 bunyip ~ # efibootmgr -v
89 BootCurrent: 0005
90 Timeout: 2 seconds
91 BootOrder: 0005,0000,0001,0003,0002
92 Boot0000* Windows Boot Manager
93 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.}....................
94 Boot0001* Internal Storage
95 FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(50670071-478f-4be7-ad13-8754f379c62f)SDD.
96 Boot0002* USB Storage
97 FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(50670071-478f-4be7-ad13-8754f379c62f)USB.
98 Boot0003* PXE Network
99 FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(50670071-478f-4be7-ad13-8754f379c62f)PXE.
100 Boot0004* SurfaceFrontPage
101 FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(4042708a-0f2d-4823-ac60-0d77b3111889)VOL+.
102 Boot0005* rEFInd Boot Manager
103 HD(1,GPT,760df07d-ec40-452f-95ee-cb47acf22069,0x800,0x82000)/File(\EFI\refind\refind_x64.efi)
104 bunyip ~ #