help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub-mkconfig os-prober did not update UUID


From: Pascal Hambourg
Subject: Re: grub-mkconfig os-prober did not update UUID
Date: Fri, 4 Sep 2020 23:46:30 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

Hello,

Le 04/09/2020 à 18:00, Claude Robitaille a écrit :

I am copying a root FS on a different partition, hence the UUID needed to boot 
from that new partition is different. I am running grub-mkconfig on the main 
partition (with os-prober installed and the new partition mounted).

The resulting /boot/grub/grub.cfg is perfect; the new partition menuentry is 
created as expected in the /etc/grub.d/30_os-prober section. Except for one 
glitch: every UUID referenced in that menuentry were updated EXCEPT the most 
important one; the linux kernel command line argument root= still has the 
original UUID. Manually updating it prove that the menuentry is otherwise Ok 
(by booting using it).

grub-mkconfig gets the kernel command line parameters from the foreign grub.cfg when it exists. You must update it with the new UUID when moving a system.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]