Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Neutrinos are into physicists.


computers / alt.os.linux.mageia / Re: oldkernelsrm

SubjectAuthor
* oldkernelsrmGrimble
`* Re: oldkernelsrmDavid W. Hodgins
 `* Re: oldkernelsrmGrimble
  `- Re: oldkernelsrmDavid W. Hodgins

1
oldkernelsrm

<stoupt$7bv$1@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=4469&group=alt.os.linux.mageia#4469

 copy link   Newsgroups: alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: grim...@nomail.afraid.org (Grimble)
Newsgroups: alt.os.linux.mageia
Subject: oldkernelsrm
Date: Sun, 6 Feb 2022 16:59:40 +0000
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <stoupt$7bv$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 6 Feb 2022 16:59:41 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="582926c39f776ad9a772810fa943f065";
logging-data="7551"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WA2dclAnMx4LfuyHEwVNp"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.3.2
Cancel-Lock: sha1:JEOroC7cexZd2YGgqLlmB9HNlK4=
 by: Grimble - Sun, 6 Feb 2022 16:59 UTC

Directed to Dave Hodgins:
Dave, I just used your script to remove old kernels. Normally there's no
additional output but this time for each of 4 kernels there was this:

removing package kernel-desktop-5.15.4-1.mga8-1-1.mga8.x86_64
2/4: removing kernel-desktop-5.15.4-1.mga8-1-1.mga8.x86_64
###################################################################################################
Usage: grub2-set-default [OPTION] MENU_ENTRY
Set the default boot menu entry for GRUB.
This requires setting GRUB_DEFAULT=saved in /etc/default/grub.

-h, --help print this message and exit
-V, --version print the version information and exit
--boot-directory=DIR expect GRUB images under the directory DIR/grub2
instead of the /boot/grub2 directory

MENU_ENTRY is a number, a menu item title or a menu item identifier.

Report bugs to <bug-grub@gnu.org>.

A bit strange.....
--
Grimble
Registered Linux User #450547
Machine 'Bach' running Plasma 5.20.4 on 5.15.18-desktop-2.mga8 kernel.
Mageia release 8 (Official) for x86_64

Re: oldkernelsrm

<op.1g6md7hea3w0dxdave@hodgins.homeip.net>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=4470&group=alt.os.linux.mageia#4470

 copy link   Newsgroups: alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dwhodg...@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux.mageia
Subject: Re: oldkernelsrm
Date: Sun, 06 Feb 2022 13:45:33 -0500
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <op.1g6md7hea3w0dxdave@hodgins.homeip.net>
References: <stoupt$7bv$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="4287dc03ab049c3da60b3cadda03d776";
logging-data="12150"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9UpGZi1zrzgZMKjyhiOmY3x5yXlZ8wU8="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:BqqbkLsadJHqNyx2josiwYMYr40=
 by: David W. Hodgins - Sun, 6 Feb 2022 18:45 UTC

On Sun, 06 Feb 2022 11:59:40 -0500, Grimble <grimble@nomail.afraid.org> wrote:
> removing package kernel-desktop-5.15.4-1.mga8-1-1.mga8.x86_64
> 2/4: removing kernel-desktop-5.15.4-1.mga8-1-1.mga8.x86_64
>###################################################################################################
> Usage: grub2-set-default [OPTION] MENU_ENTRY
> Set the default boot menu entry for GRUB.
> This requires setting GRUB_DEFAULT=saved in /etc/default/grub.
>
> -h, --help print this message and exit
> -V, --version print the version information and exit
> --boot-directory=DIR expect GRUB images under the directory DIR/grub2
> instead of the /boot/grub2 directory
>
> MENU_ENTRY is a number, a menu item title or a menu item identifier.
>
> Report bugs to <bug-grub@gnu.org>.

That's coming from update-grub when it's automatically run after removing a
kernel using rpm or urpme commands, which the oldkernelrm script generates.

What's the contents of /etc/default/grub?

Regards, Dave Hodgins

Re: oldkernelsrm

<strdgl$2i2$1@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=4471&group=alt.os.linux.mageia#4471

 copy link   Newsgroups: alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: grim...@nomail.afraid.org (Grimble)
Newsgroups: alt.os.linux.mageia
Subject: Re: oldkernelsrm
Date: Mon, 7 Feb 2022 15:23:00 +0000
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <strdgl$2i2$1@dont-email.me>
References: <stoupt$7bv$1@dont-email.me>
<op.1g6md7hea3w0dxdave@hodgins.homeip.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 7 Feb 2022 15:23:01 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1ad2461ca72d511d91e2150022967539";
logging-data="2626"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18QxpaUwk243SNgIfkvvoUP"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:2gXkbotQff6K/CxugBMDFY+tJPc=
In-Reply-To: <op.1g6md7hea3w0dxdave@hodgins.homeip.net>
 by: Grimble - Mon, 7 Feb 2022 15:23 UTC

On 06/02/2022 18:45, David W. Hodgins wrote:
> On Sun, 06 Feb 2022 11:59:40 -0500, Grimble <grimble@nomail.afraid.org>
> wrote:
>> removing package kernel-desktop-5.15.4-1.mga8-1-1.mga8.x86_64
>>        2/4: removing kernel-desktop-5.15.4-1.mga8-1-1.mga8.x86_64
>> ###################################################################################################
>>
>> Usage: grub2-set-default [OPTION] MENU_ENTRY
>> Set the default boot menu entry for GRUB.
>> This requires setting GRUB_DEFAULT=saved in /etc/default/grub.
>>
>>    -h, --help              print this message and exit
>>    -V, --version           print the version information and exit
>>    --boot-directory=DIR    expect GRUB images under the directory
>> DIR/grub2
>>                            instead of the /boot/grub2 directory
>>
>> MENU_ENTRY is a number, a menu item title or a menu item identifier.
>>
>> Report bugs to <bug-grub@gnu.org>.
>
> That's coming from update-grub when it's automatically run after removing a
> kernel using rpm or urpme commands, which the oldkernelrm script generates.
>
> What's the contents of /etc/default/grub?
>
> Regards, Dave Hodgins
/etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="splash quiet noiswmd
resume=UUID=ca3503c1-ae8b-40a0-b1a8-30743e411bea audit=0 vga=791"
GRUB_DEFAULT=saved
GRUB_DISABLE_OS_PROBER=false
GRUB_DISABLE_RECOVERY=false
GRUB_DISABLE_SUBMENU=n
GRUB_DISTRIBUTOR=Mageia
GRUB_ENABLE_CRYPTODISK=y
GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD_LINUX=text
GRUB_SAVEDEFAULT=true
GRUB_TERMINAL_OUTPUT=gfxterm
GRUB_THEME=/boot/grub2/themes/maggy/theme.txt
GRUB_TIMEOUT=10

So it looks as though GRUB_DEFAULT is correct.

--
Grimble
Registered Linux User #450547
Machine 'Bach' running Plasma 5.20.4 on 5.15.18-desktop-2.mga8 kernel.
Mageia release 8 (Official) for x86_64

Re: oldkernelsrm

<op.1g8gwplda3w0dxdave@hodgins.homeip.net>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=4472&group=alt.os.linux.mageia#4472

 copy link   Newsgroups: alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dwhodg...@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux.mageia
Subject: Re: oldkernelsrm
Date: Mon, 07 Feb 2022 13:42:15 -0500
Organization: A noiseless patient Spider
Lines: 73
Message-ID: <op.1g8gwplda3w0dxdave@hodgins.homeip.net>
References: <stoupt$7bv$1@dont-email.me>
<op.1g6md7hea3w0dxdave@hodgins.homeip.net> <strdgl$2i2$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="3a56561d79aa7d6007447016d393233f";
logging-data="28231"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/4N0zjn2aSIjLfP3MbwO1KC1tjB/pv1I="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:3dzKd5OBAdbaLZg68FK+rMrDrIQ=
 by: David W. Hodgins - Mon, 7 Feb 2022 18:42 UTC

On Mon, 07 Feb 2022 10:23:00 -0500, Grimble <grimble@nomail.afraid.org> wrote:
> On 06/02/2022 18:45, David W. Hodgins wrote:
>> On Sun, 06 Feb 2022 11:59:40 -0500, Grimble <grimble@nomail.afraid.org>
>> wrote:
>>> removing package kernel-desktop-5.15.4-1.mga8-1-1.mga8.x86_64
>>> 2/4: removing kernel-desktop-5.15.4-1.mga8-1-1.mga8.x86_64
>>> ###################################################################################################
>>>
>>> Usage: grub2-set-default [OPTION] MENU_ENTRY
>>> Set the default boot menu entry for GRUB.
>>> This requires setting GRUB_DEFAULT=saved in /etc/default/grub.
>>>
>>> -h, --help print this message and exit
>>> -V, --version print the version information and exit
>>> --boot-directory=DIR expect GRUB images under the directory
>>> DIR/grub2
>>> instead of the /boot/grub2 directory
>>>
>>> MENU_ENTRY is a number, a menu item title or a menu item identifier.
>>>
>>> Report bugs to <bug-grub@gnu.org>.
>>
>> That's coming from update-grub when it's automatically run after removing a
>> kernel using rpm or urpme commands, which the oldkernelrm script generates.
>>
>> What's the contents of /etc/default/grub?

> /etc/default/grub:
> GRUB_CMDLINE_LINUX_DEFAULT="splash quiet noiswmd
> resume=UUID=ca3503c1-ae8b-40a0-b1a8-30743e411bea audit=0 vga=791"
> GRUB_DEFAULT=saved
> GRUB_DISABLE_OS_PROBER=false
> GRUB_DISABLE_RECOVERY=false
> GRUB_DISABLE_SUBMENU=n
> GRUB_DISTRIBUTOR=Mageia
> GRUB_ENABLE_CRYPTODISK=y
> GRUB_GFXMODE=1024x768x32
> GRUB_GFXPAYLOAD_LINUX=text
> GRUB_SAVEDEFAULT=true
> GRUB_TERMINAL_OUTPUT=gfxterm
> GRUB_THEME=/boot/grub2/themes/maggy/theme.txt
> GRUB_TIMEOUT=10
>
> So it looks as though GRUB_DEFAULT is correct.

Yes. That looks fine. Mine has $ cat /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="noiswmd modprobedebug rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0 audit=0 rd.driver.pre=ehci_hcd net.ifnames=0 pcie_port_pm=off pcie_aspm=off 3 nosmt=force vga=788"
GRUB_DEFAULT=saved
GRUB_DISABLE_OS_PROBER=false
GRUB_DISABLE_RECOVERY=false
GRUB_DISABLE_SUBMENU=n
GRUB_DISTRIBUTOR=Mageia
GRUB_ENABLE_CRYPTODISK=y
GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD_LINUX=text
GRUB_SAVEDEFAULT=true
GRUB_TERMINAL_OUTPUT=gfxterm
GRUB_THEME=/boot/grub2/themes/maggy/theme.txt
GRUB_TIMEOUT=7

I've checked and the last time that error msg was included in a bug report was
around 18 months ago.
https://bugs.mageia.org/show_bug.cgi?id=27215#c13

That msg was overlooked at that time as it occurred during kernel installation
and the reboot into the new kernel worked ok. I've never seen it on one of my
kernel installs or removals.

I have no idea what's causing it. If you can recreate it, which will likely
require re-installing an older kernel, please open a bug report. The kernel/grub
experts will likely be able to figure it out.

Regards, Dave Hodgins

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor