1 |
On Tue, Sep 6, 2016 at 3:01 PM, gevisz <gevisz@×××××.com> wrote: |
2 |
> |
3 |
> I have already looked into this file but did not find where to set the |
4 |
> UUID of the root partion. |
5 |
> |
6 |
|
7 |
It depends. :) |
8 |
|
9 |
Usually you end up with root=UUID=abc on your kernel command line. It |
10 |
looks like grub-mkconfig is supposed to do this automatically. |
11 |
|
12 |
Your initramfs tool may also do something here (I know dracut sticks a |
13 |
copy of your fstab in the initramfs and uses it to help find the root |
14 |
partition, assuming you have root in your fstab (if not it will |
15 |
probably yell at you at some point)). |
16 |
|
17 |
You have to use an initramfs to use a UUID to mount your root. |
18 |
|
19 |
-- |
20 |
Rich |