Wenn jetzt “quiet” aus /etc/default/grub entfernt ist
(und Du dann update-grub ausgeführt hast danach)
kannst Du möglicherweise in den Ausgaben sehen was das Problem ist
wenn Du das System bootest.
Ansonsten immer noch nur:
die Ausgaben von journalctl nach Hinweisen durchsuchen
Habe in /etc/default/grub in GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor resume=UUID=3970456f-45fa-42d0-9a6a-84bad24a433b udev.log_priority=3"quiet entfernt.
Das scheint geklappt zu haben:
# update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
Ist die Warnung unwichtig?
Zuerst ^D oder # exit danach:
Mal sehen, was journalctl oder besser journalctl -b gleich, also nach dem booten, anzeigt.
just “sync”
and then shut the system down via power button
und schon wieder ins englische gefallen
einfach “sync” ausführen
und dann den Rechner ausschalten
es geht akkurater, eleganter, besser …
das zu erklären hab ich aber keine Lust - ist auch nicht nötig
sync stellt sicher, daß alle Daten auf Platte geschrieben wurden - der automatische Dateisystem Check wird damit keine Probleme haben
Wahrscheinlich Dein Datei Manager - mit dessen Hilfe Du wohl die Datei geöffnet hast, um sie zu bearbeiten.
Wer weiß?
Ist nicht wichtig.
War nur ein live System - das nimmt keinen Schaden.
Ich bin total überrascht: Er startet wieder. Und bin auch verunsichert, ob irgendwo ein Fehler lauert, der das System wieder lahm legt. Da brauche ich noch etwas Sicherheit.
journalctl -b liefert eine ganze Menge gelbe und rosa Einträge. Die vielen blauen Einträge habe ich weggelassen. Was bedeuten diese Einträge? Sind welche davon wichtig?:
Unknown kernel command line parameters “BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64”, will be passed to user space.
x86/cpu: SGX disabled by BIOS.
WARNING mit Kontext:
Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
Dez 06 23:06:50 lenovo-a kernel: Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
Dez 06 23:06:50 lenovo-a kernel: Spectre V2 : Mitigation: Enhanced IBRS
Dez 06 23:06:50 lenovo-a kernel: Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
Dez 06 23:06:50 lenovo-a kernel: Spectre V2 : Spectre v2 / PBRSB-eIBRS: Retire a single CALL on VMEXIT
Zeile 547: hpet_acpi_add: no address or irqs in _CRS
usb 1-5.1: config 1 has an invalid interface number: 3 but max is 2
Dez 06 23:06:50 lenovo-a kernel: usb 1-5.1: config 1 has an invalid interface number: 3 but max is 2
Dez 06 23:06:50 lenovo-a kernel: usb 1-5.1: config 1 has an invalid interface number: 3 but max is 2
Dez 06 23:06:50 lenovo-a kernel: usb 1-5.1: config 1 has an invalid interface number: 3 but max is 2
Dez 06 23:06:50 lenovo-a kernel: usb 1-5.1: config 1 has no interface number 2
mtd: partition “BIOS” extends beyond the end of device “0000:00:1f.5” – size truncated to 0x1000000
acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
Dez 06 23:06:51 lenovo-a kernel: acpi PNP0C14:03: duplicate WMI GUID 05901221-
…
Dez 06 23:06:51 lenovo-a kernel: acpi PNP0C14:04: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
Es gibt noch eine Menge dunkelblaue Einträge. Ich weiß nicht, ob die wichtig sind.
thermal thermal_zone6: failed to read out thermal zone (-61)
snd_hda_codec_hdmi hdaudioC0D2: Monitor plugged-in, Failed to power up codec ret=[-13]
(Das Audio vom Monitor funktioniert):
hid-generic 0003:0A92:0054.0001: No inputs registered, leaving
Das vollständige Systemupdate habe ich gestern vor dem Fehler gemacht. Später in chroot und jetzt auch sind das Systemupdate immer noch aktuell. Ich finde das schon seltsam, dass der Boot-Fehler nach chroot und update-grub einfach so verschwunden ist.
Vielleicht kennt sich jemand anderes der mit liest mit den Warnungen und Fehlermeldungen sehr gut aus. Ich hoffe aber auch, dass es jetzt einigermaßen normal aussieht und ich nichts mehr tun muss, für SystemStabilität
Ich habe nach einem System-Update wieder denselben Fehler:
Der Rechner bootet nicht mehr und nach ca. 10 Sek. erscheint als erste Meldung:
error: missing mandatory option for `class'.
error: missing mandatory option for `class'.
Press any key to continue…
Failed to boot both default and fallback entries.
Press any key to continue…
Irgendetwas geht nach einem System-Update kaputt. Muss ich das Folgende jetzt nach jedem System-Update machen?
Ich versuche jetzt erstmal das alte System zu mount-en und mache dann update-grub. Ich melde mich dann wieder.
Edit: PS:
Kann das mit UEFI zusammenhängen? Mein Lenovo ThinkCentre Tiny ist die erste Generation, in der Lenovo nur UEFI eingebaut hat.
OK and thanks for the info What must i do, to boot via UEFI? Is it difficult?
Another error is: In the file-manager thunar, the cursor jumps away from one mark to another position, after doing something in thunar. Can this error todo something with boot by Grub and can it disapear by booting via UEFI?
enter into uefi boot menu, dont know the keyboard shortcut for your machine, and just select manjaro … it should be the menu when you try booting from example from usb, you have a selection there for usb, hard drive, cd rom, card reade … etc
and the thunar issue is not related to this one…
Ein verursachendes Programm gibt es nicht, um es wieder zu deinstallieren
Ein komplettes System Update in chroot
Versuch Grub zum laufen zu bringen
manjaro-chroot -a
sudo pacman -Syu
[root@manjaro /]# update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
$ cat /etc/default/grub | grep -i "GRUB_DISABLE_OS_PROBER"
#GRUB_DISABLE_OS_PROBER=false
$ cat /etc/default/grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 security=apparmor resume=UUID=3970456f-45fa-42d0-9a6a-84bad24a433b udev.log_priority=3"
# "quiet " am Anfang entfernt.
GRUB_CMDLINE_LINUX=""
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment this option to enable os-prober execution in the grub-mkconfig command
#GRUB_DISABLE_OS_PROBER=false
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use 'fsck' by default, which
# needs 'rw' as boot parameter, to avoid delay in boot-time. 'fsck' needs to be
# removed from 'mkinitcpio.conf' to make 'systemd-fsck' work.
# See also Arch-Wiki: https://wiki.archlinux.org/index.php/Fsck#Boot_time_checking
#GRUB_ROOT_FS_RO=true
$ lsblk -o PATH,PTTYPE,PARTTYPE,FSTYPE,PARTTYPENAME
PATH PTTYPE PARTTYPE FSTYPE PARTTYPENAME
/dev/sda gpt
/dev/sda1 gpt 0fc63daf-8483-4772-8e79-3d69d8477de4 ext4 Linux filesystem
/dev/sr0
/dev/nvme0n1 gpt
/dev/nvme0n1p1 gpt c12a7328-f81f-11d2-ba4b-00a0c93ec93b vfat EFI System
/dev/nvme0n1p2 gpt 0fc63daf-8483-4772-8e79-3d69d8477de4 ext4 Linux filesystem
/dev/nvme0n1p3 gpt 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f swap Linux swap
looks like mine, except you have disabled os prober …
i would just reinstall grub, its at this point the best possible solution…
boot again into manjaro live usb, chroot: manjaro-chroot -a
reinstall grub for uefi: