Gentoo Archives: gentoo-user

From: Magnus Johansson <gentoo@×××.se>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Grub2 boot problem
Date: Tue, 13 Feb 2018 08:48:33
Message-Id: CAPd5e-KtTfMT1AEt3Xn1nQWXCa7JOGqaU4WuP4oyD-PtpxzV8g@mail.gmail.com
In Reply to: Re: [gentoo-user] Grub2 boot problem by mad.scientist.at.large@tutanota.com
1 > you need to include the punctuation, specifically the ":"s, which usually
2 > are a "-", mac addresses use the ":" but unless the syntax has
3 > changed/broadened you have to have the "-" for seperating the fields in a
4 > uuid. The punctuation is part of the syntax (besides breaking the uuid
5 > into sections which makes it easier to copy/verify). for data overload see
6 > <https://en.wikipedia.org/wiki/Universally_unique_identifier> and the
7 > associated links.
8
9 So what should I change and where? I seem to get three different
10 formats depending on source:
11
12 m ~ # blkid
13 /dev/md127: UUID="cd3438aa-c02b-4d03-8085-596a8d60b7c2" TYPE="ext4"
14 /dev/sdb4: UUID="533875eb-d678-7e77-285b-41ab6c964566"
15 UUID_SUB="1f217f50-3b45-921c-629c-7e5df708964f" LABEL="livecd:2"
16 TYPE="linux_raid_member" PARTLABEL="root"
17 PARTUUID="a2ae84d5-1ede-428e-9beb-816ea57bfa05"
18 /dev/md125: UUID="6fd35ea8-dc72-46ac-b009-e722ca3d5487" TYPE="ext2"
19 /dev/sdb2: UUID="46488b25-9685-a3b9-c52b-7449d592dc80"
20 UUID_SUB="25f34072-d83d-2a6c-0e3f-7d6df5161b1b" LABEL="livecd:0"
21 TYPE="linux_raid_member" PARTLABEL="boot"
22 PARTUUID="91c5c25d-4742-4e7e-b1b9-4f759c359e90"
23 /dev/md126: UUID="fdecc9e5-e411-4d32-a591-ee03850bb538" TYPE="swap"
24 /dev/sdb3: UUID="04b7f579-0264-ee93-dc84-276121816571"
25 UUID_SUB="dc306764-79d7-b606-058e-d855f59f2757" LABEL="livecd:1"
26 TYPE="linux_raid_member" PARTLABEL="swap"
27 PARTUUID="988650cb-dbc0-4b2b-a314-959f18537bd6"
28 /dev/sda2: UUID="46488b25-9685-a3b9-c52b-7449d592dc80"
29 UUID_SUB="ab474afa-d46a-4bbc-31fd-735cdb95673c" LABEL="livecd:0"
30 TYPE="linux_raid_member" PARTLABEL="boot"
31 PARTUUID="46916efb-ef91-45ce-8aa8-c2cee33b980f"
32 /dev/sda3: UUID="04b7f579-0264-ee93-dc84-276121816571"
33 UUID_SUB="ec6eca1f-26e9-b328-642a-884643c9df48" LABEL="livecd:1"
34 TYPE="linux_raid_member" PARTLABEL="swap"
35 PARTUUID="9fb247a0-3eaf-4bc2-a58b-117c9f662355"
36 /dev/sda4: UUID="533875eb-d678-7e77-285b-41ab6c964566"
37 UUID_SUB="54b01e83-bbc4-4fb4-7f6f-1c3dcb7c198b" LABEL="livecd:2"
38 TYPE="linux_raid_member" PARTLABEL="root"
39 PARTUUID="b10527b2-a782-478a-aaf5-a2fc268bdb5d"
40 /dev/sdb1: PARTLABEL="grub" PARTUUID="54981880-24b5-4194-b0a7-049f575861b4"
41 /dev/sda1: PARTLABEL="grub" PARTUUID="a7ec1c8e-688f-43ed-8597-04717e93ce8d"
42 m ~ # grub-probe -t drive -d /dev/md125
43 (mduuid/46488b259685a3b9c52b7449d592dc80)
44 m ~ # mdadm -D /dev/md125 | grep UUID
45 UUID : 46488b25:9685a3b9:c52b7449:d592dc80
46 m ~ #