songbird <
song...@anthive.com> wrote:
...
> but generally when you switch hardware it is probably
> not a good idea to reuse a previous install of the modules
> and initramfs if it also has modules in it. it may confuse
> things.
I thought Linux just detects changes and new hardwares. I was surprised
it even booted up.
> to avoid reinstalling you may need to regenerate your
> initramfs and since i've not done that other installing
> a new kernel which does that for me. so perhaps you
> could try that?
Hmm, I o
> # dpkg -l | grep linux-image
$ dpkg -l | grep linux-image
ii linux-image-5.10.0-21-amd64 5.10.162-1 amd64 Linux 5.10 for 64-bit PCs (signed)
ii linux-image-amd64 5.10.162-1 amd64 Linux for 64-bit PCs (meta-package)
> pick out the image you want to use from the list, i'm
> usually running the most recent one.
Same. I usually uninstall the old kernels once I know the new one is
working fine.
> then:
> # apt-get install linux-image-version-stuff --reinstall
> maybe that will clear things up for you?
> i don't think it would hurt to try.
> that's about as far as i can go with this answer...
> good luck
$ sudo apt-get install linux-image-5.10.0-21-amd64 linux-image-amd64 --reinstall
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
Need to get 55.5 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1
http://security.debian.org/debian-security bullseye-security/main amd64 linux-image-5.10.0-21-amd64 amd64 5.10.162-1 [55.5 MB]
Get:2
http://security.debian.org/debian-security bullseye-security/main amd64 linux-image-amd64 amd64 5.10.162-1 [1,484 B]
Fetched 55.5 MB in 2s (30.0 MB/s)
(Reading database ... 326174 files and directories currently installed.)
Preparing to unpack .../linux-image-5.10.0-21-amd64_5.10.162-1_amd64.deb ...
Unpacking linux-image-5.10.0-21-amd64 (5.10.162-1) over (5.10.162-1) ...
Preparing to unpack .../linux-image-amd64_5.10.162-1_amd64.deb ...
Unpacking linux-image-amd64 (5.10.162-1) over (5.10.162-1) ...
Setting up linux-image-5.10.0-21-amd64 (5.10.162-1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.10.0-21-amd64
W: initramfs-tools configuration sets RESUME=UUID=7f52c5a5-0a8f-478e-bbc6-fb22204a06ed
W: but no matching swap device is available.
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5.10.0-21-amd64
Found initrd image: /boot/initrd.img-5.10.0-21-amd64
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.
done
Setting up linux-image-amd64 (5.10.162-1) ...
Scanning processes...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
Failed to check for processor microcode upgrades.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
$ ls -all /boot
total 52680
drwxr-xr-x 3 root root 4096 Apr 10 22:14 .
drwxr-xr-x 19 root root 4096 Apr 9 16:54 ..
-rw-r--r-- 1 root root 236452 Jan 21 06:35 config-5.10.0-21-amd64
drwxr-xr-x 5 root root 4096 Apr 10 22:14 grub
-rw-r--r-- 1 root root 46666677 Apr 10 22:14 initrd.img-5.10.0-21-amd64
-rw-r--r-- 1 root root 83 Jan 21 06:35 System.map-5.10.0-21-amd64
-rw-r--r-- 1 root root 7019136 Jan 21 06:35 vmlinuz-5.10.0-21-amd64
I hope that is OK.
--
"So then, just as you received Christ Jesus as Lord, continue to live in him, rooted and built up in him, strengthened in the faith as you were taught, and overflowing with thankfulness." --Colossians 2:6. Slammy Easter weekend and new week so far. :(