Page 1 of 1

how to upgrade 21.3 to 23? and on rebuilding kernel?

Posted: Wed Aug 02, 2023 9:36 pm
by signaloss
hello friends,

i have this heavily customised 21.3 that i'm enjoying using: i have not installed mx into hard disk, its a frugal install and all RAM loaded and flies beautifully! but i wonder is it possible to install new kernel from source and how to with this setup?

of course i desire to migrate to 23 but from what i've read, seems advised for hard disk installed mx not frugal.

thanks in advance for any insight,

my qsi:

Code: Select all

Snapshot created on: 20230802_1349
System:    Kernel: 6.4.7-x64v4-xanmod1 x86_64 bits: 64 compiler: gcc v: 12.3.0 
           parameters: BOOT_IMAGE=/latest-linux/vmlinuz bdir=latest-linux 
           buuid=b4d564ab-3e7c-480d-9694-b7a8f76b261c toram frugal_root 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: jagernotix-21.3_x64 xanmod August 02  2023 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: HP product: HP Laptop 15-bw0xx v: Type1ProductConfigId 
           serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: HP model: 8333 v: 28.28 serial: <filter> UEFI: Insyde v: F.13 date: 09/07/2017 
CPU:       Info: Quad Core model: AMD A10-9620P RADEON R5 10 COMPUTE CORES 4C+6G bits: 64 
           type: MCP arch: Excavator family: 15 (21) model-id: 65 (101) stepping: 1 
           microcode: 6006118 cache: L2: 1024 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 19960 
           Speed: 1300 MHz min/max: 1300/2100 MHz boost: enabled Core speeds (MHz): 1: 2705 
           2: 2783 3: 2807 4: 2795 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: mmio_stale_data status: Not affected 
           Type: retbleed mitigation: untrained return thunk; SMT vulnerable 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD Wani [Radeon R5/R6/R7 Graphics] vendor: Hewlett-Packard driver: amdgpu 
           v: kernel bus-ID: 00:01.0 chip-ID: 1002:9874 class-ID: 0300 
           Device-2: Cheng Uei Precision Industry (Foxlink) HP TrueVision HD Camera type: USB 
           driver: uvcvideo bus-ID: 2-1:2 chip-ID: 05c8:03ac class-ID: 0e02 serial: <filter> 
           Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.18.0 driver: loaded: amdgpu 
           note: n/a (using device driver) display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3") 
           s-diag: 583mm (23") 
           Monitor-1: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 96 size: 509x286mm (20.0x11.3") 
           diag: 584mm (23") 
           OpenGL: renderer: AMD CARRIZO (LLVM 14.0.5 DRM 3.52 6.4.7-x64v4-xanmod1) 
           v: 4.6 Mesa 22.0.5 direct render: Yes 
Audio:     Device-1: AMD Kabini HDMI/DP Audio vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus-ID: 00:01.1 chip-ID: 1002:9840 class-ID: 0403 
           Device-2: AMD Family 15h Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
           bus-ID: 00:09.2 chip-ID: 1022:157a class-ID: 0403 
           Device-3: Generalplus USB Audio Device type: USB 
           driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-1.1.1:5 chip-ID: 1b3f:2007 
           class-ID: 0300 
           Sound Server-1: ALSA v: k6.4.7-x64v4-xanmod1 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: Hewlett-Packard driver: r8169 v: kernel port: 4000 bus-ID: 01:00.0 
           chip-ID: 10ec:8168 class-ID: 0200 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> 
           Device-2: Realtek RTL8723DE 802.11b/g/n PCIe Adapter vendor: Hewlett-Packard 
           driver: rtw_8723de v: N/A modules: rtw88_8723de port: 3000 bus-ID: 02:00.0 
           chip-ID: 10ec:d723 class-ID: 0280 
           IF: wlan0 state: down mac: <filter> 
Bluetooth: Device-1: Realtek Realtek Bluetooth 4.2 Adapter type: USB driver: btusb v: 0.8 
           bus-ID: 1-1.4:12 chip-ID: 0bda:b009 class-ID: e001 serial: <filter> 
           Report: hciconfig ID: hci0 rfk-id: 3 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2 
           sub-v: 96f1 hci-v: 4.2 rev: 828a 
           Info: acl-mtu: 1021:8 sco-mtu: 255:12 link-policy: rswitch hold sniff park 
           link-mode: slave accept service-classes: rendering, capturing, audio 
Drives:    Local Storage: total: 961.78 GiB used: 855.67 GiB (89.0%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10JPVX-60JC3T1 
           size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD 
           rpm: 5400 serial: <filter> rev: 1A02 scheme: GPT 
           ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: Generic model: SD MMC MS PRO 
           size: 30.27 GiB block-size: physical: 512 B logical: 512 B type: SSD serial: <filter> 
           rev: 1.00 scheme: MBR 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 50 (default 100) 
           ID-1: swap-1 type: partition size: 3.89 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/sda3 maj-min: 8:3 
Sensors:   System Temperatures: cpu: 92.0 C mobo: 20.0 C 
           Fan Speeds (RPM): N/A 
           GPU: device: amdgpu temp: 92.0 C device: amdgpu temp: 51.0 C 
Repos:     Packages: note: see --pkg apt: 2008 lib: 1011 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list 
           1: deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/liquorix.list 
           1: deb [arch=amd64 signed-by=/etc/apt/keyrings/liquorix-keyring.gpg] https://liquorix.net/debian bullseye main
           2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/liquorix-keyring.gpg] https://liquorix.net/debian bullseye main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye main non-free
           2: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye ahs
           Active apt repos in: /etc/apt/sources.list.d/xanmod-release.list 
           1: deb [signed-by=/usr/share/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org releases main
Info:      Processes: 249 Uptime: 17h 0m wakeups: 11 Memory: 15.09 GiB used: 5.6 GiB (37.1%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: UEFI

Re: how to upgrade 21.3 to 23? and on rebuilding kernel?

Posted: Wed Aug 02, 2023 9:41 pm
by Stevo
First you should tell us exactly which kernel you intend to rebuild from source.

Maybe tell us the reason you intent to do so, too. If it's another xanmod kernel, you should ask them.