• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

kernal error, unknown-block(179,2) and more...

Scheduled Pinned Locked Moved Help and Support
kernalunknown-block179vfs error
13 Posts 4 Posters 3.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    Redzonezzz
    last edited by 13 Nov 2018, 21:54

    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.

    M 1 Reply Last reply 13 Nov 2018, 22:58 Reply Quote 0
    • M
      mediamogul Global Moderator @Redzonezzz
      last edited by mediamogul 13 Nov 2018, 22:58

      @Redzonezzz

      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.

      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

      R 1 Reply Last reply 14 Nov 2018, 02:19 Reply Quote 0
      • R
        Redzonezzz @mediamogul
        last edited by Redzonezzz 14 Nov 2018, 02:19

        @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....

        M 1 Reply Last reply 14 Nov 2018, 03:58 Reply Quote 0
        • M
          mitu Global Moderator @Redzonezzz
          last edited by 14 Nov 2018, 03:58

          @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).

          R 1 Reply Last reply 14 Nov 2018, 22:46 Reply Quote 0
          • R
            Redzonezzz @mitu
            last edited by 14 Nov 2018, 22:46

            @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.

            R 1 Reply Last reply 15 Nov 2018, 00:00 Reply Quote 0
            • R
              Rascas @Redzonezzz
              last edited by Rascas 15 Nov 2018, 00:00

              @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.

              R 1 Reply Last reply 15 Nov 2018, 00:50 Reply Quote 0
              • R
                Rascas
                last edited by 15 Nov 2018, 00:08

                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.

                1 Reply Last reply Reply Quote 0
                • R
                  Redzonezzz @Rascas
                  last edited by 15 Nov 2018, 00:50

                  @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.

                  R 1 Reply Last reply 15 Nov 2018, 01:06 Reply Quote 0
                  • R
                    Rascas @Redzonezzz
                    last edited by Rascas 15 Nov 2018, 01:06

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • R
                      Redzonezzz
                      last edited by 16 Nov 2018, 21:22

                      where can I find the best tutorial to show me how to boot from USB? anything updated for the past year or two?

                      1 Reply Last reply Reply Quote 0
                      • R
                        Redzonezzz
                        last edited by 16 Nov 2018, 21:41

                        Is it possible to find a ready made iso for a USB? or a clean ISO for a SD?

                        1 Reply Last reply Reply Quote 0
                        • M
                          mitu Global Moderator
                          last edited by 16 Nov 2018, 21:46

                          https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md has all the details about USB booting for a Raspberry Pi.

                          R 1 Reply Last reply 17 Nov 2018, 01:37 Reply Quote 0
                          • R
                            Redzonezzz @mitu
                            last edited by 17 Nov 2018, 01:37

                            @mitu So I followed the directions for the 3B+, and nothing happens?

                            1 Reply Last reply Reply Quote 0
                            13 out of 13
                            • First post
                              13/13
                              Last post

                            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.

                              This community forum collects and processes your personal information.
                              consent.not_received