Gentoo Archives: gentoo-user

From: Tom H <tomh0665@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] booting - I don't anystand how the (Linux) world works anymore
Date: Mon, 27 Jun 2016 17:14:40
Message-Id: CAOdo=SzNtSQ4AMb7EkVBf7vC8200tPqj_w91cNDMuisvs8nvmA@mail.gmail.com
In Reply to: Re: [gentoo-user] booting - I don't anystand how the (Linux) world works anymore by Helmut Jarausch
1 On Sat, Jun 25, 2016 at 4:24 PM, Helmut Jarausch <jarausch@××××××.be> wrote:
2 > On 06/25/2016 10:19:12 PM, Tom H wrote:
3 >>
4 >> You can use "root=PARTUUID=partuuid" where
5 >>
6 >> on an msdos-labeled disk:
7 >>
8 >> # findmnt / -o TARGET,SOURCE,PARTUUID
9 >> TARGET SOURCE PARTUUID
10 >> / /dev/sda1 0006c8d7-01
11 >>
12 >> on a gpt-labeled disk:
13 >>
14 >> # findmnt / -o TARGET,SOURCE,PARTUUID
15 >> TARGET SOURCE PARTUUID
16 >> / /dev/sda3 41e9268f-484a-43e2-ae81-54d8c84119e0
17 >
18 > Yes, thanks, that did it,
19
20 You're welcome.
21
22 The
23 ENV{ID_PART_ENTRY_UUID}=="?*",
24 SYMLINK+="disk/by-partuuid/$env{ID_PART_ENTRY_UUID}"
25 udev rule creates symlinks under "/dev/disk/by-partuuid/".
26
27 There's no need for findmnt :)