{"id":778,"date":"2023-09-03T17:05:30","date_gmt":"2023-09-03T15:05:30","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=778"},"modified":"2023-09-03T17:05:30","modified_gmt":"2023-09-03T15:05:30","slug":"busybox-initramfs-und-co-linux-startet-nicht","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/03\/busybox-initramfs-und-co-linux-startet-nicht\/","title":{"rendered":"Busybox, Initramfs und Co &#8211; Linux startet nicht"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Busybox ist eine Art Terminal ohne laufendes System, das Initramfs wiederum ist ein minimales im Arbeitsspeicher laufenden System. Hin und wieder &#8211; vor allem unter auf Ubuntu basierenden Linux-Distributionen, zu denen auch Linux Mint z\u00e4hlt zwecks Problemen nicht startet. Meist handelt es sich dabei um Fehler im Dateisystem. Aus welchen Gr\u00fcnden dies geschieht &#8211; ehrlich gesagt, keine Ahnung. Unter Debian hatte ich nie das Vergn\u00fcgen. Anscheinend tritt das Problem unter Ubuntu jedoch gerne nach Updates zutage.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Auf jeden Fall &#8211; startet der Bootloader fehlerfrei, hat jedoch das Betriebssystem Probleme landen Sie in der Busybox mit folgender Meldung:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>BusyBox v1.30.1 (Ubuntu 1:1.30.1-4ubuntu6.1) built-in shell (ash) \nEnter 'help' for a list of built-in commands.\n\n(initramfs)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Die Versionsnummern werden sich wahrscheinlich unterscheiden, unter anderen Distributionen wird sich nat\u00fcrlich auch der Namen der Distribution unterscheiden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nach der Meldung &#8222;<strong>(initramfs)<\/strong>&#8220; k\u00f6nnen Sie fast so arbeiten wie auf dem normalen Terminal. Nun gilt es zuerst einmal herauszufinden &#8211; warum startet das Linux-System nicht. Die Fehlermeldung sehen Sie zu Beginn &#8211; also vor dem Busybox-Prompt. Ein Beispiel:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/dev\/sda1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.\n        (i.e., without -a or -p options) \nfsck exited with status code 4. \nThe root filesystem on \/dev\/sda1 requires a manual fsck. \n\nBusyBox v1.30.1 (Ubuntu 1:1.30.1-4ubuntu6.1) built-in shell (ash)\nEnter 'help' for a list of built-in commands.\n\n(initramfs)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Die Meldung &#8222;<strong>The root filesystem on \/dev\/sda1 requires a manual fsck.<\/strong>&#8220; besagt nichts anderes als das im Dateisystem der Partition &#8222;<strong>sda1<\/strong>&#8220; ein Fehler vorliegt der korrigiert werden muss. Die Partition k\u00f6nnte sich nat\u00fcrlich von der in Ihrer Meldung unterscheiden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Die Meldung zeigt auch gleich was nun getan werden sollte &#8211; das Dateisystem der Partition sollte gepr\u00fcft und Fehler korrigiert werden. Dies gelingt mit folgendem Befehl (<em>die Nummer der Partition muss nat\u00fcrlich an die Meldung angepasst werden<\/em>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>fsck \/dev\/sda1 -y<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wurde die Aufgabe vom System abgeschlossen starten Sie das System mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>reboot<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">neu. Nat\u00fcrlich k\u00f6nnte es auch sein das andere Fehler angezeigt werden, je nach Fehler gilt es diese passend zu korrigieren.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In die Busybox k\u00f6nnen Sie nat\u00fcrlich auf dem Terminal mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>busybox<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">wechseln:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/busybox-1024x576.jpg\" alt=\"\" class=\"wp-image-779\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/busybox-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/busybox-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/busybox-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/busybox-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/busybox.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"778\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">1    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"778\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Busybox ist eine Art Terminal ohne laufendes System, das Initramfs wiederum ist ein minimales im Arbeitsspeicher laufenden System. Hin und wieder &#8211; vor allem unter auf Ubuntu basierenden Linux-Distributionen, zu denen auch Linux Mint z\u00e4hlt zwecks Problemen nicht startet. Meist handelt es sich dabei um Fehler im Dateisystem. Aus welchen Gr\u00fcnden dies geschieht &#8211; ehrlich [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":779,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,4],"tags":[12,7,15,6],"class_list":["post-778","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-system","category-terminal","tag-kommandozeile","tag-shell","tag-system","tag-terminal"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=778"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/778\/revisions"}],"predecessor-version":[{"id":780,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/778\/revisions\/780"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/779"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}