kernal error, unknown-block(179,2) and more...
-
Pi Model or other hardware: Raspberry Pi 3 Model B+
MicroSD: 256 Samsung EVO PLUS from Amazon.com
Power Supply used: 2.5a with switch
RetroPie Version Used: 4.4
Built From: retropie-4.4-rpi2_rpi3.img using Etcher
USB Devices connected: MIcrosoft Xbox 360 controller- wireless
Controller used: See above.
Error messages received:
-kernel panic-not syncing: vfs: unable to mount root fs on unknown-block(179,2)
-kernel panic-not syncing: vfs: unable to mount root fs on unknown-block(179,4)
-kernel panic-not syncing: vfs: unable to mount root fs on unknown-block(179,6)
-kernel panic-not syncing: vfs: unable to mount root fs on unknown-block(179,7)
-kernel panic-not syncing: vfs: unable to mount root fs on unknown-block(179,1)
Log found in /dev/shm/runcommand.log (if relevant): Unable
Guide used: https://retropie.org.uk/docs/First-Installation/
Emulator: Emulation Station
Attachment of config files: unable
How to replicate the problem: Boot it up by plugging it in, and clicking the switch on the cable.I was playing some games this past weekend on my Pi3B+, when it stopped and said:
"kernel panic-not syncing: vfs: unable to mount root fs on unknown-block(179,2)"
So i shut it down and took out the MicroSD and searched online for any help that i could find....But after trying different code for the cmdline.txt file, nothing worked.
You name it, I have tried it.
-root=/dev/mmcblk0p2
-root=/dev/mmcblk0p6
-root=/dev/mmcblk0p7
-root=PARTUUID=eda198d5-02
-root=PARTUUID=eda198d5-06
-and so on....I had this happen 1 time before, but since I didnt feel like looking up the problem then....I reinstalled Retropie and my games. that was about 1 week ago, and now its back....
My current cmdline.txt line is:
dwc_otg.lpm_enable=1 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
any idea? I hate to spend another 8 hrs moving files and stuff.
-
You may have a bad SD card, or perhaps using the power switch is corrupting it. If the latter is true, you'll want to either explore better shutdown options that allow the system to fully boot down before killing the power, or you can simply leave it on all the time. Keep in mind that running a Pi 24/7 for a year only costs about $6.00. For now, see if the solution detailed here will get you up and running again.
-
@mediamogul I am unable to boot; the power cable works fine, and I 'm fairly sure the SD works fine. I got it 2 weeks ago on amazon. I do shutdown properly, and I move my Pi around to play games on the go. Also, at the time I got my error, was while the Pi was running at the main menu. no games were running when this happened. I have also looked at the page you linked even before I posted this question, and I'm still having a problem. Sorry to be a bummer....
-
@Redzonezzz The error indicates a filesystem corruption, which is usually related to SD going bad or a badly written images. Since you already had a working system, most likely something happened to the SD card. You could try to re-flash the image (trying to recover the contents of it first).
-
@mitu I have read in other threads that there is a way to tell by the file size? has anyone founds this to be true? People have said dont use 7zip, use winrar...any info about this? Because I'm 90% sure this SD is fine.
-
@Redzonezzz Well, I am 90% sure that your card is broken. Since you cannot even boot the OS, put it on a linux machine, try to write something to it and see what happens. Or open Gparted and see what it tells to you. There is a lot of tools to check your card in linux.
Or put it on a windows machine, you will have to format it to check its health and run something like h2testw.
By the way, I don't recommend using Samsung Evo cards with recent kernels on the RPi, it generally causes problems. -
If it is broken, some sd cards become read only, and with luck, on linux machine, you may be able to copy your data to another one.
-
@Rascas what is the next best card for speed and reliability? It needs to be about 120GB size. All I have installed is Retropie, and I have had this problem before and I could reinstall Retropie and re-download the emulators just fine.
-
@Redzonezzz I don't like to recommend microSD cards brands because of publicity, but the new ones with the A1 mark are the best because of the 4k performance.
But, if you take a look how the flash devices market are today, you can find pretty cheap SSD disks, they are faster are more reliable than any microSD cards, and since now the RPi can boot from them without a microSD that would be my choice. You have to buy a SATA to USB cable also, don't forget it. Or a USB case enclosure. -
where can I find the best tutorial to show me how to boot from USB? anything updated for the past year or two?
-
Is it possible to find a ready made iso for a USB? or a clean ISO for a SD?
-
https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md has all the details about USB booting for a Raspberry Pi.
-
@mitu So I followed the directions for the 3B+, and nothing happens?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.