Hi,

Usually I save the output of the "apt --update dist-upgrade" command using the "script" command:

~# script -T ~/upgrade-trixie_1.time -a ~/upgrade-trixie_1.script

Sadly I forgot to change the "locale" into the "script" session running the command:

~# export LC_ALL=C.UTF-8 LANGUAGE=

so the output of "apt" was set to my locale (it_IT.UTF-8). I hope this doesn't hurt…

I've UEFI disabled in the BIOS, it happened that during the grub-pc package upgrade the "grub-install" command was executed installing "grub" on the wrong MBR (/dev/sdb) since my system boots reading the /dev/sda MBR.

✂✂✂  ✂✂✂  ✂✂✂  ✂✂✂  ✂✂✂  ✂✂✂
Configurazione di grub-pc (2.12-9+deb13u1)...
grub-pc: Running grub-install ...
Installazione per la piattaforma i386-pc.
File descriptor 3 (pipe:[55268]) leaked on vgs invocation. Parent PID 27962: grub-install File descriptor 3 (pipe:[55268]) leaked on vgs invocation. Parent PID 27962: grub-install File descriptor 3 (pipe:[55268]) leaked on vgs invocation. Parent PID 27962: grub-install
Installazione completata, nessun errore segnalato.
  grub-install success for /dev/sdb
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.12.74+deb13+1-amd64
Found initrd image: /boot/initrd.img-6.12.74+deb13+1-amd64
Found linux image: /boot/vmlinuz-6.12.63+deb13-amd64
Found initrd image: /boot/initrd.img-6.12.63+deb13-amd64
Found linux image: /boot/vmlinuz-6.12.63
Found initrd image: /boot/initrd.img-6.12.63
Found linux image: /boot/vmlinuz-6.12.57
Found initrd image: /boot/initrd.img-6.12.57
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Debian GNU/Linux 11 (bullseye) on /dev/mapper/ld0-lv1
Found Debian GNU/Linux 12 (bookworm) on /dev/mapper/ld0-lv2
Found Debian GNU/Linux 9 (stretch) on /dev/mapper/ld0-lv4
Found Debian GNU/Linux 10 (buster) on /dev/mapper/ld0-lv5
Adding boot menu entry for UEFI Firmware Settings ...
done
✂✂✂  ✂✂✂  ✂✂✂  ✂✂✂  ✂✂✂  ✂✂✂

IMHO it would be better if a warning appears on the screen saying that it is necessary to update the MBR where "grub" is installed, instead to silently update the (wrong) MBR. Any opinions?

Kind regards
--
Franco Martelli

Reply via email to