No one is against automation mate. Automation is something that has a good meaning and is the logical thing to seek. But once most of it has been automated, then it is the will to learn that will make people understand how the underlying layers work.
When students want to use Linux, you know there is still hope. I am glad to hear that pal. I hope you continue using it and in the future also land a good job with that knowledge!
I want to point something out. In my humble opinion, installer or no installer, Archlinux should not be recommended to new Linux users for the following reasons:
It is an distro meant to provide a base minimal system that people can use to bootstrap what they need. A newbie will gain nothing from this but only lose important features that he/she may need in order to get comfortable with Linux.
The documentation while excellent, requires some familiarity. A Linux newbie may find it difficult to read rather than helpful.
It is a rolling release. When you are on the process of learning Linux, the last thing that will help you is getting a newer version of PACKAGE_X frequently.
Because of the minimalistic approach, the community expects someone to read and be able to understand the documentation and therefore wont be very helpful to questions that are already answered in the documentation.
New Linux users should use distros that provide an environment as close to their previous OS as possible. If they get comfortable and they want to seek something different, they will find it themselves as everyone does.
Man just so you know, "do it the arch way" means understand what you run. If a scrip is provided to you that does the install and you run it without reading it, the it is the same as copying the commands from the documentation and running them without trying to understand what you are doing.
So if they provide an installer:
Go to the repo that hosts the code
Read the code
*Make some comments. Push a fix. If you could not find any issue, go archwiki and do a contribution there (there is need for better documentation)
Go to your calendar and tick "did it the arch way"
Man the ideology of arch is to keep it simple and and provide a minimal OS that you can use to bootstrap your system however you like.
The installation process was not selected to prove something, it is simply the product of the commands you need to run to install that basic system.
Also "I use arch btw or w/e" means nothing. u/aeryxium is 100% right on this. Your mentality is one of the mentalities that have given arch the toxic and "...btw" quote.
True, apart from the Majnaro part which still stands as an OK suggestion IMO. I use Manjaro and I can tell you that it is as easy to install as Ubuntu.
Wait, if you get the after system-d boot menu and you see a flashing underscore that could mean:
boot process has finished but xdm is not loading. Have you tried switching tty?
Boot process is paused? If you are using dracut or mkinitcpio can you try checking each runlevel and see what's going on (arch-mkinitcpio-docs )? Check all hook targets serially to ensure everything is proceeding as expected.
The path has nothing to do with the permissions required for certain actions. The halt system call needs elevated permissions.
A binary under /sbin needs to be run by a user that inherits those permissions directly (being part of wheel or some group which is allowed, or being root user) or indirectly by Polkit rules, or sudo or some other mechanism
Btw I have to point out that installed packages != runtime services. Installed packages will only take some extra space but that's that! If you want to have a very light system that performs well with QEMU, then you need to focus on the filesystem (for extra optimization), mounting real partitions rather than using images, enable cpu pinning, adding iothreads and use cpu mode that is as close as possible to your host's cpu.
Best distro for what experts? Sysadmin experts? Any RH/CentOS/Debian LTS release.
Developer experts? Any distro that updates the packages as often as possible (rolling release distros for example) since you usually need to have easy access bleeding edge libraries.
The DNS provider that your friend is using must have (or be able to derive id from querying other DNS servers that have it) a MX record for your domain not a simple A record.
Check if MX record exists by issuing dig domain.ltd MX +short
Install busybox to have basic functionality without the need to install other binaries
Install qemu in the extracted rootfs (check here for kernel features and dependencies, but you do not need to compile it yourself, you can get the binaries from some distro also
Install initV in the extracted rootfs under /sbin/init
To resolve missing libraries use ldd to check for any dependencies.
Move all dependencies in the new extracted rootfs
Move/copy the extracted rootfs in a new partition that is bootable
Create a new boot entry that uses the above kernel and pass the root partition to it.
You will have a super light system. Some things will be missing but you can add them following the install bin_name & ldd bin_name steps.
Note: There are better ways than this, but my knowledge can suggest only this
It can be close to LFS after the compile, but I did not have LFS in mind. You can create very minimal systems with already precompiled binaries. I mean do you need a distro that is super light and has a package manager or a very minimal rootfs that has sh, networking and can run qemu?
If you need package manager, then arch (that has been already suggested) is a solid pick . You can start with simply base and remove bash and any other package that you do not want.
One question, I know that your title has distro in it, but are you looking for a distro only solution or it would also be okay to build a light system that can run qemu and have basic network and shell support?
It is, if the folder is very important first stop using that disk immedietly since you want to avoid writing over the specific blocks.
Then follow the advice from u/doc_willis but keep in mind that any process will give you a big number of recovered files (not directories ofc) that you had deleted in the past.
You will need to specify parameters for the scan to recover only related file extensions and not everything. If you do not remember the exact size limits of your files but only the extension, you will most probably get quite many files recovered with the same extension.
From that point on, you will need to check them manually if they are binaries, or if you are lucky and the files are texts, do a grep -ir in the recovered text files with keywords you remember to be included in your files.
No one is against automation mate. Automation is something that has a good meaning and is the logical thing to seek. But once most of it has been automated, then it is the will to learn that will make people understand how the underlying layers work.
I was mostly referring to young people that want to learn Linux, not simply use it.
With all the abstraction and automation nowadays, using Linux directly or indirectly is not the same as wanting to learn about Linux.
When students want to use Linux, you know there is still hope. I am glad to hear that pal. I hope you continue using it and in the future also land a good job with that knowledge!
Cheers,
dotNever It does not matter how many downvotes you get, it's always dotNever
I want to point something out. In my humble opinion, installer or no installer, Archlinux should not be recommended to new Linux users for the following reasons:
New Linux users should use distros that provide an environment as close to their previous OS as possible. If they get comfortable and they want to seek something different, they will find it themselves as everyone does.
Elitism is always related with sciolism. People that know little will bark the most about their "accomplishments".
Man just so you know, "do it the arch way" means understand what you run. If a scrip is provided to you that does the install and you run it without reading it, the it is the same as copying the commands from the documentation and running them without trying to understand what you are doing.
So if they provide an installer:
Man the ideology of arch is to keep it simple and and provide a minimal OS that you can use to bootstrap your system however you like.
The installation process was not selected to prove something, it is simply the product of the commands you need to run to install that basic system.
Also "I use arch btw or w/e" means nothing. u/aeryxium is 100% right on this. Your mentality is one of the mentalities that have given arch the toxic and "...btw" quote.
you install arch once xD
everyone offers suggestions based on the technical experience they have. Some people can only suggest distro hopping to fix issues
the autostart filem is not in the repo. Does he have some other repo with that file? I am trying yo see what the autostart does.
Also if you start it with run.sh as it is suggested in the repo, does it work?
You could try to find a relation between the camera device under /sys and /dev, but not sure how easy that will beu/pobrn suggestion did the job way better.
Well we can't help you much if you do not tell us at what step you get issues and some logs related with the specific error.
True, apart from the Majnaro part which still stands as an OK suggestion IMO. I use Manjaro and I can tell you that it is as easy to install as Ubuntu.
Wait, if you get the after system-d boot menu and you see a flashing underscore that could mean:
Also check this for enabling additional kernel logging during the early boot phase: https://wiki.archlinux.org/index.php/General_troubleshooting#Boot_problems
The path has nothing to do with the permissions required for certain actions. The halt system call needs elevated permissions.
A binary under /sbin needs to be run by a user that inherits those permissions directly (being part of wheel or some group which is allowed, or being root user) or indirectly by Polkit rules, or sudo or some other mechanism
if they provide a Polkit rule to do that it will work, otherwise you need sudo
Btw I have to point out that installed packages != runtime services. Installed packages will only take some extra space but that's that! If you want to have a very light system that performs well with QEMU, then you need to focus on the filesystem (for extra optimization), mounting real partitions rather than using images, enable cpu pinning, adding iothreads and use cpu mode that is as close as possible to your host's cpu.
Not sure how Freenom works but if MX record is not showing with dig ... MX then that is the issue
Best distro for what experts? Sysadmin experts? Any RH/CentOS/Debian LTS release.
Developer experts? Any distro that updates the packages as often as possible (rolling release distros for example) since you usually need to have easy access bleeding edge libraries.
It really depends on the role
The DNS provider that your friend is using must have (or be able to derive id from querying other DNS servers that have it) a MX record for your domain not a simple A record.
Check if MX record exists by issuing
dig domain.ltd MX +shortThe fastest way (IMO ofc) to build a super super minimal system for me would be:
lddto check for any dependencies.You will have a super light system. Some things will be missing but you can add them following the install bin_name & ldd bin_name steps.
Note: There are better ways than this, but my knowledge can suggest only this
It can be close to LFS after the compile, but I did not have LFS in mind. You can create very minimal systems with already precompiled binaries. I mean do you need a distro that is super light and has a package manager or a very minimal rootfs that has sh, networking and can run qemu?
If you need package manager, then arch (that has been already suggested) is a solid pick . You can start with simply base and remove bash and any other package that you do not want.
One question, I know that your title has distro in it, but are you looking for a distro only solution or it would also be okay to build a light system that can run qemu and have basic network and shell support?
It is, if the folder is very important first stop using that disk immedietly since you want to avoid writing over the specific blocks.
Then follow the advice from u/doc_willis but keep in mind that any process will give you a big number of recovered files (not directories ofc) that you had deleted in the past.
You will need to specify parameters for the scan to recover only related file extensions and not everything. If you do not remember the exact size limits of your files but only the extension, you will most probably get quite many files recovered with the same extension.
From that point on, you will need to check them manually if they are binaries, or if you are lucky and the files are texts, do a grep -ir in the recovered text files with keywords you remember to be included in your files.