動機:使用新筆電之後
1. 無線網卡相對不穩定
2. 筆電 webcam ,在使用 OBS 直播一段時間後會當機,其餘錄影畫面沒有異常
3. 使用 OBS 的錄音,其品質很不穩定,非常困擾
回頭查自己的筆記,
20200712 安裝 LINUX 到新筆電-----遇到無法開機問題
才想起當時是使用 這網頁的 deb
https://kernel.ubuntu.com/mainline/
-------------------------
把四個檔案放到一個子目錄
$ cd /home/knownit/20240404-kernel6.8.3
$ ls
linux-headers-6.8.3-060803_6.8.3-060803.202404031037_all.deb
linux-headers-6.8.3-060803-generic_6.8.3-060803.202404031037_amd64.deb
linux-image-unsigned-6.8.3-060803-generic_6.8.3-060803.202404031037_amd64.deb
linux-modules-6.8.3-060803-generic_6.8.3-060803.202404031037_amd64.deb
$ uname -a 檢查 kernel 版本
Linux knownit-iyc 6.5.0-26-generic #26-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 5 21:19:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
$ sudo dpkg -i linux*.deb
$ sudo dpkg -i linux*.deb
(Reading database ... 386237 files and directories currently installed.)
Preparing to unpack linux-headers-6.8.3-060803_6.8.3-060803.202404031037_all.deb ...
Unpacking linux-headers-6.8.3-060803 (6.8.3-060803.202404031037) over (6.8.3-060803.202404031037) ...
Selecting previously unselected package linux-headers-6.8.3-060803-generic.
Preparing to unpack linux-headers-6.8.3-060803-generic_6.8.3-060803.202404031037_amd64.deb ...
Unpacking linux-headers-6.8.3-060803-generic (6.8.3-060803.202404031037) ...
Selecting previously unselected package linux-image-unsigned-6.8.3-060803-generic.
Preparing to unpack linux-image-unsigned-6.8.3-060803-generic_6.8.3-060803.202404031037_amd64.deb ...
Unpacking linux-image-unsigned-6.8.3-060803-generic (6.8.3-060803.202404031037) ...
Selecting previously unselected package linux-modules-6.8.3-060803-generic.
Preparing to unpack linux-modules-6.8.3-060803-generic_6.8.3-060803.202404031037_amd64.deb ...
Unpacking linux-modules-6.8.3-060803-generic (6.8.3-060803.202404031037) ...
Setting up linux-headers-6.8.3-060803 (6.8.3-060803.202404031037) ...
dpkg: dependency problems prevent configuration of linux-headers-6.8.3-060803-generic:
linux-headers-6.8.3-060803-generic depends on libelf1t64 (>= 0.144); however:
Package libelf1t64 is not installed.
linux-headers-6.8.3-060803-generic depends on libssl3t64 (>= 3.0.0); however:
Package libssl3t64 is not installed.
dpkg: error processing package linux-headers-6.8.3-060803-generic (--install):
dependency problems - leaving unconfigured
Setting up linux-modules-6.8.3-060803-generic (6.8.3-060803.202404031037) ...
Setting up linux-image-unsigned-6.8.3-060803-generic (6.8.3-060803.202404031037) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.5.0-26-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-6.5.0-26-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-6.8.3-060803-generic
I: /boot/initrd.img is now a symlink to initrd.img-6.8.3-060803-generic
Processing triggers for linux-image-unsigned-6.8.3-060803-generic (6.8.3-060803.202404031037) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.8.3-060803-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.8.3-060803-generic
Found initrd image: /boot/initrd.img-6.8.3-060803-generic
Found linux image: /boot/vmlinuz-6.5.0-26-generic
Found initrd image: /boot/initrd.img-6.5.0-26-generic
Found linux image: /boot/vmlinuz-6.5.0-25-generic
Found initrd image: /boot/initrd.img-6.5.0-25-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Errors were encountered while processing: 這怎麼回事
linux-headers-6.8.3-060803-generic
------------------------------------------
看到可以安裝 mainline 套件
https://phoenixnap.com/kb/how-to-update-kernel-ubuntu
--------------------------------
https://superuser.com/questions/208502/how-to-add-a-new-kernel-to-grub2
sudo update-grub
[sudo] password for knownit:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.8.1-060801-generic
Found initrd image: /boot/initrd.img-6.8.1-060801-generic
Found linux image: /boot/vmlinuz-6.8.0-060800-generic
Found initrd image: /boot/initrd.img-6.8.0-060800-generic
Found linux image: /boot/vmlinuz-6.5.0-26-generic
Found initrd image: /boot/initrd.img-6.5.0-26-generic
Found linux image: /boot/vmlinuz-6.5.0-25-generic
Found initrd image: /boot/initrd.img-6.5.0-25-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done