Manjaro Difference between revisions of "Stay safe"

Difference between revisions of "Stay safe"

From Manjaro
(Erster Teil)
(Teil2)
Line 3: Line 3:
<!-- TOC shows contents of the page -->__TOC__
<!-- TOC shows contents of the page -->__TOC__


<!-- Example titles -->
=Stay safe=
==Stay safe==
This is a collection of options you have to operate your manjaro safely. This is about events that can happen to every Linux user. Please do not underestimate the relevant risks and warnings. You can easily start a search in the Manjaro forum for each of the following points. Then you will get an overview of what the current status is at each point.
This is a collection of options you have to operate your manjaro safely. This is about events that can happen to every Linux user. Please do not underestimate the relevant risks and warnings. You can easily start a search in the Manjaro forum for each of the following points. Then you will get an overview of what the current status is at each point.
== Hardware ==
== Hardware ==
Hardware tends to break from time to time ;-) . This most often happens shortly after installation (< 1 month) or after the end of the average lifespan (e.g. > 5 years).
Hardware tends to break from time to time ;-) . This most often happens shortly after installation (< 1 month) or after the end of the average lifespan (e.g. > 5 years).
Line 20: Line 20:
In the simplest case it is enough to go to the UEFI boot selection. Your UEFI will then search for a suitable UEFI partition. And ideally finds the boot entry for the grub of manjaro.
In the simplest case it is enough to go to the UEFI boot selection. Your UEFI will then search for a suitable UEFI partition. And ideally finds the boot entry for the grub of manjaro.


=== What you will need ===
== Software ==
As a rolling release, the Manjaro software is renewed regularly. You need enough file system space and a way to rollback if the update fails catastrophically.
Even when you install or reconfigure a program, a lot can go wrong. Better safe than sorry.
{{BoxWarning|Experienced system administrators say:| no backup - no pity}}
 
 
=== Update ===
The closer you stay to updating, the fewer problems you will encounter. But that doesn't just mean installing the updates, but also reading the relevant thread beforehand. Carry out the necessary maintenance work after the update. Then a reboot should definitely follow.
 
Being careless in these matters can work well for a long time, but it usually takes its toll at some point. The clean-up work usually takes a lot longer than the time saved.
 
==== read ====
If the update thread is only a few hours old, it's better to wait a while. An update in the first 24 hours is only for people who can help themselves ;-)
 
=== consider ===
Consider whether any of the problems described may occur to you
If so, there is usually a link with instructions on what you should do. Please read this carefully. Then act accordingly. This will save you a lot of problems.
 
=== update in tty ===
Do the update on the console (tty). The GUIs are all well and good, but there are update situations where the GUI might freeze. This is the first step to disaster.
 
After the update has been completed, check again whether there are any errors or warnings. If so, read the message and see if there is a recommendation for action. If so, act.
 
If you are unsure, copy the warning and ask on the Manjaro forum (before proceeding)
*If you are afraid, check if the necessary files are there to boot.
  * kernel
  * initr
  * modules
  (or use maxi to display this)
 
 
 
== Be prepared ==
==== extern backup ====
==== extern backup ====
==== live manjaro ====
==== Live manjaro ====
You need a CD/DVD or USB to boot from. This should be a current version of manjaro. (in no case older than 6 months) The desktop does not have to be the same as your usual desktop. For example, the version with XFCE (fast and robust) is well suited.
You need a CD/DVD or USB to boot from. This should be a current version of manjaro. In no case older than 6 months. The desktop does not have to be the same as your usual desktop. For example, the version with XFCE (fast and robust) is well suited.


What you could do this way:
What you could do this way:
Line 30: Line 62:
* Determine the real problem using guidance from the wiki/forum
* Determine the real problem using guidance from the wiki/forum
* Fix the problem using instructions from the wiki/forum
* Fix the problem using instructions from the wiki/forum
* Roll back
* Roll back using snapper or timeshift
* Perform a reinstallation
* Perform a reinstallation
* Import your backups
* Import your backups
===Software===
Als rolling release wird die Software von manjaro regelmäßig erneuert. Dazu braucht man genug Platz im Dateisystem, und eine Möglichkeit zum rollback falls was katastrophal schiefgeht.
====Update====
Beim Updaten treten umso weniger Probleme auf, je näher du dran bleibst. Aber das bedeutet nicht nur die Updates einzuspielen, sondern auch vorher den entsprechenden Thread zu lesen. Nach dem Update die notwendigen Wartungsarbeiten durchzuführen. Dann sollte auf jeden Fall ein reboot folgen.
*Update-Thread lesen
Wenn der Thred nur wenige stunden alt ist, warte lieber etwas. Ein Update in den ersten 24 Stunden ist nur was für Leute die sich selbst helfen können ;-)
*Überlegen ob eines der geschilderten Probleme bei dir auftreten können
Wenn ja, ist meist ein Link mit Hinweisen angegeben, was du machen sollst. Bitte lies das gründlich durch. Dann handle entsprechend. Das wird dir eine Menge Probleme ersparen.
*Mach das Update auf der console (tty)
Die GUIs sind schön und gut, aber es gibt Update-Situationen in denen die GUI einfrieren könnte. Das ist der erste Schritt zum Disaster.
*Nachdem das Update durchgelaufen ist, schau nochmal ob irgendwelche Errors oder Warnings zu sehen sind
Wenn ja, lies die Meldung, und schau ob darin eine Handlungsempfehlung steht. Wenn ja, handle
Wenn du dir unsicher bist, kopier die Warnung und frag im Manjaro-forum nach (bevor du weitermachst)
*Wenn du Ängstlich bist, prüfe ob die notwendigen Dateien zum booten da sind.
  * kernel
  * initrd
  * module
  (oder nutzde maxi um dir das anzeigen zu lassen)




Line 59: Line 72:


<!-- If you use command, it should be inside of usercmd. You can see below example -->
<!-- If you use command, it should be inside of usercmd. You can see below example -->
{{UserCmd|command=example command should be here}}
{{BoxWarning|command=example command should be here}}


<!-- If you use code, it should be like below example(a space before that) -->
<!-- If you use code, it should be like below example(a space before that) -->

Revision as of 09:52, 30 December 2023


Stay safe

This is a collection of options you have to operate your manjaro safely. This is about events that can happen to every Linux user. Please do not underestimate the relevant risks and warnings. You can easily start a search in the Manjaro forum for each of the following points. Then you will get an overview of what the current status is at each point.

Hardware

Hardware tends to break from time to time ;-) . This most often happens shortly after installation (< 1 month) or after the end of the average lifespan (e.g. > 5 years).

hdd / ssd

Please remember that every hard drive/SSD will fail at some point and be prepared. Sometimes the data can still be read (then it's time for a final backup). But you can't rely on that.

Power supply

You can simply replace a broken power supply with a new one. If you were very unlucky, the old power supply may have damaged other things like your motherboard or hard drives when it died. But that rarely happens.

Motherboard

If you need to replace your motherboard, be aware that the new one usually won't boot right away. There is UEFI in the motherboard. This contains the configuration of the way you used to boot. With the replacement, this is missing from the new UEFI.

In the simplest case it is enough to go to the UEFI boot selection. Your UEFI will then search for a suitable UEFI partition. And ideally finds the boot entry for the grub of manjaro.

Software

As a rolling release, the Manjaro software is renewed regularly. You need enough file system space and a way to rollback if the update fails catastrophically. Even when you install or reconfigure a program, a lot can go wrong. Better safe than sorry.

Experienced system administrators say:
no backup - no pity


Update

The closer you stay to updating, the fewer problems you will encounter. But that doesn't just mean installing the updates, but also reading the relevant thread beforehand. Carry out the necessary maintenance work after the update. Then a reboot should definitely follow.

Being careless in these matters can work well for a long time, but it usually takes its toll at some point. The clean-up work usually takes a lot longer than the time saved.

read

If the update thread is only a few hours old, it's better to wait a while. An update in the first 24 hours is only for people who can help themselves ;-)

consider

Consider whether any of the problems described may occur to you If so, there is usually a link with instructions on what you should do. Please read this carefully. Then act accordingly. This will save you a lot of problems.

update in tty

Do the update on the console (tty). The GUIs are all well and good, but there are update situations where the GUI might freeze. This is the first step to disaster.

After the update has been completed, check again whether there are any errors or warnings. If so, read the message and see if there is a recommendation for action. If so, act.

If you are unsure, copy the warning and ask on the Manjaro forum (before proceeding)

  • If you are afraid, check if the necessary files are there to boot.
  * kernel
  * initr
  * modules
  (or use maxi to display this)


Be prepared

extern backup

Live manjaro

You need a CD/DVD or USB to boot from. This should be a current version of manjaro. In no case older than 6 months. The desktop does not have to be the same as your usual desktop. For example, the version with XFCE (fast and robust) is well suited.

What you could do this way:

  • Boot into a Manjaro without changing the internal HDD or SSD
  • If possible, make an additional backup of certain “latest” data
  • Determine the real problem using guidance from the wiki/forum
  • Fix the problem using instructions from the wiki/forum
  • Roll back using snapper or timeshift
  • Perform a reinstallation
  • Import your backups


Your sub title 2

{{{1}}}
{{{2}}}


Example codes should be here.



This is Work in progress as of 30.12.2023

Example Link Title example text

Cookies help us deliver our services. By using our services, you agree to our use of cookies.