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

Re: os-prober Just a Rant



On Fri, 26 May 2023 11:28:04 +0200
Hans <hans.ullrich@loop.de> wrote:

> Am Donnerstag, 25. Mai 2023, 19:16:29 CEST schrieb Peter Ehlert:
> After upgrade to bookworm, the file /etc/default/grub 
> was overwritten. It misses the entry like the former post mentioned. 
> 
> You will have to add it manually. After this, other OS are beeing
> seen.
> 
> Do not know, why the maintainer did delete this entry, he mighjt have
> his reasons. However, if you miss this change you are confused at the
> first time.
> 
> Just wanted to inform other people.
> 

It's just the standard overwriting of configuration files during
upgrade. Apt normally warns if the new version differs from the old
and asks which you want to keep, but it's not always a simple decision
and sometimes keeping the old file causes the program itself not to
work.

There is an etc/default/grub.d, which by analogy with other xxxx.d
directories, can contain user overrides which are not touched by
upgrades, but I made a quick attempt here which failed and I didn't
have time to mess around with it. I can't find an example of doing it
correctly on the Net, which is surprising, all the references I find
are just for /etc/default/grub. Maybe someone here knows the right way?

-- 
Joe


Reply to: