Ok, tried it. I created 2 symlinks in 000-kernel: lib/firmware to /usr/lib/firmware and lib/modules to /usr/lib/modules. Now I am able to boot with the Porteus v5.0 rc1 kernel on nemesis.
- Booting with this modified kernel on porteus itself, needs a small change in 001-core. In 001-core, there is an empty directory /lib/firmware that destroys the /lib/firmware symlink created in 000-kernel. Hence, modules are loaded, but firmwares are not found. So need to remove this empty useless firmware directly from 001-core in porteus.
- In nemesis, /sbin is also symlinked to /usr/sbin, resulting in removal of the static /sbin/cryptsetup binary in 000-kernel. In nemesis cryptseup is a dynamically linked binary. So probably keep as-is because cryptsetup could be a package dependency in nemesis and hence installed.
- Every time I open xfce terminal in nemesis I get this: "grep: /etc/porteus.d/login: No such file or directory". This is probably some other issue?
Also, able to boot to nemesis using the porteus initrd as well. Just need to put the porteus 5 cfg file in the nemesis directory. Saw some errors in openrc at the end of bootup, could be due to the missing old method of reading config files from boot medium.