Hello
Although update-initramfs should be done automatically after installing a new 
kernel, a
update-initramfs -u -k all && update-grubdone manually just after installing a 
new kernel version and before shutting down / rebooting should prevent you from 
having that problem.

It seems that update-initramfs does not recognize the newly installed kernel. A 
problem identifying which is the most current kernel version would cause what a 
wrong update-initramfs without using "all"... but with "all"? It is important 
that next time you inspect in detail the installation of the new kernel: see 
possible APT/DPKG errors when you upgrade, check that there is enough space in 
the partitions, see if an initramfs of the newly installed kernel is generated 
or not ( ls /var/lib/initramfs-tools ; ls /boot ; cat 
/etc/initramfs-tools/update-initramfs.conf ) both automatically and after a 
manual "update-initramfs -u -k all", see grub entries ( cat /boot/grub/grub.cfg 
) both automatically and after a manual "update-grub".

Best regards! 


      De: Andrew McGlashan <andrew.mcglas...@affinityvision.com.au>
 Para: Devuan DNG <dng@lists.dyne.org> 
 Enviado: Domingo 23 de junio de 2019 23:08
 Asunto: [DNG] Weird problem with every kernel update
   
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

Hardware NUC6i7KYK.

Every time I do a kernel upgrade (Devuan ASCII), rebooting loses USB
devices shortly after grub kicks in.

I have to boot a USB stick, which (Devuan Jessie Live), start a rescue
session and do all the following steps:

1. auto-detect RAID devices
2. enter a shell
3. unlock lvms LUKS encrypted volume (which has root and swap)
4. vgchange -ay
5. exit shell

Back to the rescue:
6. start root shell choosing root volume from lv (mounting /boot).
7. /bin/bash
8. update-initramfs -u -k all

Then, every single time I perform these steps, the NUC device will
continue to find USB properly until the next kernel update and I've
got to go through these specific steps again, every single time.

If I do the update and perform step 8 above before rebooting, I still
have a problem; I have to go via the USB live ISO to fix it.

There are external USB disks that are a mirror, when these don't come
up in the dropbear environment, then I know I have the problem.

So, attaching a USB keyboard, I can see it turn off (lights out) when
it gets past the grub stage of boot... so that's when I pull out the
USB live ISO from Devuan Jessie.  It has happened for quite a while
now, but I know exactly how to fix it, but not why it is happening.

- -- 
Kind Regards
AndrewM
-----BEGIN PGP SIGNATURE-----

iHUEAREIAB0WIQTJAoMHtC6YydLfjUOoFmvLt+/i+wUCXQ/mIgAKCRCoFmvLt+/i
+/gZAP9v6QR3Cmvj331jkkknofxfUh+W6dnSu0BjDMUMnTeXSQEAnMm+GzpVaXnu
+cyesqom1c/hIGUV+tqe8MuqxMeo1HY=
=kOpl
-----END PGP SIGNATURE-----
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


   
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to