• 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

Retropie-kernel panic-not syncing: vfs: unable to mount root fs on unknown-block(179,2)

Scheduled Pinned Locked Moved Help and Support
retropie 4.2kernel panicmicro sd
24 Posts 9 Posters 17.2k 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.
  • S
    simonster
    last edited by 10 Jun 2017, 23:25

    Thanks for that,

    If you aren't getting any issues as the Win32DiskImager step, then the first step I would try would be to redownload the image and try writing it to a known good SD card (to rule out a dodgy SD card).

    Once you've imaged the card, do you get to the installation script for RetroPie open on first boot, or does it error immediately?

    Si

    1 Reply Last reply Reply Quote 0
    • J
      jedimumbo
      last edited by 11 Jun 2017, 00:21

      Well... I did what you said. Which I had indeed done prior. And, now we're up and running. I don't know what I messed up on first, but thank you for asking me to do it again, because I'm back in business!

      :)

      1 Reply Last reply Reply Quote 0
      • M
        mr315
        last edited by mr315 15 Sept 2017, 14:12

        Please! My English is bad. But this is also my problem.

        My pack is:
        Raspberry pi 3 v2
        Samsung 64gb
        Retropie 4.2
        Using Win32DiskImager
        Not connected USB
        Error messages received: kernel panic-not syncing: vfs: unable to mount root fs in unknown-block (179,2)
        Downloaded in the official Retropie page

        I tried with a Sandisk 8gb card, but nothing changed
        Tried to partition the 64GB card, but I got the same result

        Win32DiskImager displays an error about the image being corrupted. But I saw the same error and everything happens well.

        I hope you have understood me =)

        J 1 Reply Last reply 15 Sept 2017, 17:05 Reply Quote 0
        • J
          jonnykesh @mr315
          last edited by 15 Sept 2017, 17:05

          @mr315 Just follow the advice given above. Re-download the image and burn it onto the card again. It worked for him, why wouldn't it work for you?

          M 1 Reply Last reply 15 Sept 2017, 17:18 Reply Quote 0
          • M
            mr315 @jonnykesh
            last edited by 15 Sept 2017, 17:18

            @jonnykesh , I do not know. Tried several times.
            I tried partitioning the SD and with a different SD... =(
            Downloaded it through Chrome and Internet Explorer.
            I will try a download manager later.

            J 2 Replies Last reply 15 Sept 2017, 17:20 Reply Quote 0
            • J
              jonnykesh @mr315
              last edited by 15 Sept 2017, 17:20

              @mr315 Really odd. If you post exactly what you are doing and what software you are using to write the image to the card maybe someone will see where the problem is.

              1 Reply Last reply Reply Quote 0
              • J
                jonnykesh @mr315
                last edited by 15 Sept 2017, 17:26

                @mr315 try this:

                If your error message ends with 2, like this:
                
                    Kernel panic-not syncing: VFS: unable to mount root fs on unknown-block(179,2)
                
                it is likely that the problem is caused by an update bug. The fix involves switching that 2 into a 6:
                
                    Start the Raspberry holding the Shift key.
                    Click the Edit config (e) button or press e.
                    Click the cmdline.txt tab or press the right arrow on the keyboard.
                    Replace:
                
                    root=/dev/mmcblk0p2
                
                with
                
                    root=/dev/mmcblk0p6
                
                    Click OK and then press escape on the keyboard to proceed with the boot sequence.
                
                Your Pi should now boot fine. 
                
                1 Reply Last reply Reply Quote 0
                • M
                  mr315
                  last edited by mr315 15 Sept 2017, 17:59

                  @jonnykesh , I format SD with "SD Formatter" -- or partition with 32gb with "Fat32Formatter" or other, but i dont remember now.
                  Download the image on "retropie.org.uk/download/";
                  Uncompressed with WinRar;
                  Write the image with "Win32DiskImager" on my sd.
                  I plug the card into the Raspberry and plug it in

                  ps: unzipping by 7zip generates an error that does not allow me to write the image.
                  And the keyboard does not work on the screen in question

                  J 1 Reply Last reply 15 Sept 2017, 18:41 Reply Quote 0
                  • J
                    jonnykesh @mr315
                    last edited by jonnykesh 15 Sept 2017, 18:41

                    @mr315 The /boot partition can be read from a windows computer. Plug the SD card into a Win PC and edit the cmdline.txtfrom there.

                    M 2 Replies Last reply 15 Sept 2017, 18:44 Reply Quote 0
                    • M
                      mr315 @jonnykesh
                      last edited by 15 Sept 2017, 18:44

                      @jonnykesh Ok

                      1 Reply Last reply Reply Quote 0
                      • M
                        mr315 @jonnykesh
                        last edited by 15 Sept 2017, 21:12

                        @jonnykesh
                        The error now changed the end of "179,2" to "179,6". Nothing but.

                        J 1 Reply Last reply 15 Sept 2017, 21:32 Reply Quote 0
                        • J
                          jonnykesh @mr315
                          last edited by 15 Sept 2017, 21:32

                          @mr315 Try using a program called etcher to write to the card. Link https://etcher.io/
                          It takes a bit longer but it checks the image.

                          M 1 Reply Last reply 16 Sept 2017, 03:59 Reply Quote 0
                          • S
                            StevieJoe360
                            last edited by 16 Sept 2017, 02:41

                            Hello,
                            I have a theory, I'm not quite sure, but I heard somewhere that a Raspberry Pi 3 can only use up to 32 GB on an SD/MicroSD card, if it's higher than that you have to do something different. I know I'm being very vauge(?) here, but I don't remember all the details. I suggest you look up something like "raspberry pi 3 64gb sd card." Hope this helps, but if not... Remember, it's just a theory, A GAME THEORY!! (Sorry, I had to.)

                            T H 2 Replies Last reply 16 Sept 2017, 02:51 Reply Quote 0
                            • T
                              TMNTturtlguy @StevieJoe360
                              last edited by 16 Sept 2017, 02:51

                              @steviejoe360 this is not true, I have run several 128gb sd cards.

                              1 Reply Last reply Reply Quote 0
                              • H
                                herb_fargus administrators @StevieJoe360
                                last edited by 16 Sept 2017, 02:53

                                @steviejoe360 said in Retropie-kernel panic-not syncing: vfs: unable to mount root fs on unknown-block(179,2):

                                I'm not quite sure, but I heard somewhere

                                What my crazy relative says right before they quote something they saw on their Facebook feed.

                                If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                                Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                                1 Reply Last reply Reply Quote 3
                                • M
                                  mr315 @jonnykesh
                                  last edited by mr315 16 Sept 2017, 03:59

                                  @jonnykesh Thaks!
                                  I tested with "H2testw" and found that the 64GB SDXC is fake. But the 8GB is not and it happened the same. I'll buy one like a friend's. If the error persists, can it be the image or the raspberry?

                                  J 1 Reply Last reply 16 Sept 2017, 14:24 Reply Quote 0
                                  • J
                                    jonnykesh @mr315
                                    last edited by 16 Sept 2017, 14:24

                                    @mr315 Where did you purchase the card from? Unfortunately there are a lot of fakes about. They all tend to be 4/8GB spoofing they are 64/128.

                                    M 1 Reply Last reply 16 Sept 2017, 15:08 Reply Quote 0
                                    • M
                                      mr315 @jonnykesh
                                      last edited by mr315 16 Sept 2017, 15:08

                                      @jonnykesh Bought on the internet.
                                      I bought another one now, and it worked fine. SanDisk Ultra 64gb. Thanks for all.

                                      J 1 Reply Last reply 16 Sept 2017, 15:54 Reply Quote 0
                                      • J
                                        jonnykesh @mr315
                                        last edited by 16 Sept 2017, 15:54

                                        @mr315 I use Amazon or an actual physical shop when buying larger SD cards. At least then you have some comeback and a 1 year warranty.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Seedname101
                                          last edited by Seedname101 24 Jan 2019, 04:31

                                          I have a similar problem.
                                          Raspberry Pi 2 b
                                          San Disk Ultra 32GB
                                          RetroPie 4.4.4
                                          Using Balena Etcher on mac (flashed through retropie4.4.4.img...)
                                          A couple of usb drives (not used all at the same time) , a keyboard, wireless usb controllers, wifi dongle.
                                          Generic xbox controllers (xpad driver)
                                          Error messages received: kernel panic-not syncing: vfs: unable to mount root fs on unknown-block(179,2)
                                          Emulator: ES/Retropie
                                          Turning the retropie on.

                                          The only thing that makes this different is that I have a pretty good idea on how this happened. I was using a usb- micro sdhc adapter drive to transfer (4876) games at once. Also, I overclocked my retropie around lunch. These two factors MOST LIKELY caused this to happen and I want to keep my games... since I have over 10,000, So re writing it or formatting it isn't an option. Also, my usb keyboard wont work because of the error. All of my usb ports are useless. I wouldnt only like my games though. I did a ton of programming on it and have TONS of stuff like background music, custom loading screens, game launch screens, etc., I also wonder if there is a file on the sd card that has all of that on it, so I can just use a new image and take that. Thanks in advance!

                                          BuZzB 1 Reply Last reply 24 Jan 2019, 04:43 Reply Quote 0
                                          • First post
                                            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