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
> you need to include the punctuation, specifically the ":"s, which usually > are a "-", mac addresses use the ":" but unless the syntax has > changed/broadened you have to have the "-" for seperating the fields in a > uuid. The punctuation is part of the syntax (besides breaking the uuid > into sections which makes it easier to copy/verify). for data overload see > <https://en.wikipedia.org/wiki/Universally_unique_identifier> and the > associated links.
So what should I change and where? I seem to get three different formats depending on source: m ~ # blkid /dev/md127: UUID="cd3438aa-c02b-4d03-8085-596a8d60b7c2" TYPE="ext4" /dev/sdb4: UUID="533875eb-d678-7e77-285b-41ab6c964566" UUID_SUB="1f217f50-3b45-921c-629c-7e5df708964f" LABEL="livecd:2" TYPE="linux_raid_member" PARTLABEL="root" PARTUUID="a2ae84d5-1ede-428e-9beb-816ea57bfa05" /dev/md125: UUID="6fd35ea8-dc72-46ac-b009-e722ca3d5487" TYPE="ext2" /dev/sdb2: UUID="46488b25-9685-a3b9-c52b-7449d592dc80" UUID_SUB="25f34072-d83d-2a6c-0e3f-7d6df5161b1b" LABEL="livecd:0" TYPE="linux_raid_member" PARTLABEL="boot" PARTUUID="91c5c25d-4742-4e7e-b1b9-4f759c359e90" /dev/md126: UUID="fdecc9e5-e411-4d32-a591-ee03850bb538" TYPE="swap" /dev/sdb3: UUID="04b7f579-0264-ee93-dc84-276121816571" UUID_SUB="dc306764-79d7-b606-058e-d855f59f2757" LABEL="livecd:1" TYPE="linux_raid_member" PARTLABEL="swap" PARTUUID="988650cb-dbc0-4b2b-a314-959f18537bd6" /dev/sda2: UUID="46488b25-9685-a3b9-c52b-7449d592dc80" UUID_SUB="ab474afa-d46a-4bbc-31fd-735cdb95673c" LABEL="livecd:0" TYPE="linux_raid_member" PARTLABEL="boot" PARTUUID="46916efb-ef91-45ce-8aa8-c2cee33b980f" /dev/sda3: UUID="04b7f579-0264-ee93-dc84-276121816571" UUID_SUB="ec6eca1f-26e9-b328-642a-884643c9df48" LABEL="livecd:1" TYPE="linux_raid_member" PARTLABEL="swap" PARTUUID="9fb247a0-3eaf-4bc2-a58b-117c9f662355" /dev/sda4: UUID="533875eb-d678-7e77-285b-41ab6c964566" UUID_SUB="54b01e83-bbc4-4fb4-7f6f-1c3dcb7c198b" LABEL="livecd:2" TYPE="linux_raid_member" PARTLABEL="root" PARTUUID="b10527b2-a782-478a-aaf5-a2fc268bdb5d" /dev/sdb1: PARTLABEL="grub" PARTUUID="54981880-24b5-4194-b0a7-049f575861b4" /dev/sda1: PARTLABEL="grub" PARTUUID="a7ec1c8e-688f-43ed-8597-04717e93ce8d" m ~ # grub-probe -t drive -d /dev/md125 (mduuid/46488b259685a3b9c52b7449d592dc80) m ~ # mdadm -D /dev/md125 | grep UUID UUID : 46488b25:9685a3b9:c52b7449:d592dc80 m ~ #