[How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus 3.2

Arch based Porteus community project
User avatar
francois
Contributor
Contributor
Posts: 5124
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

[How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus 3.2

Post#1 by francois » 17 Dec 2016, 19:02

The problem with nemesis is that it is based on manjaro (arch linux fork), a rolling distribution. This means that after many months the original iso might become obsolete or become eventually impossible to upgrade.

An effort has been done to understand the interesting work of brokenman so to be able to upgrade the original nemesis to a more recent and lean version. Nemesis iso lxde version built on the 6th july of 2016 is less than 290 MB. Upgrading it will add about 700 MB viewtopic.php?f=137&t=6459

METHOD A. Upgrading of 000-kernel.xzm of nemesis with porteus 3.2.1 kernel
You will need an installation of nemesis and an installation of porteus 3.2.1

This most recent nemesis 000-kernel.xzm is built with 4.8.11-porteus:
https://www.mediafire.com/?7hl9zjpikb7ge

edit ncmprhnsbl,
here's 4.10.8 (compiled by neko)
000-kernel-4.10.8.xzm 45.8mb
vmlinuz 3.2mb

edit ncmprhnsbl 30-Sept-2017,
here's kernel 4.13.3 :
000-kernel-4.13.3.xzm 51.2mb
vmlinuz 3.4mb

1.0 Unpack and backup the nemesis 000-kernel module

Code: Select all

su
toor
cd /path-to-folder-nemesis/porteus/base
mkdir 000-kernel
xzm2dir 000-kernel.xzm 000-kernel
Rename 000-kernel.xzm to 000-kernel.xzm-original-nemesis-bkp

2.0 Replace nemesis kernel module information by some of the porteus 3.2.1 version.
2.1 replace 4.3.3-porteus kernel:
nemesis
/porteus/base/000-kernel/usr/lib/modules/4.3.3-porteus
with
porteus 3.2.1
/base/000-kernel/lib/modules/4.8.11-porteus

2.2 replace firmware:
nemesis
/porteus/base/000-kernel/usr/lib/firmware/
with
porteus 3.2.1
/porteus/base/000-kernel/lib/firmware/

2.3 replace vmlinuz:
nemesis
/boot/syslinux/vmlinuz
with
porteus 3.2.1
/boot/syslinux/vmlinuz

2.4 nemesis xx.sgn file
/porteus/porteus-v3.5-x86_64.sgn
with
porteus 3.2.1
/porteus/porteus-v3.5-x86_64.sgn

3.0 Repack the new nemesis kernel module.
dir2xzm 000-kernel 000-kernel.xzm

Reboot!

METHOD B. Upgrading of 000-kernel.xzm of nemesis to get the most recent kernel

*** TO COME ***

Note: if you have a 32 bit system make changes accordingly, The structure of the modules might be different and the xx.sgn file too. If you have a conflicting porteus 3.2.1 installation use the sgnfile bootloader cheatcode.

Thanks to jack who as readproof this howto and provided suggestions.
Last edited by ncmprhnsbl on 05 Apr 2017, 23:26, edited 1 time in total.
Carpe diem.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1022
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus

Post#2 by ncmprhnsbl » 18 Dec 2016, 21:46

great work , francois :good:
one thing: i needed to use the porteus-v3.5-x86_64.sgn...
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5124
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus

Post#3 by francois » 19 Dec 2016, 13:53

Hum! This could be the reason why your modules would not boot in my second nemesis installation. I will look at that.
Thanks.
Carpe diem.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1022
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus

Post#4 by ncmprhnsbl » 31 Dec 2016, 01:54

have upgraded to 3.2.2 kernel (4.9) using this guide, with no issues..too easy.. :good: thanks francois
(still keeping the 3.5 .sgn file tho)
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

jssouza
DEV Team
DEV Team
Posts: 403
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

Re: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus

Post#5 by jssouza » 31 Dec 2016, 04:37

For the sgnfile need to change

Code: Select all

SGN=`value sgnfile`; [ $SGN ] || SGN=porteus-v3.5-$arch.sgn
in linuxrc and repack the initrd.xz.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1022
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus

Post#6 by ncmprhnsbl » 31 Dec 2016, 08:08

yeah, i think the reason francois used the 3.2 .sgn is because he(mentioned in another post) used the initrd.xz from 3.2.. as well...
i have found this to be unnecessary, just the kernel.xzm(modified) and the vmlinuz from 3.2.x is needed..
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

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

Re: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus

Post#7 by neko » 31 Dec 2016, 16:13

Another method to update the kernel of Nemesis is as following steps.

1.download upkernel-4.9-noarch-2.xzm and activate it.
viewtopic.php?f=75&t=4788#p34856

2.update kernel with the "upakernel4.9" command.

Code: Select all

# upakernel4.9 Nemesis.iso
# ls
Nemesis.iso UP.Nemesis.iso
3.replace "initrd.xz and kernel-v4.9-2-XXXX.sgn" of UP.Nemesis.iso with ones of Nemesis.iso.


Thanks.

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

Re: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus

Post#8 by neko » 15 Jan 2017, 13:02

The kernel of nemesis ISO can be update with "Porteus Kernel Builder".
Please refer to viewtopic.php?f=75&t=6568#p52232


Now, compiled sample v4.9.4 was offered.
Therefor the kernel of nemesis ISO can be update to version 4.9.4 easily without compiling.

Thanks.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1022
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus

Post#9 by ncmprhnsbl » 18 Jan 2017, 21:43

thanks neko, i have successfully upgraded to kernel 4.9.4 using your compiled kernel and vmlinuz :D
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

Jack
Contributor
Contributor
Posts: 1257
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus

Post#10 by Jack » 18 Jan 2017, 22:03

ncmprhnsbl wrote:thanks neko, i have successfully upgraded to kernel 4.9.4 using your compiled kernel and vmlinuz :D
Do you care to share the kernel 4.9.4?
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1022
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus

Post#11 by ncmprhnsbl » 18 Jan 2017, 22:30

Jack wrote:Do you care to share the kernel 4.9.4?
okay
000-kernel-4.9.4.xzm
vmlinuz
its possible that broadcom doesnt work since i didnt recompile it, which may be an issue if you need it...
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

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

Re: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus

Post#12 by neko » 02 Apr 2017, 06:11

I have updated nemesis and tested it.

porteus-nemesis-v3.5-lxde-x86_64.iso
+
001-core-9-.xzm 120 mb updated 2-april-2017
002-gui-4.xzm 38.9 mb updated 2-april-2017
002-xtra-5.xzm 38.6 mb updated 2-april-2017
viewtopic.php?f=138&t=6484&sid=64115cef ... 805#p51473
+
kernel v4.10.8
viewtopic.php?f=75&t=6568&sid=3cc7b51be ... 53d#p52232

The result was OK.

002-gui-4.xzm includes mesa-17.0.1-1.
If 002-gui-4.xzm includes the most recent version mesa-17.0.2-2,
the result might be NG.
Please refer to
https://bugs.archlinux.org/task/53293

Thanks.

User avatar
francois
Contributor
Contributor
Posts: 5124
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus

Post#13 by francois » 04 Apr 2017, 20:46

Hello neko. Would you provide your update of nemesis. I really like that manjaro porteus version.

Thanks.
Carpe diem.

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

Re: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus

Post#14 by neko » 05 Apr 2017, 00:11

@francois
"Would you provide your update of nemesis."

No. It is difficult for me to provide an updated nemesis.
Updating only the kernel of nemesis is easy by the "Kernel builder" tool.
But Updating Archlinux packages of nemesis is difficult without pacman tool.

I have already provided simple package manager for ArchLinux packages "ArchSPM".
It does not have a compatiblity with pacman.

ncmprhnsbl has provided the 2-april-2017 version of 001-core-9-.xzm, 002-gui-4.xzm and 002-xtra-5.xzm.
Therefore I was able to update nemesis.

Thanks.

User avatar
francois
Contributor
Contributor
Posts: 5124
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: [How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus

Post#15 by francois » 05 Apr 2017, 01:22

In this case, would you provide kernel v4.10.8? I will put everything together and provide a testing version. :)
Carpe diem.

Post Reply