Porteus Kernel Builder

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
User avatar
Blaze
DEV Team
DEV Team
Posts: 3996
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#2056 by Blaze » 14 Dec 2024, 16:18

or cliexec cheatcode :magic:

Code: Select all

cliexec=my_script
cliexec=my_script;reboot

... Execute specified command(s) in runlevel 3 (before logging
in to a graphical interface).
Use semicolons (;) as command separators with no spaces.
... If you need to use spaces in the command line, replace them
with '~'. For example, 'cliexec=echo~Shutting~power;poweroff'
will echo your text with spaces instead of '~'.
NOTE: to start graphical applications please use 'guiexec='
cheatcode instead.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
AcnapyxoB
Contributor
Contributor
Posts: 234
Joined: 24 Dec 2014, 10:15
Distribution: Porteus
Location: Tellus

Porteus Kernel Builder

Post#2057 by AcnapyxoB » 14 Dec 2024, 16:34

Blaze wrote:
14 Dec 2024, 16:18
or cliexec cheatcode
Thanks again Blaze,
but for me, I think 'rootcopy' is the best choice :beer:
Porteus v5.01 KDE x86_64

User avatar
Blaze
DEV Team
DEV Team
Posts: 3996
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#2058 by Blaze » 15 Dec 2024, 07:30

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel-NNN-XXbit.xzm, 06-crippled_sources-NNN-XXbit.xzm, 32bit.config)

6.12.5 <-- NEW : "All patches" patching was done.
32bit-ALL-kernel6.12.5.tar (~176 M)
https://www.mediafire.com/file/v3gqjmxh ... 6.12.5.tar
c9e35d8a4831091098352bfa37de71e7 32bit-ALL-kernel6.12.5.tar

==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel-NNN-XXbit.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

6.12.5 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.12.5.tar (~197 M)
https://www.mediafire.com/file/6kjkjmcd ... 6.12.5.tar
e515ad59668d6bef0072dc0a8a02aca7 64bit-ALL-kernel6.12.5.tar

Note 1: Compiler that was used.
for kernel 6.12.5: 14.2.0-x86_64

Note 2: Compilated under Porteus 5.1 (Slackware-current base)

Note 3: Cryptsetup 2.6.1
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

RookieAdventures
Ronin
Ronin
Posts: 3
Joined: 29 Nov 2024, 08:00
Distribution: Porteus 5.01
Location: India

Porteus Kernel Builder

Post#2059 by RookieAdventures » 20 Dec 2024, 12:21

Hi Blaze, thanks for the addition.

the updated kernel seems to be working fine.

I tried to compile the kernel(6.12.5) using latest kernel builder, and was able to compile it(UI was super easy to go through)
the system boots with the kernel that i compiled by myself, but i'm unable to use keyboard, it's completely unresponsive, touchpad works.

I tried using the kernel that you compiled (same version 6.12.5) and that works without any issues. i don't know what i did wrong.

this is what i did.
- Downloaded mkKernel-24.12.16-noarch-1.xzm and 05-devel.xzm https://mirrors.dotsrc.org/porteus/x86_ ... -devel.xzm
- booted into live porteus environment using porteus 5.01-lxqt
- activated devel and mkKernel one by one
- opened mkKernel and followed below steps
- Selected a folder in "kernel builder directory"(drive type was ext4)
- in "Kernel Version" Selected latest stable kernel of the linux kernel : 6.12.6 from left dropdown and selected 6.12.5 from right dropdown
- in, Build Kernel checked "Download" option, selected "64Bit" "Expand & AUFS PATCH:AUFS" and "compile with prototype config :PROTO" and also checked "Create FW" (clean up option kept unchecked)
- selected iso location in "Select ISO whose kernel will be updated", keeping "keep org" checked.
- checked "crippled_sources" and "000-kernel" and kept "Zstd compress" and "cryptsetup" unchecked, selected "Placement:Slackware"


this builds kernel fine, but it seems that ISO was not modified with latest kernel and also as mentioned, built kernel with these steps renders keyboard unusable.

although kernel provided by you worked fine, i wanted to try to build the kernel by myself. what have i missed here?

also one more thing, the config provided in the mkKernel by default for 6.12 isn't upto date i believe, i tried compiling the kernel with the default config provided in the mkKernel and also with the config provided in the compiled kernel (6.12.5) both didn't work.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3996
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#2060 by Blaze » 01 Jan 2025, 12:49

Hi RookieAdventures and Happy New Year :newyear:
I don't use kernel builder by neko
I use my script for it :)

UPDATE

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel-NNN-XXbit.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

6.12.8 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.12.8.tar (~197 M)
https://www.mediafire.com/file/psq8vtf9 ... 6.12.8.tar
e813d511d158e164689f8a1ba779a434 64bit-ALL-kernel6.12.8.tar

Note 1: Compiler that was used.
for kernel 6.12.8: 14.2.0-x86_64

Note 2: Compilated under Porteus 5.1 alpha 1 (Slackware-current base)

Note 3: Cryptsetup 2.6.1
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

RookieAdventures
Ronin
Ronin
Posts: 3
Joined: 29 Nov 2024, 08:00
Distribution: Porteus 5.01
Location: India

Porteus Kernel Builder

Post#2061 by RookieAdventures » 28 Feb 2025, 10:31

Hi Blaze,

Thanks for the updated kernel and reply.
Can you post the script that you're using to build the kernel if possible? it would be great start for me to start building the kernel and understand the things.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3996
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#2062 by Blaze » 01 Mar 2025, 06:35

Hi RookieAdventures,
at this moment no but if you want you can use PorteuX script for build kernel
https://github.com/porteux/porteux/tree/main/000-kernel
Probably I will add ability to update kernel out of the box in the future.

UPDATE

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel-NNN-XXbit.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

6.13.5 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.13.5.tar (~198 M)
https://www.mediafire.com/file/9bn1pfjx ... 6.13.5.tar
8bb6d05e3340ad9c19fd3324de4accd8 64bit-ALL-kernel6.13.5.tar

Note 1: Compiler that was used.
for kernel 6.13.5: 14.2.0-x86_64

Note 2: Compilated under Porteus 5.1 alpha 2 (Slackware-current base)

Note 3: Cryptsetup 2.6.1
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Blaze
DEV Team
DEV Team
Posts: 3996
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#2063 by Blaze » 08 Mar 2025, 06:39

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel-NNN-XXbit.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

6.13.6 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.13.6.tar (~198 M)
https://www.mediafire.com/file/mbccmdys ... 6.13.6.tar
bb5272f71cb6aa6195c741f926d8dd61 64bit-ALL-kernel6.13.6.tar

Note 1: Compiler that was used.
for kernel 6.13.6: 14.2.0-x86_64

Note 2: Compilated under Porteus 5.1 alpha 2 (Slackware-current base)

Note 3: Cryptsetup 2.6.1
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

seed_clapper
Black ninja
Black ninja
Posts: 48
Joined: 17 Oct 2022, 13:22
Distribution: Porteus 5

Porteus Kernel Builder

Post#2064 by seed_clapper » 12 Mar 2025, 02:34

Starting from 6.13.5 KDE just waits at login credentials and LXQT is black occasionally blinking with the booting text.
Maybe something is bugged in Porteus 5.1 alpha 2 which is breaking booting kernel in Porteus 5.01.


UPD: the problem was on my side.
Last edited by seed_clapper on 15 Mar 2025, 11:37, edited 1 time in total.

User avatar
AcnapyxoB
Contributor
Contributor
Posts: 234
Joined: 24 Dec 2014, 10:15
Distribution: Porteus
Location: Tellus

Porteus Kernel Builder

Post#2065 by AcnapyxoB » 12 Mar 2025, 05:56

seed_clapper wrote:
12 Mar 2025, 02:34
Starting from 6.13.5 KDE just waits at login credentials
I've had no problems starting/login in KDE (2024-09-24) with latest 001-core and 002-xorg updates.
I have a problem only with building VirtualBox module, but for this purpose I use Porteus 5.1.
Porteus v5.01 KDE x86_64

User avatar
Blaze
DEV Team
DEV Team
Posts: 3996
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#2066 by Blaze » 14 Mar 2025, 16:34

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel-NNN-XXbit.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

6.13.7 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.13.7.tar (~198 M)
https://www.mediafire.com/file/qvttvx2c ... 6.13.7.tar
d992c0caaffd4d9b8691cb510dac20c2 64bit-ALL-kernel6.13.7.tar

Note 1: Compiler that was used.
for kernel 6.13.7: 14.2.0-x86_64

Note 2: Compilated under Porteus 5.1 alpha 2 (Slackware-current base)

Note 3: Cryptsetup 2.6.1
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

seed_clapper
Black ninja
Black ninja
Posts: 48
Joined: 17 Oct 2022, 13:22
Distribution: Porteus 5

Porteus Kernel Builder

Post#2067 by seed_clapper » 15 Mar 2025, 11:56

AcnapyxoB, the problem was in my stupidity.
I am booting porteus using ventoy's custom grub menu /ventoy/ventoy_grub.cfg and forgot about using updated vmlinuz file.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3996
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#2068 by Blaze » 05 Apr 2025, 07:06

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel-NNN-XXbit.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

6.14 <-- NEW : "All patches" patching was done.
64bit-ALL-kernel6.14.tar (~200 M)
https://www.mediafire.com/file/vptk8o5i ... el6.14.tar
5b4346a598de8e6d3eae95939e4f9387 64bit-ALL-kernel6.14.tar

Note 1: Compiler that was used.
for kernel 6.14: 14.2.0-x86_64

Note 2: Compilated under Porteus 5.1 alpha 2 (Slackware-current base)

Note 3: Cryptsetup 2.6.1

Note 4: Tweaks for zram parameters:

Code: Select all

 CONFIG_ZRAM=m
-# CONFIG_ZRAM_BACKEND_LZ4 is not set
+CONFIG_ZRAM_BACKEND_LZ4=y
 # CONFIG_ZRAM_BACKEND_LZ4HC is not set
-# CONFIG_ZRAM_BACKEND_ZSTD is not set
+CONFIG_ZRAM_BACKEND_ZSTD=y
 # CONFIG_ZRAM_BACKEND_DEFLATE is not set
 # CONFIG_ZRAM_BACKEND_842 is not set
-CONFIG_ZRAM_BACKEND_FORCE_LZO=y
-CONFIG_ZRAM_BACKEND_LZO=y
-CONFIG_ZRAM_DEF_COMP_LZORLE=y
-# CONFIG_ZRAM_DEF_COMP_LZO is not set
-CONFIG_ZRAM_DEF_COMP="lzo-rle"
+# CONFIG_ZRAM_BACKEND_LZO is not set
+# CONFIG_ZRAM_DEF_COMP_LZ4 is not set
+CONFIG_ZRAM_DEF_COMP_ZSTD=y
+CONFIG_ZRAM_DEF_COMP="zstd"
 # CONFIG_ZRAM_WRITEBACK is not set
 # CONFIG_ZRAM_TRACK_ENTRY_ACTIME is not set
 # CONFIG_ZRAM_MEMORY_TRACKING is not set
thanks to agroferia
Report Porteus 5.1 enable zstd for zram
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Post Reply