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...
neko
DEV Team
DEV Team
Posts: 2113
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Porteus Kernel Builder

Post#16 by neko » 25 Jan 2017, 03:23

@Ed_P
1."but the boot fails with a blank screen."
Maybe, I guss that 000-kernel.xzm needs to be updated.
000-kernel.xzm will be updated on "step 2 How to adapt the new patch to Porteus ISO".

2."And which is more than I can do"
Would you tell me which you done update or not ?

3. The menu image you posted is actually labeled "APorteus Kernel Builder".
Thank you for your point out.
I will correct tne naming at the next update.

Thanks.

neko
DEV Team
DEV Team
Posts: 2113
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Porteus Kernel Builder

Post#17 by neko » 25 Jan 2017, 12:18

Porteus Kernel Builder was updated to 17.01.20.

mkKernel-17.01.20-noarch-1.xzm (3 M)
http://www.mediafire.com/file/u7x28uikg ... arch-1.xzm
md5sum: b3580f6fddbe2eb68958fd29f221bdbd mkKernel-17.01.20-noarch-1.xzm


A locale interface was introduced.
There is only JA locale.
On need, please build your locale by yourself.
1. Edit your locale by referring JA locale source.
JA locale source: /usr/local/share/mkKernel/src/mkKernel.po
2. Converte source to binary with msgfmt command.

Code: Select all

# msgfmt -o mkKernel.mo mkKernel.po
3. Set mkKernel.mo in your locale of /usr/share/locale.
example: de

Code: Select all

# cp mkKernel.mo /usr/share/locale/de/LC_MESSAGES/

Thanks.

User avatar
Ed_P
Contributor
Contributor
Posts: 8653
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Porteus Kernel Builder

Post#18 by Ed_P » 26 Jan 2017, 18:05

neko wrote:2."And which is more than I can do"
Would you tell me which you done update or not ?
I'm not sure I understand what you are asking. I have not updated the kernel, I don't use the 05-devel module thus I can't compile source. What I did change was my grub2 menu from:

Code: Select all

     linux (loop)/boot/syslinux/vmlinuz from=$iso $porteus_parms
to

Code: Select all

     linux  /Users/Ed/vmlinuz from=$iso $porteus_parms
The vmlinuz file being the one I downloaded from your link.

neko
DEV Team
DEV Team
Posts: 2113
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Porteus Kernel Builder

Post#19 by neko » 27 Jan 2017, 05:46

@Ed_P
From your grub2 config, I understood what you done.

Step 2 of the article http://forum.porteus.org/viewtopic.php? ... 568#p52474
doesn't need 05-devel module.

You can update your ISO without kernel compile.

Thanks.

neko
DEV Team
DEV Team
Posts: 2113
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Porteus Kernel Builder

Post#20 by neko » 27 Jan 2017, 10:16

New "ISO update Example" v4.9.6 that was adapted by additional patch was offered.
Please refer to http://forum.porteus.org/viewtopic.php? ... 232#p52232

The kernel of Porteus ISO can be update to version 4.9.6 easily without compiling.


Note 1:
About additional patch,
please refer to http://forum.porteus.org/viewtopic.php? ... =30#p52448

This additional patch is not yet integrated to original aufs patch.


Note 2:
If you need the version without additional patch,
the following version is without additional patch.

v4.9.6-1.tar.xz (39 M)
http://www.mediafire.com/file/ep55i8d8c ... 6-1.tar.xz
md5sum: 6640ba080f62a1f502b4e15ad36cad5a v4.9.6-1.tar.xz
Note 3:
Please rename v4.9.6-1 to v4.9.6 with 'mv' command after expand v4.9.6-1.tar.xz.


Thanks.

User avatar
Ed_P
Contributor
Contributor
Posts: 8653
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Porteus Kernel Builder

Post#21 by Ed_P » 27 Jan 2017, 20:58

neko wrote:@Ed_P
From your grub2 config, I understood what you done.

Step 2 of the article http://forum.porteus.org/viewtopic.php? ... 568#p52474
doesn't need 05-devel module.
I'm sorry but I'm confused.
http://forum.porteus.org/viewtopic.php?f=75&t=6568#p52474 wrote:2. How to adapt the new patch to Porteus ISO.
(1) Prepare "Porteus Kernel Builder" and v4.9.5-2.tar.xz.
Please refer to http://forum.porteus.org/viewtopic.php? ... 568#p52232.
http://forum.porteus.org/viewtopic.php?f=75&t=6568#p52232 wrote:[How to use]
step 1. prepare compile environment.
get 05-devel.xzm for your architecture from Porteus release site.
activate "05-devel.xzm".
This prepare is needed for the following actions only.
1)getting AUF patch
2)adapting AUF patch
3)building kernel
I appreciate your help neko but I think kernel building is a bit beyond me. :sorry: I'll just wait for the brokenman Porteus 3.2 update.

neko
DEV Team
DEV Team
Posts: 2113
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Porteus Kernel Builder

Post#22 by neko » 28 Jan 2017, 00:14

@Ed_P

I am sorry that I made you mislead with my poor English sentence.
If you have available time to read shell script,
please read ones that are included in mkKernel-17.01.20-noarch-1.xzm.
Maybe it makes you understand "Kernel Builder" exactly.

main script: /usr/local/sbin/guimkKernel
subroutines: /usr/local/share/mkKernel/inc/*.inc


Thanks.

neko
DEV Team
DEV Team
Posts: 2113
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Porteus Kernel Builder

Post#23 by neko » 28 Jan 2017, 00:17

New "ISO update Example" v4.4.45 was offered.
Please refer to http://forum.porteus.org/viewtopic.php? ... 232#p52232

The kernel of Porteus ISO can be update to version 4.4.45 easily without compiling.


Thanks.

neko
DEV Team
DEV Team
Posts: 2113
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Porteus Kernel Builder

Post#24 by neko » 30 Jan 2017, 04:35

Porteus Kernel Builder was updated to 17.01.30.

Please refer to top article of this thread.
http://forum.porteus.org/viewtopic.php? ... 232#p52232

AUFS patch for kernel version line 4.10-rc is released.
AUFS_VERSION "4.x-rcN-20170130"

Kernel 4.10-rc6 can be compiled for Porteus.


Thanks.

neko
DEV Team
DEV Team
Posts: 2113
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Porteus Kernel Builder

Post#25 by neko » 30 Jan 2017, 08:20

New "ISO update Example" v4.10-rc6 was offered.
Please refer to http://forum.porteus.org/viewtopic.php? ... 232#p52232

The kernel of Porteus ISO can be update to version 4.10-rc6 easily without compiling.


---------------------------------------------------------
[How to update the kernel of Porteus ISO]
Example ISO: Porteus-XFCE-v3.2.2-x86_64.iso

1.Download mkKernel-17.01.30-noarch-1.xzm and v4.10-rc6.tar.xz

mkKernel-17.01.30-noarch-1.xzm (3 M)
http://www.mediafire.com/file/8dz1byga5 ... arch-1.xzm
md5sum: e424c2fa787a72ead0181a40d1fed4f6 mkKernel-17.01.30-noarch-1.xzm

v4.10-rc6.tar.xz (39 M)
http://www.mediafire.com/file/bvht3drde ... rc6.tar.xz
md5sum: 7e24a994fde20ab76caf91421a1552ef v4.10-rc6.tar.xz

2.Set your kernel build directory.

Code: Select all

% ls -R
.:
Downloads  KernelBuild

./Downloads:
Porteus-XFCE-v3.2.2-x86_64.iso mkKernel-17.01.30-noarch-1.xzm v4.10-rc6.tar.xz

./KernelBuild:

% su
# cd Downloads
activate mkKernel-17.01.30-noarch-1.xzm
# cd ../KernelBuild
# xz -dc ../Downloads | tar -x
# ls -1 v4.10-rc6/*
v4.10-rc6/aufs.patch

v4.10-rc6/32:
32bit.config
lib
vmlinuz

v4.10-rc6/64:
64bit.config
lib
vmlinuz
aufs.patch:.....AUFS patch for kernel version line 4.10-rc
*bit.config:....prototype config


3.Execute "Kernel Builder"
"GUI menu" ---> "Kernel Builder"
<setting window>
"Kernel Builder directory":...........KernelBuild
"Kernel Version":.....................4.10-rc6
"ISO whose kernel will be update":....Porteus-XFCE-v3.2.2-x86_64.iso
Push "OK"

4.Get updated ISO

Code: Select all

% ls KernelBuild
UP.Porteus-XFCE-v3.2.2-x86_64.iso
v4.10-rc6
UP.Porteus-XFCE-v3.2.2-x86_64.iso:....updated ISO


Thanks.

neko
DEV Team
DEV Team
Posts: 2113
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Porteus Kernel Builder

Post#26 by neko » 02 Feb 2017, 08:50

New "ISO update Example" v4.9.7 and v4.4.46 were offered.
Please refer to http://forum.porteus.org/viewtopic.php? ... 232#p52232

The kernel of Porteus ISO can be update to version 4.9.7 or v4.4.46 easily without compiling.


Note:
AUFS patch for kernel 4.9 line is updated to "4.9-20170130".
Maybe, the additional patch is included in new version.
Therefore it was not adapted.
About the additional patch,
refer to http://forum.porteus.org/viewtopic.php? ... =30#p52448


---------------------------------------------------------
[How to update the kernel of Porteus ISO]
Please refer to the example of "kernel 4.10-rc6".
http://forum.porteus.org/viewtopic.php? ... =15#p52642


Thanks.

lolololo
White ninja
White ninja
Posts: 16
Joined: 23 Jan 2017, 14:54
Distribution: Porteus 3.2.2 TDE R14.0.4
Location: sudafrica

Re: Porteus Kernel Builder

Post#27 by lolololo » 02 Feb 2017, 17:45

hi
Porteus kernel do not use others additional patchs besides aurfs??

neko
DEV Team
DEV Team
Posts: 2113
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Porteus Kernel Builder

Post#28 by neko » 03 Feb 2017, 08:25

@lolololo
No, Porteus kernel does not use others additional patchs besides aurfs.
The only one patch was gotten by the procedure of the following article.
http://www.porteus.org/component/conten ... ernel.html

Thanks.

lolololo
White ninja
White ninja
Posts: 16
Joined: 23 Jan 2017, 14:54
Distribution: Porteus 3.2.2 TDE R14.0.4
Location: sudafrica

Re: Porteus Kernel Builder

Post#29 by lolololo » 04 Feb 2017, 18:57

Before if he had any that's why i asked
That article need to be update still refers to ausf3,
thanks for answering and thanks fior your program.

neko
DEV Team
DEV Team
Posts: 2113
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: Porteus Kernel Builder

Post#30 by neko » 06 Feb 2017, 00:32

New "ISO update Example" v4.9.8 and v4.4.47 were offered.
Please refer to http://forum.porteus.org/viewtopic.php? ... 232#p52232

The kernel of Porteus ISO can be update to version 4.9.8 or v4.4.47 easily without compiling.


---------------------------------------------------------
[How to update the kernel of Porteus ISO]
Please refer to the example of "kernel 4.10-rc6".
http://forum.porteus.org/viewtopic.php? ... =15#p52642


Thanks.

Post Reply