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

    • Look who's back!
    • I wonder how driving laws around the world will change. No way to really tell if people are using phone. Same with smart watches i guess even now and those silly built in tablets for controlling the car instead of buttons.
    • They found a better aligned evil overlord for WhatsApp...
    • Google Chrome 149.0.7827.197 (offline installer) by Razvan Serea The web browser is arguably the most important piece of software on your computer. You spend much of your time online inside a browser: when you search, chat, email, shop, bank, read the news, and watch videos online, you often do all this using a browser. Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier. Use one box for everything--type in the address bar and get suggestions for both search and Web pages. Thumbnails of your top sites let you access your favorite pages instantly with lightning speed from any new tab. Desktop shortcuts allow you to launch your favorite Web apps straight from your desktop. Chrome has many useful features built in, including automatic full-page translation and access to thousands of apps, extensions, and themes from the Chrome Web Store. Google Chrome is one of the best solutions for Internet browsing giving you high level of security, speed and great features. Important to know! The offline installer links do not include the automatic update feature. Download web installer: Google Chrome Web 32-bit | Google Chrome 64-bit | Freeware Download: Google Chrome Offline Installer 64-bit | Direct Link | 131.0 MB Download: Google Chrome Offline Installer 32-bit | Direct Link | 119.0 MB Download page: Google Chrome Portable Download: Chrome ARM64 | Direct Link View: Chrome Website | Release Notes Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • (I know it's just an image and also not the point at all, but it really bugs me that the two halves of the necklace don't really fit together... 😅)
  • Recent Achievements

    • Rookie
      DaviKar went up a rank
      Rookie
    • Dedicated
      HidekoYamamoto94 earned a badge
      Dedicated
    • One Month Later
      timbobit earned a badge
      One Month Later
    • One Month Later
      nates earned a badge
      One Month Later
    • Week One Done
      Almohandis earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      463
    2. 2
      +Edouard
      161
    3. 3
      PsYcHoKiLLa
      112
    4. 4
      Michael Scrip
      85
    5. 5
      Steven P.
      70
  • Tell a friend

    Love Neowin? Tell a friend!