Skip to content

Kernel panic on boot (VFS: unable to mount rootfs) #97

Open

Description

@commandcontrolQ

When booting firm_linux_loader, Linux appears to load but then I get a rootfs kernel panic (for some reason it also displayed incorrectly):

[    6.596000] [<c05451c8>] (yncing: VFS: Unable to VFS: Unable to mount rootfs on un_

All of the files were not built by me but instead downloaded from their respective repositories.

File structure is as follows:

/linux
  | arm9linuxfw.bin
  | nintendo3ds_ktr.dtb
  | zImage
  | rootfs.cpio.gz
/luma/payloads/
  | firm_linux_loader.firm

Device is a New Nintendo 2DS XL.

Activity

  1. commandcontrolQ commented on Jan 5, 2025

    @commandcontrolQ
    Author

    Update

    I decided to compile everything (instead of downloading pre-compiled files from their repositories) and follow this repository's wiki as closely as possible.
    The new file structure is as follows:

    /linux
      | arm9linuxfw.bin
      | nintendo3ds_ktr.dtb
      | nintendo3ds_ctr.dtb
      | zImage
    /luma/payloads/
      | firm_linux_loader.firm
    

    Unfortunately, the kernel panic persists. If anyone knows how to fix this, please let me know.

  2. commandcontrolQ commented on Jan 5, 2025

    @commandcontrolQ
    Author

    Issue fixed: All I needed to do was add an initramfs.cpio.gz into the linux folder. Renaming rootfs.cpio.gz does the trick.

  3. ParzivalWolfram commented on Jan 5, 2025

    @ParzivalWolfram
    Member

    This is a bug I intend to fix soon, but the current version of the arm toolchain needed to build the firmware is too new, and my attempts at adding it to buildroot haven't yet panned out. At some point soon, you'll only need to download the buildroot repo and that will build everything you need.

  4. webgtx commented on Jan 13, 2025

    @webgtx

    @commandcontrolQ reopen the issue please.

  5. Trent525 commented on Mar 1, 2026

    @Trent525

    my new 3ds xl (regon swaped from japain to usa if that matters) will only get a static screen, what do i do

  6. ParzivalWolfram commented on Mar 1, 2026

    @ParzivalWolfram
    Member

    my new 3ds xl (regon swaped from japain to usa if that matters) will only get a static screen, what do i do

    Send a screenshot of the linux folder on the SD card, and a photo of the screens, please.

  7. Trent525 commented on Mar 1, 2026

    @Trent525

    i fixed it, but the keyboard dosn't work, it is static

  8. Trent525 commented on Mar 1, 2026

    @Trent525

    Image

  9. Trent525 commented on Mar 1, 2026

    @Trent525

    Separate question, how do I fix this issue on my old 3ds (us not regon swaped)

    Image

  10. ParzivalWolfram commented on Mar 2, 2026

    @ParzivalWolfram
    Member

    Image

    You'll need to update your version from source, this is a bug in the popular but severely out of date version floating around.

  11. ParzivalWolfram commented on Mar 2, 2026

    @ParzivalWolfram
    Member

    Separate question, how do I fix this issue on my old 3ds (us not regon swaped)

    Image

    This looks like you used the wrong DTB file. You'll need the CTR version, not the KTR version, on that device.

  12. Trent525 commented on Mar 5, 2026

    @Trent525

    I used the crt version, that is what the problem is on. Where should I download the updated krt version for the new 3ds

  13. Trent525 commented on Mar 6, 2026

    @Trent525

    I just updated my firmware and it still has the same error of not providing me the keyboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions