initramfs kernal panic? im stuck


Recommended Posts

I have seen this problem report a few times around the web but the solution everyone posts is not seeming to work for me and I get the same issues. I honestly have no idea what to do.

Usage: switch_root [-c /dev/console] NEW_ROOT NEW_INIT [ARGS]

Free initramfs and switch to another root fs: chroot to NEW_ROOT, delete all in /, move NEW_ROOT to /, execute NEW_INIT. PID must be 1. NEW_ROOT must be a mountpoint.

   -c DEV  Reopen stdio to DEV after switch

[ 4.649282] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100

This is the error that returns, I have tried adding -c /dev/console to my mount command as so:

exec switch_root -c /dev/console /mnt/root /sbin/init

But I am still having issues, I am not very advanced in linux so I really need to be spoon fed here if anyone can help (seriously really dumb it down like you are explaining to a 5 year old)

Link to comment
https://www.neowin.net/forum/topic/1274462-initramfs-kernal-panic-im-stuck/
Share on other sites

ok so has it booted or still panicing?

can u also post your init script

I managed to get the init script working without panicking...but maybe you could help me with something else (btw I dont know how i got it working I just used an init script someone else wrote --____-- its to big for me to work out what i did wrong (my init script was 20 lines long this one is around 500)  either way... I got the pen OS booted, but I am trying to get the modules i bundled to work :/ I looked at some guides and they keep telling me to make and install which is easy enough...if i could find any make or install files -__-  when in the dir: /lib/modules all i get is things like... modules.builtin and modules.devname... I am simply asking if you might be able to give me a push in the right direction? (i am out of my depth here)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • never mind the video had a couple swear words... gosh it was funny!
    • It's expensive, but I bet it will still sell out just like the Steam Deck and the Steam Controller
    • This is listed as a preview in WU for me. I usually don't grab them as previews; what's your opinion on it so far?
    • Pale Moon 34.3.1 by Razvan Serea Pale Moon is an Open Source, Goanna-based web browser available for Microsoft Windows, Linux and Android, focusing on efficiency and ease of use. Make sure to get the most out of your browser! Pale Moon offers you a browsing experience in a browser completely built from its own, independently developed source that has been forked off from Firefox/Mozilla code, with carefully selected features and optimizations to improve the browsers speed, resource use, stability and user experience, while offering full customization and a growing collection of extensions and themes to make the browser truly your own. Features: Optimized for modern processors Based on proprietary optimized layout engine (Goanna) Safe: forked from mature Mozilla code and regularly updated Secure: Additional security features and security-aware development Supported by our user community, and fully non-profit Familiar, efficient, fully customizable interface Support for full themes: total freedom over any elements design Support for easily-created lightweight themes (skins) Smooth and speedy page drawing and script processing Increased stability: experience fewer browser crashes Support for many Firefox extensions Support for a growing number of Pale Moon exclusive extensions Extensive and growing support for HTML5 and CSS3 Many customization and configuration options Pale Moon 34.3.1 changelog: Pale Moon will now exclude local resources from CSP checks, aligning it with the rest of CSP handling. Fixed an issue where the devtools JSON viewer would, in some cases, make erroneous requests to remote servers. Updated libpng to 1.6.58+apng. Updated NSS to 3.90.12 (UXP), addressing multiple security issues. Fixed several intermittent and rare crashes. Security issues addressed: CVE-2026-12318 (CWE-125), CVE-2026-12322, CVE-2026-12292 (DiD), and multiple other issues that did not have a CVE designation at the time of patching. Download: Pale Moon (64-bit) | Portable 64-bit | ~40.0 MB (Freeware) Download: Pale Moon (32-bit) | Portable 32-bit Links: Pale Moon Homepage | Add-ons | Themes | Extensions | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Grand Master
      Jaybonaut went up a rank
      Grand Master
    • One Year In
      Philsl earned a badge
      One Year In
    • Dedicated
      Scoobystu earned a badge
      Dedicated
    • First Post
      Tom Schmidt earned a badge
      First Post
    • One Month Later
      D0nn13 earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      416
    2. 2
      +Edouard
      176
    3. 3
      PsYcHoKiLLa
      124
    4. 4
      Michael Scrip
      77
    5. 5
      Xenon
      76
  • Tell a friend

    Love Neowin? Tell a friend!