Benutzer-Werkzeuge

Webseiten-Werkzeuge


it:linux_probleme

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
it:linux_probleme [2020/12/09 14:58] – ↷ Seite von linux_probleme nach it:linux_probleme verschoben marcusit:linux_probleme [2023/06/20 12:20] (aktuell) – [Programme können nicht auf Dateien auf dem Datengarten zugreifen] 192.168.1.195
Zeile 1: Zeile 1:
-====== Computer fährt nicht hoch / initramfs ======+====== Bei der Nutzung von Linux aufgetretene Probleme und deren Lösung ======
  
-[[https://prognotes.net/2018/04/linux-mint-initramfs-prompt-at-boot/|prognotes.net]]+===== Dateibrowser aktualisiert seine Ansicht nicht automatisch =====
  
-====== Linux Mint initramfs Prompt at Boot ======+So werden z.B. neu eingefügte Dateien erst angezeigt nachdem das Verzeichnis gewechselt wurde. Das verwirrt weil dann fälschlich der Eindruck entsteht z.B. Kopiervorgänge wären fehlgeschlagen.\\ 
 +Eigentlich sollte das Problem bei aktuellen Versionen von Ubuntu oder Linux Mint nicht auftreten, es waren aber in der Kommune mehrere Rechner von dem Problem betroffen. 
 + 
 +==== Manuelle Abhilfe über Tastenkombination ==== 
 + 
 +Dateibrowser Nautilus:\\ 
 +Strg-R für Refresh sorgt für eine Aktualisierung der Ansicht\\ 
 +(Andere nützliche Kombination: Strg-H zeigt/versteckt versteckte Dateien mit mit "." beginnenden Dateinamen und sorgt damit für Übersicht z.B. im home verzeichnis wo viele solche Dateien liegen. 
 + 
 +==== Dauerhafte Abhilfe ==== 
 + 
 +Quelle: [[https://askubuntu.com/questions/665521/folder-content-doesnt-get-refreshed-automatically-in-ubuntu-14-04|https://askubuntu.com/questions/665521/folder-content-doesnt-get-refreshed-automatically-in-ubuntu-14-04]] 
 + 
 +  * Die Datei ''/etc/sysctl.conf''  editieren mit folgendem Befehl im Terminal 
 +<code> 
 + 
 +sudo nano /etc/sysctl.conf 
 + 
 +</code> 
 + 
 +  * unten folgende Zeile hinzufügen, danach ein Enter 
 + 
 +<code> 
 +fs.inotify.max_user_watches=1000000 
 + 
 +</code> 
 + 
 +  * Die Einstellungen neu laden 
 + 
 +<code> 
 +sudo sysctl -p 
 + 
 +</code> 
 + 
 +  * Ergebnis sollte etwas wie das folgende sein 
 + 
 +<code> 
 +fs.inotify.max_user_watches = 1000000 
 + 
 +</code> 
 + 
 +  * Danach sollte auch nach Neustarts die Ansicht automatisch aktualisieren 
 + 
 +===== Programme können nicht auf Dateien auf dem Datengarten zugreifen ===== 
 + 
 +Wenn zum Beispiel aus dem Thunderbird Dateien auf den Datengarten gespeichert werden sollen geht das nicht.\\ 
 +Lesezeichen und Netzwerklaufwerke sind nicht verwendbar als Ziel für das Abspeichern von Dateien. 
 + 
 +Ursache ist die Art wie Linux die Netzwerklaufwerke automatisch einbindet. 
 + 
 +==== Temporäre Abhilfe ==== 
 + 
 +Den Entsprechenden Pfad z.B. Datengarten/03 - verwaltung/ im Dateibrowser öffnen. Damit wird die Freigabe temporär "gemoutet" und steht damit für Dateioperationen aus Programmen zur Verfügung. 
 + 
 +==== Dauerhafte Abhilfe ==== 
 + 
 +Entsprechende Freigabe über einen Eintrag in der Datei etc/fstab bei Systemstart einbinden.\\ 
 +Siehe dazu [[:it:datengarten_anleitung_zur_benutzung|http://kommintern.de/dokuwiki/doku.php?id=it:datengarten_anleitung_zur_benutzung|]]\\ 
 +**Einen Ordner des Datengartes (unter Linux) fest im Dateisystem mounten** 
 + 
 + 
 +===== Computer fährt nicht hoch / initramfs ===== 
 + 
 +[[https://prognotes.net/2018/04/linux-mint-initramfs-prompt-at-boot/|prognotes.net]] \\ 
 +[[https://startingelectronics.org/software/linux/linux-mint-initramfs-prompt-at-boot/|https://startingelectronics.org/software/linux/linux-mint-initramfs-prompt-at-boot/]] 
 + 
 +==== Linux Mint initramfs Prompt at Boot ====
  
 ---- ----
Zeile 9: Zeile 75:
 Linux Mint initramfs prompt appears after booting computer. A BusyBox Ubuntu built-in shell (ash) screen with initramfs prompt displays after switching on Linux Mint PC as shown in the image below. The computer does not boot up properly and instead of going straight to the login screen, drops through to a initramfs command line prompt. Linux Mint initramfs prompt appears after booting computer. A BusyBox Ubuntu built-in shell (ash) screen with initramfs prompt displays after switching on Linux Mint PC as shown in the image below. The computer does not boot up properly and instead of going straight to the login screen, drops through to a initramfs command line prompt.
  
-[[https://prognotes.net/wp-content/uploads/2018/04/linux-mint-initramfs-prompt.png|{{https://prognotes.net/wp-content/uploads/2018/04/linux-mint-initramfs-prompt.png?nolink&610x384|Linux Mint initramfs Prompt}}]] Linux Mint initramfs Prompt+{{:it:e47d511271c426f530b58771c947bbd1.png}} 
 + 
 +Linux Mint initramfs Prompt
  
 The BusyBox initramfs prompt suggests entering ‘help’ for a list of built-in commands. When help is entered, the commands are listed as shown in the above image. The BusyBox initramfs prompt suggests entering ‘help’ for a list of built-in commands. When help is entered, the commands are listed as shown in the above image.
  
-===== Linux Mint initramfs Prompt at Boot Problem =====+==== Linux Mint initramfs Prompt at Boot Problem ====
  
 The problem described above has happened to me twice, both on Linux Mint 18.3 computers. Both times it happened after upgrading the Linux kernel using the Linux Mint Update Manager. Firstly it occurred on a dedicated Linux Mint laptop and then again on Linux Mint 18.3 MATE (Sylvia) running in a virtual machine using [[https://www.vmware.com/products/workstation-player.html|VMware Workstation 14 Player]] (the free for home user version of VMware Player). I decided to blog the solution so that I would have quick access to it if it happens again. I hope that it helps you too. The problem described above has happened to me twice, both on Linux Mint 18.3 computers. Both times it happened after upgrading the Linux kernel using the Linux Mint Update Manager. Firstly it occurred on a dedicated Linux Mint laptop and then again on Linux Mint 18.3 MATE (Sylvia) running in a virtual machine using [[https://www.vmware.com/products/workstation-player.html|VMware Workstation 14 Player]] (the free for home user version of VMware Player). I decided to blog the solution so that I would have quick access to it if it happens again. I hope that it helps you too.
  
-===== Linux Mint initramfs Prompt Solution =====+==== Linux Mint initramfs Prompt Solution ====
  
 The solution below works when Linux Mint 18.3 drops through to the (initramfs) prompt after updating the Linux kernel. There may be other instances where it does not work. Three commands must be run at the BusyBox command prompt. The solution below works when Linux Mint 18.3 drops through to the (initramfs) prompt after updating the Linux kernel. There may be other instances where it does not work. Three commands must be run at the BusyBox command prompt.
Zeile 23: Zeile 91:
 ==== 1. Run the exit Command ==== ==== 1. Run the exit Command ====
  
-First enter **exit** at the initramfs prompt.<code> +First enter **exit** at the initramfs prompt. 
 +<code>
 (initramfs) exit (initramfs) exit
  
Zeile 31: Zeile 99:
 After typing exit and pressing the Enter key, the following appears at the prompt. The information displayed will be different for different computers. After typing exit and pressing the Enter key, the following appears at the prompt. The information displayed will be different for different computers.
  
-[[https://prognotes.net/wp-content/uploads/2018/04/busybox-initramfs-prompt-exit.png|{{https://prognotes.net/wp-content/uploads/2018/04/busybox-initramfs-prompt-exit.png?nolink&607x246|BusyBox initramfs Prompt after exit Command}}]] BusyBox initramfs Prompt after exit Command+{{:it:22571cfaf039979342f4de16f2584aee.png}}
  
-Take note of the path of the file system from the above image and shown below. Your root file system name will probably be different, so use the information displayed on your system, which is used in the next command.<code>+BusyBox initramfs Prompt after exit Command
  
 +Take note of the path of the file system from the above image and shown below. Your root file system name will probably be different, so use the information displayed on your system, which is used in the next command.
 +
 +<code>
 The root filesystem on /dev/mapper/mint--vg-root requires a manual fsck The root filesystem on /dev/mapper/mint--vg-root requires a manual fsck
  
Zeile 53: Zeile 124:
  
 When the **fsck** command runs after entering it as above, it fixes the system. Text scrolls on the screen while it is busy. When the **fsck** command runs after entering it as above, it fixes the system. Text scrolls on the screen while it is busy.
 +
 +
 ==== 3. Run the reboot Command ==== ==== 3. Run the reboot Command ====
  
-Finally enter the **reboot** command at the (initramfs) command prompt.+Finally enter the **reboot**  command at the (initramfs) command prompt. 
 <code> <code>
 reboot reboot
it/linux_probleme.1607522325.txt.gz · Zuletzt geändert: 2020/12/09 14:58 von marcus