1 |
This |
2 |
https://wiki.gentoo.org/wiki/GRUB2/Configuration_variables |
3 |
|
4 |
has |
5 |
|
6 |
GRUB_DISABLE_LINUX_UUID false If true, ${GRUB_DEVICE} is passed in the root |
7 |
parameter on the kernel command line. |
8 |
|
9 |
If false, ${GRUB_DEVICE_UUID} is passed in the root parameter on the kernel |
10 |
command line when an initramfs is available. |
11 |
|
12 |
So it looks like i can't set root= to a UUID unless i use an initramfs - |
13 |
can anyone confirm? |
14 |
|
15 |
In /usr/src/linux/admin-guide/kernel-parameters.txt it has; |
16 |
root= [KNL] Root filesystem |
17 |
See name_to_dev_t comment in init/do_mounts.c. |
18 |
|
19 |
And in do_mounts.c it mentions PARTUUID= and PARTLABEL= but i dont know C |
20 |
so don't know what to make of it. |
21 |
|
22 |
Background is that after adding a new disk the system doesn't boot, so i'm |
23 |
assuming that the /dev/sdX device names are now pointing to different |
24 |
hardware, so i want to fix that by using persistent names. |