symbol
Member
Posts: 15
Likes: 5
|
Post by symbol on Dec 29, 2023 3:54:17 GMT
www.bodhilinux.com/w/working-with-kernelsHi, I am using the bodhi linux 7.0.0 which comes with a 5.15 kernel on my macbook pro.How to search for 6.x kernel and install them as an alternative kernel on boot? $ inxi -Faz | head -n 10 && echo ... &&inxi -Faz | tail -n 10 System: Kernel: 5.15.0-91-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.15.0-91-generic root=UUID=94e58e43-e723-49e5-a25d-7f94cc120705 ro quiet splash Desktop: Xfce 4.16.0 tk: Gtk 3.24.23 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 dm: LightDM 1.30.0 Distro: Ubuntu 22.04 (Jammy Jellyfish) Machine: Type: Laptop System: Apple product: MacBookPro10,1 v: 1.0 serial: <superuser required> Chassis: type: 10 v: Mac-C3EC7CD22292981F serial: <superuser required> ... ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile Sensors: System Temperatures: cpu: 58.0 C mobo: 46.0 C gpu: nvidia temp: 55 C Fan Speeds (RPM): N/A Info: Processes: 307 Uptime: 9h 46m wakeups: 2 Memory: 15.52 GiB used: 2.79 GiB (18.0%) Init: systemd v: 249 runlevel: 5 tool: systemctl Compilers: gcc: 11.4.0 alt: 11/12 Packages: apt: 1478 lib: 772 Shell: Bash v: 5.1.16 running-in: guake inxi: 3.3.13 insert code here
|
|
enigma9o7
Crew Member
Posts: 1,432
Likes: 1,338
|
Post by enigma9o7 on Dec 29, 2023 4:31:43 GMT
To search for all available kernel packages in repository: apt search linux* "kernel and headers" I recommend installing generic hwe or oem kernels, and only ones meant for ubuntu 22.04 (that bodhi 7 is based on), so with a little filtering that leaves:
So to install hwe 6.2: sudo apt install linux-generic-hwe-22.04
Or for oem 6.5:
sudo apt install linux-oem-22.04d
For more details, read tutorial I wrote earlier, although note its not updated for Bodhi 7, same general idea applies. And ask if anything not clear!
|
|
symbol
Member
Posts: 15
Likes: 5
|
Post by symbol on Dec 29, 2023 16:48:09 GMT
The following code works:
sudo apt install linux-oem-22.04d
System: Kernel: 6.5.0-1009-oem x86_64 bits: 64 compiler: N/A parameters: BOOT_IMAGE=/boot/vmlinuz-6.5.0-1009-oem root=UUID=94e58e43-e723-49e5-a25d-7f94cc120705 ro quiet splash Desktop: Xfce 4.16.0 tk: Gtk 3.24.23 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 dm: LightDM 1.30.0 Distro: Ubuntu 22.04 (Jammy Jellyfish) Machine: Type: Laptop System: Apple product: MacBookPro10,1 v: 1.0 serial: <superuser required> Chassis: type: 10 v: Mac-C3EC7CD22292981F serial: <superuser required> ... ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile Sensors: System Temperatures: cpu: 72.0 C mobo: 50.0 C gpu: nvidia temp: 63 C Fan Speeds (RPM): N/A Info: Processes: 294 Uptime: 1m wakeups: 2 Memory: 15.52 GiB used: 2.59 GiB (16.7%) Init: systemd v: 249 runlevel: 5 tool: systemctl Compilers: gcc: 11.4.0 alt: 11/12 Packages: apt: 1492 lib: 776 Shell: Bash v: 5.1.16 running-in: guake inxi: 3.3.13
|
|
|
Post by dirtydog01 on Mar 5, 2024 21:20:22 GMT
The following code works: sudo apt install linux-oem-22.04d System: Kernel: 6.5.0-1009-oem x86_64 bits: 64 compiler: N/A parameters: BOOT_IMAGE=/boot/vmlinuz-6.5.0-1009-oem root=UUID=94e58e43-e723-49e5-a25d-7f94cc120705 ro quiet splash Desktop: Xfce 4.16.0 tk: Gtk 3.24.23 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 dm: LightDM 1.30.0 Distro: Ubuntu 22.04 (Jammy Jellyfish) Machine: Type: Laptop System: Apple product: MacBookPro10,1 v: 1.0 serial: <superuser required> Chassis: type: 10 v: Mac-C3EC7CD22292981F serial: <superuser required> ... ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile Sensors: System Temperatures: cpu: 72.0 C mobo: 50.0 C gpu: nvidia temp: 63 C Fan Speeds (RPM): N/A Info: Processes: 294 Uptime: 1m wakeups: 2 Memory: 15.52 GiB used: 2.59 GiB (16.7%) Init: systemd v: 249 runlevel: 5 tool: systemctl Compilers: gcc: 11.4.0 alt: 11/12 Packages: apt: 1492 lib: 776 Shell: Bash v: 5.1.16 running-in: guake inxi: 3.3.13
|
|
|
Post by dirtydog01 on Mar 5, 2024 21:21:33 GMT
The following code works: sudo apt install linux-oem-22.04d System: Kernel: 6.5.0-1009-oem x86_64 bits: 64 compiler: N/A parameters: BOOT_IMAGE=/boot/vmlinuz-6.5.0-1009-oem root=UUID=94e58e43-e723-49e5-a25d-7f94cc120705 ro quiet splash Desktop: Xfce 4.16.0 tk: Gtk 3.24.23 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 dm: LightDM 1.30.0 Distro: Ubuntu 22.04 (Jammy Jellyfish) Machine: Type: Laptop System: Apple product: MacBookPro10,1 v: 1.0 serial: <superuser required> Chassis: type: 10 v: Mac-C3EC7CD22292981F serial: <superuser required> ... ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile Sensors: System Temperatures: cpu: 72.0 C mobo: 50.0 C gpu: nvidia temp: 63 C Fan Speeds (RPM): N/A Info: Processes: 294 Uptime: 1m wakeups: 2 Memory: 15.52 GiB used: 2.59 GiB (16.7%) Init: systemd v: 249 runlevel: 5 tool: systemctl Compilers: gcc: 11.4.0 alt: 11/12 Packages: apt: 1492 lib: 776 Shell: Bash v: 5.1.16 running-in: guake inxi: 3.3.13
|
|
|
Post by dirtydog01 on Mar 5, 2024 21:22:43 GMT
Thanks,worked perfectly 😉
|
|
enigma9o7
Crew Member
Posts: 1,432
Likes: 1,338
|
Post by enigma9o7 on Mar 5, 2024 22:56:08 GMT
I think now the hwe kernel is the newest available anyway, not any of the oem kernels. But my first reply should show how to check that.
|
|