[How to] upgrade 3.5 nemesis 000-kernel.xzm with porteus 3.2
Posted: 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 http://forum.porteus.org/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
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.
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 http://forum.porteus.org/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
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.