Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #269511 > unrolled thread

migrating grub from BIOS to UEFI loses /etc/default/grub

Started byHarald Dunkel <harald.dunkel@aixigo.com>
First post2024-05-24 10:40 +0200
Last post2024-05-28 13:10 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  migrating grub from BIOS to UEFI loses /etc/default/grub Harald Dunkel <harald.dunkel@aixigo.com> - 2024-05-24 10:40 +0200
    Re: migrating grub from BIOS to UEFI loses /etc/default/grub Florent Rougon <f.rougon@free.fr> - 2024-05-25 10:20 +0200
      Re: migrating grub from BIOS to UEFI loses /etc/default/grub Harald Dunkel <harald.dunkel@aixigo.com> - 2024-05-28 09:20 +0200
        Re: migrating grub from BIOS to UEFI loses /etc/default/grub Florent Rougon <f.rougon@free.fr> - 2024-05-28 13:10 +0200

#269511 — migrating grub from BIOS to UEFI loses /etc/default/grub

FromHarald Dunkel <harald.dunkel@aixigo.com>
Date2024-05-24 10:40 +0200
Subjectmigrating grub from BIOS to UEFI loses /etc/default/grub
Message-ID<IHyCZ-fsOG-1@gated-at.bofh.it>
Hi folks,

if I migrate from grub-pc to grub-uefi, then grub-pc.postrm
removes /etc/default/grub on the final purge.

grub2 doesn't provide much information in its man pages, but
AFAICT /etc/default/grub is still processed for UEFI, so why
is it deleted?

Regards
Harri

[toc] | [next] | [standalone]


#269550

FromFlorent Rougon <f.rougon@free.fr>
Date2024-05-25 10:20 +0200
Message-ID<IHUNb-fGut-5@gated-at.bofh.it>
In reply to#269511
Hi,

Le 24/05/2024, Harald Dunkel <harald.dunkel@aixigo.com> a écrit:

> if I migrate from grub-pc to grub-uefi, then grub-pc.postrm
> removes /etc/default/grub on the final purge.

I confirm the behavior, have been bitten by this. IMHO, it is a nasty
bug: suppose your rely on your kernel command line to disable, say, the
IPv6 stack—because you don't need it and your firewall rules don't
handle IPv6. When grub-pc is purged, the IPv6 stack gets silently
activated on your box, even though you are still naked regarding the
firewall. :(

Regards

-- 
Florent

[toc] | [prev] | [next] | [standalone]


#269626

FromHarald Dunkel <harald.dunkel@aixigo.com>
Date2024-05-28 09:20 +0200
Message-ID<IIZhL-gmvw-1@gated-at.bofh.it>
In reply to#269550
Full thread is on debian-boot mailing list.

[toc] | [prev] | [next] | [standalone]


#269632

FromFlorent Rougon <f.rougon@free.fr>
Date2024-05-28 13:10 +0200
Message-ID<IJ2Sl-goFh-9@gated-at.bofh.it>
In reply to#269626
Le 28/05/2024, Harald Dunkel <harald.dunkel@aixigo.com> a écrit:

> Full thread is on debian-boot mailing list.

I've read it now, thanks for the info, Harald!

Regards

-- 
Florent

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web