Troubleshooting
This document shows common issues and solutions to any problems a user can meet.
Installation
filesystem `btrfs’ doesn’t support blocklists
The error during the installation:
is caused when the partition table is GPT and you are not using EFI boot mode. If you would like to use GPT, remember to use EFI instead of BIOS/Legacy mode.
time warp or clock problem
During the installation of Axyl Projects, if you get an error like:
it can occur when you are installing Axyl Projects by an ISO that has been released just now. To solve the issue, just wait 30 minutes and boot again by the ISO.
The cause of the issue is due to a key in /etc/pacman.d/gnupg
that has been generated in a Live Environment that has a different time of the running installer. Since in Live Environment the time changes and fixes to the right time after some minutes, if this change is done during the running of pacman-key --init
, it causes that error. For example, the Live Environment shows 18:40 and during the install, it switches to 19:40, so the running installer, if creates new key by pacman-key --init
when the time of Live Environment is switched, it cause the error. If you get this error, boot on Live Environment and, before to run the installer, wait for some minutes that the time clock fixes automatically.
Nix install process killed
If Axyl Projects Nix installation is killed and the following error is produced:
just assign more resources (CPU, RAM, Swap space) to your system.
Boot
Login freeze at ISO Live boot
By running ISO, at boot, if login prompt freezes, reboot and select the boot entry called “Axyl Projects install medium (%ARCH%, UEFI, safe graphics, nomodeset)“. The problem was caused by nouveau.modeset=1
for some specific NVIDIA hardware.
Error: file ‘/vmlinuz-linux-lts’ not found
If, after a system update, you get the following error at boot:
it is probably caused by a wrong update of the Linux kernel or the boot partition was not correctly mounted during this process, or due to an interruption (freeze, reboot or shutdown) during the upgrade of the system (in particular, during the generation of the image at kernel upgrade process time).
To fix it, boot in a Live Environment by Axyl Projects ISO, open the terminal and run the following commands:
Mount the boot filesystem:
Chroot inside the mounted root partition by:
Finally, run:
If needed, persist that /boot
partition in your fstab with a persistent identifier so that you won’t have to unnecessarily do this again the next time the kernel updates.
At the end, remove the ISO file and reboot the system.
Error 24 : Write error : cannot write compressed block
During the installation, if you get the following error messages:
your boot partition is full and cannot write the initcpio image of the system. At reboot after the installation, you could still access to the installed OS by the EFI default loader entry, but on the desktop, you could get a low space on boot partition message.
To solve this, you need to reboot and land again the the Live ISO environment. Let’s guess the boot partition is /dev/nvme0n1p1
. Open a terminal and mount it:
replace /dev/nvme0n1p1
by your actual boot partition block device.
Now, list the files and folders inside the boot partition:
and identify which files and folders are old and unused, and remove them.
For example, you should remove GRUB files related to old Linux systems that are not installed anymore on your computer.
Once reboot, access to your BIOS and be sure that GRUB
entry has the highest priority on UEFI Boot Priority section.
Finally, in case Windows entry disappeared, land on the installed Axyl Projects system, open a terminal and run:
Restore GRUB
For fixing the GRUB, before exiting from the Live Environment, before proceeding, you must detect the existing Linux partition and the EFI partition containing the GRUB entries for Linux and Windows (or other OS). You can do that by running sudo fdisk -l
.
Let’s guess the existing Linux partition is /dev/sda3
and the boot efi partition is at /dev/nvme0n1p1
.
If your existing Linux distribution is based on BTRFS file system, run:
otherwise run:
Then, run:
If EFI boot, run:
If GRUB BIOS/Legacy boot:
Finally:
Now, check the directory tree in /boot/efi
folder and you should have only these files/directories:
Check the EFI
directory and be sure that there are not nested further EFI
directories otherwise your GRUB never work. You must have only the current EFI
directory with the following files/directories:
If you see also another EFI
directory or other ones containing the file grubx64.efi
(i.e., GRUB
directory), delete these folders. Note that in other distros, GRUB
folder could have a different name. Don’t worry to delete GRUB
folder by:
The next command will create it again.
Then, if EFI boot, run:
If GRUB BIOS/Legacy boot:
Note that, /dev/nvme0n1
must be the disk containing the boot partition, not the boot partition itself.
Finally, for fixing also the Linux access, burn Axyl Projects ISO on a USB and follow the steps explained at Post-installation section.
Several boot entries have been disappeared
In case you are in dual boot and some entries are not shown anymore (i.e., Windows Boot Manager if you have Windows in dual boot), enter in Axyl Projects and run:
Then reboot.
ERROR kdfontop.c:183 put_font_kdfontop: Unable to load such font with such kernel version
The message:
can be fixed by disabling the deferred takeover by adding fbcon=nodefer
as kernel parameter in the GRUB_CMDLINE_LINUX_DEFAULT
variable of /etc/default/grub file.
Reference: #99
Blinking cursor after boot
After an upgrade of your system, when you boot, after the GRUB choice, if you get only a blinking cursor, the issue could be related to the upgrade of some components that could break your system boot. To solve this issue, mount an Axyl Projects ISO to your computer to enter in a Live Environment, mount to &mnt
the partition where your original system was installed and run:
After that, downgrade the affected components, for example you can try with the kernel. Remove the existing kernel and kernel headers packages and install:
If you boot, and you are able to get some output log strings and you reach another different blinking cursor, press CTRL+ALT+Fx
(where x
can be 2, 3, 4, and so on) to perform more troubleshooting.
Display Managers
GDM: login background turned to grey
It should be caused by an update of GDM or GNOME packages that restored the default gresource theme file. To restore the Axyl Projects GDM theme, run:
Tools
Bloodhound
On Bloodhound, when neo4j database is run by sudo neo4j console
, we can get some errors like:
For solving it, just run neo4j server by systemctl start neo4j
. You can check the proof that the server is correctly running by systemctl status neo4j
.
Conda
conda activate
continues to show the prompt (base) instead of (test).
The issue is related to the usage of no-repeat-flag
in .bashrc
. To solve this, add the following code inside .bashrc
:
WSL
Win-Kex ESM Mode ‘cannot execute: required file not found’
This issue affects both Axyl Projects and Kali Linux. When you run kex --esm
and you get:
it could be due to two reasons:
- wine is installed
- you are running Axyl Projects and Kali Linux WSL together
Uninstall wine package, close both the WSL sessions, open CMD in Windows and run wsl --shutdown
. Run Axyl Projects and you should not get this error anymore.
Win-Kex ESM Mode ‘Remote Desktop can’t connect’
In case you get the following error:
just open a new Windows terminal and run:
Then, reopen Axyl Projects WSL and try to run again:
Misc
Visual glitch
If you are experiencing virtual glitches like:
and you are working in a virtual machine, the issue could be caused by a bug on the VM graphic adapter. Just disable 3D Acceleration and glitches should be fixed.
Intermittent freezing in VM
If you are experiencing an intermittent freezing on your environment, and you are working in a virtual machine, the issue could be caused by a bug on the VM graphic adapter. Just disable 3D Acceleration and the freezing should be fixed.
Browser elements overlap
In case it occurs that browser elements can overlap as the following case:
The reason is that the website is using the Axyl Projects system font instead of using its one.
In case you would like to solve this behavior on the system side, you need to delete the entry font-name='JetBrains Mono 11'
set in /org/gnome/desktop/ or changing its font.
You can remove it or change the font by:
Edit fix.txt and delete the line containing font-name='JetBrains Mono 11'
or replace this font name with your preferred, save and close the file, then run:
In case your theme will be reset, just run:
Use Axyl Projects-theme-tweak -l
to get the list of themes to be chosen.
Restore system by snapshots in GRUB
In case you are not able to get in the system due to a broken upgrade or similar events, you can leverage on Grub BTRFS snapshots in order to restore a previous state of your system. To do this, run the system, on the GRUB select Axyl Projects Snapshots
Choose the snapshot you want to restore
and select the Linux Kernel to run
Cannot store HTB App Token due to secret-tool hanging
When you run htb-toolkit -k set
and, by entering your App Token in the Password field secret-tool hangs, try to reboot the system. If it does not work, install Brave browser, open it and at first run a popup window asking for the creation of a new password is shown. You can choose to set a password or just press Enter two times if you don’t want, and finally try again htb-toolkit -k set
.
Pentesting tool from menu opening terminal with no output in VirtualBox
When you search for a pentesting tool, like Nmap, in Application Menu or by Red/Blue Team Menu in GNOME, where the terminal is invoked but with no output, just go to the Virtual Machine settings and disable 3D Acceleration.
Virtual machine freezes randomly after a while in VMware Workstation Pro 17.x
Uninstall VMware Workstation 17 and download from VMware website.
Then, open VMware Workstation, right-click on the virtual machine object -> Manage -> Change Hardware Compatibility… and select Workstation 16.x, on the next window select Alter this virtual machine, apply these changes and run the virtual machine.