On 07/27/2018 11:19 AM, Patrick Dupre wrote:
>
> On 07/27/2018 04:14 AM, Patrick Dupre wrote:
>> If I run a system on VolSys1-root, and if I run grub2-mkconfig
>> with
>> GRUB_CMDLINE_LINUX="rd.lvm.lv=VolSys0/root nouveau.modeset=0"
>> in /etc/default/grub
>> I get in grub.cfg
>>
>> linux16 /vmlinuz-4.16.11-100.fc26.x86_64 root=/dev/mapper/VolSys1-root ro
rd.lvm.lv=VolSys0/root nouveau.modeset=0
>>
>> Is it not an issue ?
>
> What part of that are you concerned about?
VolSys1-root versus VolSys0-root
Grub does not interpret what you put in the kernel command line. It
merely copies it. You are running mkconfig from that root partition, so
that's what it puts as the root parameter in the generated config file.