Skip to content

u/_ulfox

In this archive from Mar 2021 to Aug 2021

0
posts
37
comments
0
media
524
score

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.

5 points

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.

10 points

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:

​

  1. 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.
  2. The documentation while excellent, requires some familiarity. A Linux newbie may find it difficult to read rather than helpful.
  3. 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.
  4. 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.

345 points

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"
1 points

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.

1 points

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.

Also check this for enabling additional kernel logging during the early boot phase: https://wiki.archlinux.org/index.php/General_troubleshooting#Boot_problems

2 points

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

1 points

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.

1 points

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

1 points

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

1 points

The fastest way (IMO ofc) to build a super super minimal system for me would be:

  • Get a kernel that has the support for the required virtualization technologies
  • Get dracut
  • Create an initramfs
  • Extract initramfs
  • 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

2 points

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.

3 points

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.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.