@raja
1. 'where is the reference to FOLDER/DIRECTORY "porteus" in the initrd?'
It is the function "findDatabase()" in the shell file
"APorteus-MULT-v18.01.11-x86_64.iso@/boot/syslinux/initrd.xz@/usr/share/systemd/functions".
2. 'That would help aporteus and porteus to coexist in same partition.'
APorteus and Porteus can be set in the different directories of the same partition.
If kernel version of APorteus is same as one of Porteus,
the vmlinuz of 'APorteus or Porteus' can be used for 'Aporteus and Porteus'.
But the initrd.xz of 'APorteus' is used only for 'APorteus'.
And the initrd.xz of 'Porteus' is used only for 'Porteus'.
3. 'What is the difference you notice, from your offering, apart from systemd?'
(1) package management tool
Nemisis: modified Pacman (Arch original package management tool)
APorteus: Arch SPM (Arch Simple Package Management tool)
(2) Basic modues
The constructed packages of basic modules (001,002,003) are differ each other.
(3) Distribution method.
Nemisis: offering directly ISO. (not offering locale modules)
APorteus: offering ISO generater ISO. (generating depend on locale)
(4) Completeness
Nemisis: enough good level
APorteus: alpha (testing) level (need user's efforts)
4. 'Grub2.2 beta'
point to a 'vmlinuz image file location with a 'boot' command,
---->
it loads initrd,
locates the folder in one of the partitions,
finds the sign file and makes a normal boot.
Excuse me that I don't know 'Grub2.2 beta' at all.
But if only pointing vmlinuz makes 'Grub2.2 beta' know the location of initrd.xz,
it can be understood.
5. How to analyze initrd.xz.
Example: APorteus-MULT-v18.01.11-x86_64.iso
Code: Select all
% su
# ls APorteus-MULT-v18.01.11-x86_64.iso
APorteus-MULT-v18.01.11-x86_64.iso
# mkdir w
# cd w
# dISO ../APorteus-MULT-v18.01.11-x86_64.iso
# ls
APorteus-MULT-v18.01.11-x86_64
# ls -R APorteus-MULT-v18.01.11-x86_64
APorteus-MULT-v18.01.11-x86_64:
EFI USB_INSTALLATION.txt boot porteus
APorteus-MULT-v18.01.11-x86_64/EFI:
boot
APorteus-MULT-v18.01.11-x86_64/EFI/boot:
bootx64.efi grub.cfg
APorteus-MULT-v18.01.11-x86_64/boot:
Porteus-installer-for-Linux.com Porteus-installer-for-Windows.exe docs syslinux
APorteus-MULT-v18.01.11-x86_64/boot/docs:
GNU_GPL License.txt cheatcodes-ja.txt cheatcodes.txt install.txt requirements.txt
APorteus-MULT-v18.01.11-x86_64/boot/syslinux:
chain.c32 initrd.xz isolinux.boot lilo.conf porteus.cfg syslinux.cfg vmlinuz
extlinux.conf isolinux.bin isolinux.cfg plpbt porteus.png vesamenu.c32
APorteus-MULT-v18.01.11-x86_64/porteus:
base kernel-v4.9.76-1-x86_64.sgn make_iso.sh modules optional rootcopy
APorteus-MULT-v18.01.11-x86_64/porteus/base:
000-kernel.xzm 001-core.xzm 001-z.core.xzm 002-xorg.xzm 002-z.xorg.xzm
APorteus-MULT-v18.01.11-x86_64/porteus/modules:
06-crippled_sources-4.9.76-64bit.xzm
APorteus-MULT-v18.01.11-x86_64/porteus/optional:
003-budgie.xzm 003-fvwm.xzm 003-openbox.xzm 003-z.budgie.xzm 003-z.fvwm.xzm 003-z.openbox.xzm 004-miniset.xzm
003-e16.xzm 003-lxde.xzm 003-xfce.xzm 003-z.e16.xzm 003-z.lxde.xzm 003-z.xfce.xzm
APorteus-MULT-v18.01.11-x86_64/porteus/rootcopy:
#
#
#
# dINIT APorteus-MULT-v18.01.11-x86_64/boot/syslinux/initrd.xz
11244 ブロック
# ls -1
APorteus-MULT-v18.01.11-x86_64
initrd
# ls -R1
initrd:
bin
dev
etc
fatal
init
init_conf
lib
linuxrc
m
memory
mnt
opt
persist
porteus
proc
run
sys
tmp
union
usr
var
initrd/bin:
'['
'[['
acpid
.
.
.
zcat
zcip
initrd/dev:
initrd/etc:
mtab
initrd/lib:
ld-2.24.so
ld-linux.so.2
.
.
.
libuuid.so.1
libuuid.so.1.3.0
modules
initrd/lib/modules:
initrd/m:
initrd/memory:
changes
copy2ram
images
xino
initrd/memory/changes:
initrd/memory/copy2ram:
initrd/memory/images:
initrd/memory/xino:
initrd/mnt:
initrd/opt:
000-kernel
initrd/opt/000-kernel:
initrd/porteus:
initrd/proc:
initrd/run:
initrd/sys:
initrd/tmp:
initrd/union:
initrd/usr:
bin
lib
share
initrd/usr/bin:
e2fsck
ntfs-3g
reiserfsck
initrd/usr/lib:
initrd/usr/share:
nemesis
overlay
pciids
systemd
udhcpc
v3
initrd/usr/share/nemesis:
cleanup
initrd/usr/share/overlay:
cleanup
functions
main
systemd
initrd/usr/share/overlay/systemd:
cleanup
functions
main
initrd/usr/share/pciids:
AMD
NVIDIA
initrd/usr/share/pciids/AMD:
amd-catalyst
amd-catalyst-legacy
initrd/usr/share/pciids/NVIDIA:
173.14
304
96.43
initrd/usr/share/systemd:
cleanup
functions
main
new.cleanup
initrd/usr/share/udhcpc:
default.script
initrd/usr/share/v3:
cleanup
functions
main
initrd/var:
log
tmp
initrd/var/log:
initrd/var/tmp:
#
Thanks.