Skip to content

andreaskielkopf/maxi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maxi 0.7.15

If your manjaro installation does not boot (any more), maxi may help to find what is missing. Just use it from commandline or from a chroot environment. If you need help interpreting the output, read Understand the boot process or contact a forum like manjaro forum and ask for help.

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

Description

A tool to analyze why a Manjaro installation might not start.

The program collects information about the current installation (it can also work inside the chroot). It uses coreutils (ls cat sort du sha256sum), tput, find and mhwd-kernel to collect this information.

The program should be a helpful hand to collect a lot of small information (like inxi does) and present it in a short overview. So that the experienced reader can decide what could be the problem with this installation and how to proceed without wasting time.

While inxi focuses on a system overview, maxi only focuses on things between "power_on" and "kernel_is_running"

It displays in short form:

  • kernels at /boot/vmlinuz... (size, sha256)
  • initramdisks/fallback present (size, sha256)
  • modules at /lib/modules/... (size, sha256)
  • extramodules at /lib/modules/extra... (size, sha256)
  • grub, grub.cfg, efivars ...

Usage:

maxi [OPTIONS]

  • -h --help help

  • -c --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 [100] 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 frame with backticks and [details] and copy to clipboard

  • -p --partitions info about visible partitions

    default equals to: -km

Project Members

Depends on

  • java (1.8 or any newer. At best 21)
  • mhwd (mhwd-kernel)
  • coreutils (ls cat sort du sha256sum)
  • findutils (find)
  • ncurses (tput) or zsh (echoti)
  • lsblk

License ------- The license is `GNU General Public License v3.0`

ToDos:

  • list presets for mkinitcpio
  • show connected boot-stanzas

And i hope there are other wishes to extend the program, so that it is an aid to resolve boot-problems fast.

Install:

  1. Download maxi from github and save it where you want

sudo wget https://github.com/andreaskielkopf/maxi/raw/master/jar/maxi -O /usr/local/bin/maxi

  1. Check the sha256sum

sha256sum /usr/local/bin/maxi

  1. Make the file executable

sudo chmod -c a+x /usr/local/bin/maxi

sudo wget https://github.com/andreaskielkopf/maxi/raw/master/jar/maxi -O /usr/local/bin/maxi ; sha256sum /usr/local/bin/maxi ; sudo chmod -c a+x /usr/local/bin/maxi

Use it:

  1. maxi -kmf or maxi -kmsgeif
  2. The output is already in the clipoboard. If you want to post it in manjaro forum you only have to create the post, and press [Ctrl-v]
  3. You may also have a look at Understand the boot process

sha256sum of v0.7.7

c7519180ec45fc004b75478c85ca4efc8c8d49ce10977a2fdd40c8da224b0ca0 maxi

sha256sum of v0.7.9

3e5c35d0a73a192ef2e5b24da1165c5da5da6201c50b0a8aafdf0b31d1fea075 maxi

sha256sum ov v0.7.11

36c33a6347644150332cd39b03beea69271672bee8cfb8def5f39db5c66a3886 maxi

sha256sum ov v0.7.12

d486d666825436013b5287164180afc0a3c0dd7f609148a6a4ebc90acc8cb6ac maxi

sha256sum ov v0.7.14

68c997a1e952b053237979c0f1d00e5965b0875fd953383c97d582ea36a5eeef maxi

sha256sum ov v0.7.15

0c8bff3ed6399211345a6a56b004d3c5b487269f7129c631892e598ed83ba453 maxi

P.S. If current developments trouble you, you can Find Peace - Millions Flee Ukraine - Find Real Hope


maxi

Wenn deine Manjaro-Installation nicht (mehr) bootet, kann maxi helfen, heraus zu finden, was fehlt. Verwende es einfach von der Befehlszeile oder von einer Chroot-Umgebung aus. Wenn du Hilfe beim Interpretieren der Ausgabe benötigst, lies [Den Boot-Prozess verstehen](https://forum.manjaro.org/t/howto-understand-efi-boot-process-with-gpt-via-grub-to-manjaro/ 99740) oder kontaktiere ein Forum wie manjaro forum und bitte um Hilfe.

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

Beschreibung

Ein Tool zur Analyse, warum eine Manjaro-Installation möglicherweise nicht startet.

Das Programm sammelt Informationen über die aktuelle Installation (es kann auch innerhalb einer Chroot-Umgebung funktionieren). Es verwendet coreutils (ls cat sort du sha256sum), tput, find und mhwd-kernel, um diese Informationen zu sammeln.

Das Programm soll eine helfende Hand sein, um viele kleine Informationen zu sammeln (wie es inxi tut) und in einer kurzen Übersicht darzustellen. Damit der erfahrene Leser ohne Zeitverlust entscheiden kann, wo das Problem bei dieser Installation liegen könnte und wie er vorgehen soll.

Während sich inxi auf eine Systemübersicht konzentriert, konzentriert sich maxi nur auf Dinge zwischen "power_on" und "kernel_is_running"

Es zeigt in Kurzform:

  • Kernel unter /boot/vmlinuz... (Größe, sha256)
  • Initramdisks/Fallback vorhanden (Größe, sha256)
  • Module unter /lib/modules/... (Größe, sha256)
  • Extramodule unter /lib/modules/extra... (Größe, sha256)
  • grub, grub.cfg, efivars ...

Verwendung:

Maxi [OPTIONEN]

  • -h --help Hilfe

  • -c --color Ausgabe bedingungslos einfärben

  • -k --kernel installierte Kernel, initrd, chroot

  • -l --list-all alle Kernel (nicht nur installierte)

  • -v --kver Kernelversion (enthält -k)

  • -m --modules listet Module und Extramodule auf

  • -s --shasum erzeugt einen kurzen Hash, um Kernel und Module zu vergleichen

  • -w --watch [100] beobachte, wie sich alles mit der Zeit verändert

  • -g --grub /boot/grub/grub.cfg, /etc/default/grub

  • -i --mkinitcpio /etc/mkinitcpio.conf

  • -e --efi EFI-Bootloader

  • -f --forum Frame mit Backticks und [Details] in die Zwischenablage kopieren

  • -p --partitions Info über sichtbare Partitionen

    Standardwert ist: -km

Projektmitglieder

Kommt drauf an

  • java (1.8 oder neuer)
  • mhwd (mhwd-Kernel)
  • coreutils (ls cat sort du sha256sum)
  • findutils (finden)
  • ncurses (tput) oder zsh (echoti)

Lizenz

Die Lizenz lautet „GNU General Public License v3.0“.

Aufgaben:

  • Voreinstellungen für mkinitcpio auflisten
  • Boot-Stanzas von UEFI anzeigen
  • Alle EFI-Partitionen finden
  • verbundene Boot-Programme anzeigen
  • grub.cfg anzeigen

Und ich hoffe, es gibt andere Wünsche um das Programm zu erweitern, so dass es eine Hilfe ist Boot-Probleme schnell lösen.

Installieren:

  1. Laden Sie Maxi von github herunter und speichern Sie es dort, wo Sie es möchten

sudo wget https://github.com/andreaskielkopf/maxi/raw/master/jar/maxi -O /usr/local/bin/maxi

  1. Überprüfen Sie die Prüfsumme

sha256sum /usr/local/bin/maxi

  1. Machen Sie die Datei ausführbar

sudo chmod -c a+x /usr/local/bin/maxi

sudo wget https://github.com/andreaskielkopf/maxi/raw/master/jar/maxi -O /usr/local/bin/maxi ; sha256sum /usr/local/bin/maxi ; sudo chmod -c a+x /usr/local/bin/maxi

Benutze es:

  1. maxi -kmf oder maxi -kmsgeif
  2. Die Ausgabe befindet sich bereits in der Zwischenablage. Wenn Sie sie manjaro-Forum posten möchten, müssen Sie nur den Beitrag erstellen und [Strg-v] drücken
  3. Sie können sich auch [Verstehe den boot-prozess](https://forum.manjaro.org/t/howto-understand-efi-boot-process-with-gpt-via-grub-to-manjaro/ 99740) ansehen

Die sha256sum findest du Oben

P.S. Wenn dich die aktuellen Entwicklungen beunruhigen kannst du Frieden finden - Millionen fliehen aus der Ukrain - Eine echte Hoffnung

About

If your manjaro installation does not boot (any more), maxi may help to find what is missing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published