During my attempt to install the Raspberry Pi 64bit OS on my Compute Module 4 Rev 1.0, I came across this issue.

Kernel panic-not syncing: VFS: unable to mount root fs on unknown-block(179,2)
CPU: 2 PID: 1 Comm: swapper/0 Not tainted 6.1.21-v8+ #1642
Hardware name: Raspberry Pi Compute Module 4 Rev 1.0 (DT)
Call trace:
SMP: stopping secondary CPUs
Kernel Offset: 0x2b66600000 from 0xffffffc008000000
CPU features: 0x20000,2013c080,0000421b
Memory Limit: none

It no longer recognizes my keyboard/mouse anymore either. This error message persists whether I have a microSD card in or not. I've tried just about every available related solution: re-imaging the card (with both Etcher and the Raspberry Pi imager), new microSD cards, sudo fsck, editing cmdline.txt. None produced any difference in the error code or functioning at all. I do not have any important files on the card, I just want my pi to start running again.

  • 1
    (179,6) is the sixth partition on your SDCard. It needs a fsck -f -y /dev/mmcblk0p6 to get it working again. You can do that with any other Linux system with the broken card in a USB reader. That could be your RPI booted from a second SDCard with RaspiOS Lite booted. (179,2) is the second partion (your question isn't clear).
    – Dougie
    Jul 19, 2023 at 18:21
  • to clarify, you have a pi without eMMC? Jul 20, 2023 at 3:37
  • @Dougie It is (179, 2), I mistyped.
    – SirLucidus
    Jul 20, 2023 at 10:14
  • @JaromandaX it has the 8GB eMMC
    – SirLucidus
    Jul 20, 2023 at 10:22
  • I didn't think it was possible to boot from SD on a CM4 with eMMC Jul 20, 2023 at 12:07

1 Answer 1


I was able to fix the issue by reinstalling the os via the USB port.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.