Maxi - call for testers 0.7.28

maxi :footprints:

is made for people that try to help others in this forum

I made this small program to gather information on the boot-process (uefi :fast_forward: gpt :fast_forward: grub :fast_forward: kernel :fast_forward: initrd :fast_forward: manjaro). All probing is done with standard tools like mhwd-kernel, ls, cat, sort, du, find, …

maxi collects and shows infos about:

  • uefi bootvariables and bootloaders (-e)
  • visible partitions (-p)
  • grub.cfg and /etc/default/grub (-g)
  • /etc/mkinitcpio.conf (-i)
  • installed and running kernel(s), chroot, available initramdisks (-k -v)
  • available kernels and EOL (-l)
  • installed modules (-m)

It may help to get an overview, what is missing in an install, so you can decide, what a user should do to repair it.

maxi -h
maxi -h
maxi v0.7.27 (15.06.2025) for **java 21**

Usage:
------
 * -h --help       print this page 
 * -c --use_color  colorize output unconditionally 
 * -k --kernel     installed kernels, initrd, chroot 
 * -l --list_all   all kernels (not only installed) 
 * -v --kver       kernelversion (includes -k) 
 * -m --modules    list modules and extramodules 
 * -s --shasum     produce short hash to compare kernel & modules 
 * -w --watch      watch how everything changes over time 
 * -g --grub       /boot/grub/grub.cfg, /etc/default/grub 
 * -i --mkinitcpio /etc/mkinitcpio.conf 
 * -e --efi        efi bootloaders 
 * -f --forum      copy with backticks and [details] to clipboard 
 * -p --partitions info about visible partitions 
9 ==>
/usr/local/bin/maxi [OPTIONS] -hf
Maxi is made for manjaro linux
 
   default equals to: -km
   
 For sources see@ https://github.com/andreaskielkopf/Maxi and inside this file

maxi is written in bash / java :wink: and has all source included

  • To view the bash source look into the start of the file
  • To view the java source, you have to rename it to maxi.jar
    Java (jdk-openjdk) and bash need to be installed :wink:

Version 0.7.27 is now available via Github:

(There is also a branch for java__8)

You need to make the file executable

chmod a+x maxi

Now you can use it

maxi -kmvf

Depends on

  • java (21 or newer)
  • mhwd (mhwd-kernel)
  • coreutils (ls cat sort du sha256sum)
  • findutils (find)
  • ncurses (tput) or zsh (echoti)
  • efibootmgr

License

The license is GNU General Public License v3.0 :footprints:
maxi 0.7.18

8 Likes

maxi v0.7.28 (2026-07-26 17:15)

maxi -h

Usage:

  • -h --help print this page
  • -c --use_color colorize output unconditionally
  • -k --kernel installed kernels, initrd, chroot
  • -l --list_all all kernels (not only installed)
  • -v --kver kernelversion (includes -k)
  • -m --modules list modules and extramodules
  • -s --shasum produce short hash to compare kernel & modules
  • -w --watch watch how everything changes over time
  • -g --grub /boot/grub/grub.cfg, /etc/default/grub
  • -i --mkinitcpio /etc/mkinitcpio.conf
  • -e --efi efi bootloaders
  • -f --forum copy with backticks and [details] to clipboard
  • -p --partitions info about visible partitions

Maxi is made for manjaro linux

default equals to: -km

For sources see@ GitHub - andreaskielkopf/maxi: If your manjaro installation does not boot (any more), maxi may help to find what is missing · GitHub and inside this file

maxi -k
Currently running: 7.1.4-1-MANJARO (linux71)
 linux612 vmlinuz-6.12-x86_64 initramfs-6.12-x86_64.img=226M fallback=420M
 linux618 vmlinuz-6.18-x86_64 initramfs-6.18-x86_64.img=322M fallback=515M
 linux71  vmlinuz-7.1-x86_64  initramfs-7.1-x86_64.img =326M fallback=<none>
maxi -l
Currently running: 7.1.4-1-MANJARO (linux71)
 linux61     -n/a- -n/a-               -n/a-                    =     -n/a-   =
 linux612          vmlinuz-6.12-x86_64 initramfs-6.12-x86_64.img=226M fallback=420M
 linux618          vmlinuz-6.18-x86_64 initramfs-6.18-x86_64.img=322M fallback=515M
 linux66     -n/a- -n/a-               -n/a-                    =     -n/a-   =
 linux71           vmlinuz-7.1-x86_64  initramfs-7.1-x86_64.img =326M fallback=<none>
 linux72     -n/a- -n/a-               -n/a-                    =     -n/a-   =
 linux61-rt  -n/a- -n/a-               -n/a-                    =     -n/a-   =
 linux612-rt -n/a- -n/a-               -n/a-                    =     -n/a-   =
 linux66-rt  -n/a- -n/a-               -n/a-                    =     -n/a-   =
maxi -v
Currently running: 7.1.4-1-MANJARO (linux71)
 linux612 vmlinuz-6.12-x86_64 initramfs-6.12-x86_64.img=226M fallback=420M   kver:6.12.96-1-MANJARO
 linux618 vmlinuz-6.18-x86_64 initramfs-6.18-x86_64.img=322M fallback=515M   kver:6.18.39-1-MANJARO
 linux71  vmlinuz-7.1-x86_64  initramfs-7.1-x86_64.img =326M fallback=<none> kver:7.1.4-1-MANJARO
maxi -m
Currently running: 7.1.4-1-MANJARO (linux71)
Info about: /lib/modules
 modules612 6.12.96-1-MANJARO=159M <none>=
 modules618 6.18.39-1-MANJARO=164M <none>=
 modules71  7.1.4-1-MANJARO  =168M <none>=
maxi -kms
Currently running: 7.1.4-1-MANJARO (linux71)
 linux612 vmlinuz-6.12-x86_64∑434a~7357 initramfs-6.12-x86_64.img=226M fallback=420M  ∑<sha?>
 linux618 vmlinuz-6.18-x86_64∑3120~09c6 initramfs-6.18-x86_64.img=322M fallback=515M  ∑<sha?>
 linux71  vmlinuz-7.1-x86_64 ∑b7d9~46aa initramfs-7.1-x86_64.img =326M fallback=<none>∑<sha?>
Info about: /lib/modules Checksumming all modules may take a while
 modules612 6.12.96-1-MANJARO=159M∑<sha?> <none>=∑<sha?>
 modules618 6.18.39-1-MANJARO=164M∑<sha?> <none>=∑<sha?>
 modules71  7.1.4-1-MANJARO  =168M∑<sha?> <none>=∑<sha?>
maxi -g
Currently running: 7.1.4-1-MANJARO (linux71)
Info about: /etc/default/grub
   GRUB_DEFAULT              =saved
   GRUB_TIMEOUT              =5
   GRUB_DISTRIBUTOR          ='Manjaro'
 # GRUB_CMDLINE_LINUX_DEFAULT='quiet splash apparmor=1 security=apparmor udev.log_priority=3'
   GRUB_CMDLINE_LINUX_DEFAULT='apparmor=1 security=apparmor udev.log_priority=3'
   GRUB_CMDLINE_LINUX        =""
   GRUB_PRELOAD_MODULES      ="part_gpt part_msdos"
 # GRUB_TIMEOUT_STYLE        =hidden
   GRUB_TIMEOUT_STYLE        =menu
   GRUB_THEME                ="/usr/share/grub/themes/manjaro/theme.txt"
   GRUB_SAVEDEFAULT          =false
   GRUB_DISABLE_OS_PROBER    =false
maxi -i
Currently running: 7.1.4-1-MANJARO (linux71)
Info about: /etc/mkinitcpio.conf
 # MODULES            =(btrfs nouveau)
 # MODULES            =(crc32c btrfs)
   MODULES            =(crc32c btrfs usbhid xhci_hcd)
   BINARIES           =()
   FILES              =()
   HOOKS              =(systemd autodetect microcode modconf kms keyboard sd-vconsole block filesystems)
 # COMPRESSION        ="zstd"
 # COMPRESSION        ="gzip"
 # COMPRESSION        ="bzip2"
 # COMPRESSION        ="lzma"
 # COMPRESSION        ="xz"
 # COMPRESSION        ="lzop"
 # COMPRESSION        ="lz4"
   COMPRESSION        =cat
 # COMPRESSION_OPTIONS=()
 # MODULES_DECOMPRESS ="no"
   MODULES_DECOMPRESS ="yes"
maxi -e
Currently running: 7.1.4-1-MANJARO (linux71)
Info about: efi bootloaders
 690c~7cf2 324K /boot/grub/x86_64-efi/core.efi /include/grub
 690c~7cf2 324K /boot/grub/x86_64-efi/grub.efi /include/grub
Info about: efi vars (needs efibootmgr)
 Boot0000* Manjaro               HD(1,GPT,ac57a5f8-50ad-4cc2-a129-260408a0dcd0,0x800,0x800000)
 Boot0001* UEFI:CD/DVD Drive     BBS(129,,0x0)                                                
 Boot0002* UEFI:Removable Device BBS(130,,0x0)                                                
 Boot0003* UEFI OS               HD(1,GPT,ac57a5f8-50ad-4cc2-a129-260408a0dcd0,0x800,0x800000)
 Boot0004* UEFI:Network Device   BBS(131,,0x0)                                                
 Boot0005* rEFInd Boot Manager   HD(1,GPT,ac57a5f8-50ad-4cc2-a129-260408a0dcd0,0x800,0x800000)
maxi -p
Currently running: 7.1.4-1-MANJARO (linux71)
Info about: visible partitions (needs lsblk)
 ac57a5f8-50ad-4cc2-a129-260408a0dcd0 nvme0n1p1 gpt part vfat  4G   EFI System       7B77-AD7F                            efi
 5ddf31f5-1c1f-40e9-979e-4939dead865a nvme0n1p2 gpt part btrfs 40G  Linux filesystem 263d1186-0f94-4a14-b2f5-191140536109 root
 abfb6acb-1558-448a-8c67-9bf37187ff38 nvme0n1p3 gpt part btrfs 900G Linux filesystem cd556c5c-28ab-4b2e-b08b-02a18221390a manjaro25 manjaro25
 5a010b9c-b5d6-4ac3-9934-4dede89edbb8 nvme0n1p4 gpt part btrfs 869G Linux filesystem ec9c539c-c626-4379-91ad-acf07f20b97d manjaro26 manjaro26
 9cc46f62-2b14-434f-a09a-8918dee9c4f5 nvme0n1p5 gpt part swap  50G  Linux swap       34d8f1dc-84ce-4101-b7d5-394f8024e874 swap      swap

This information may help analyze the boot process. The data is filtered to make it easy to get an overview.

Maxi can be launched directly from GitHub if Java 25 is installed on the system.

java --version
sudo wget https://github.com/andreaskielkopf/maxi/raw/master/jar/maxi -O ./maxi; sudo chmod a+x ./maxi; ./maxi -kmsgeif      

:footprints:

3 Likes