@sohail ok… well… I wont write a tutorial, but here are the basic steps:
mkdir -pv ${PWD}/newroot
basestrap ${PWD}/newroot base base-devel linux515 <more packages>
sudo chroot ${PWD}/newroot /bin/bash
and there you are. A really minimal Manjaro.
Basically it is this: [root tip] [How To] Do a manual Manjaro installation
If you need an overlay:
mkdir -pv ${PWD}/{upper,work,access}
fuse-overlaysfs \
-o lowerdir=${PWD}/newroot \
-o upperdir=${PWD}/upper \
-o workdir=${PWD}/work \
${PWD}/access
sudo chroot ${PWD}/access /bin/bash
Any change will be written to upper
and in access
: upper
and newroot
are merged.
I guess you know how to read manuals, wiki articles and documentations.
Needed packages: fuse-overlayfs
manjaro-tools-base-git