-
Notifications
You must be signed in to change notification settings - Fork 782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel panic-not syncing: VFS: unable to mount root fs on unknown- block(179,2) running Raspbian on top of NOOBS #60
Comments
The reason is that NOOBS has the rootfs in another partition.
Mount your sd card in your pc, open the cmdline.txt with an editor (not
Word or Wordpad!!) and change the term after rootfs (should be mmcblk0px)
to mmcblk0p7.
Am 13.01.2018 2:15 vorm. schrieb "Zahid Hasan" <notifications@github.com>:
… I already have Raspbian through NOOBS installed and whenever I install the
LCD-show driver, i get the following error during reboot after installation:
`Kernel panic-not syncing: VFS: unable to mount root fs on unknown- block(179,2)`
Any idea what is the issue and how I can fix it? I am installing
2017-11-29 version of NOOBS.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#60>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATJ17WSxCULY6gE34hEE468g2L-Gc6J8ks5tKAPHgaJpZM4RdC3p>
.
|
thanks @lavolp3, this fixed the issue for me! |
Hi i am new to raspberry pi. I am wondering where do you find cmdline.txt in the files |
@lavolp3 i just found the cmdline.txt but there is no rootfs and mmcblk0px |
The cmdline.txt is in the boot directory and can also be editet in Windows (using notepad or notepad++) Another way around this issue would be to setup the system again from scratch and use my fork here. |
@lavolp3 thanks for helping me |
@lavolp3 I see you have a lot of code commented out at the bottom of https://github.com/lavolp3/LCD-show/blob/master/LCD35-show, can it be used if I use your repo rather then this one? |
The reason is I don't understand what the if statement does. From my
understanding the version check and resulting commands were necessary for
older raspbian wheezy versions but are not anymore now.
So I changed it so the necessary commands get executed w/o the check for a
version.
I'm not 100% sure it works so I just commented out the old code without
deleting it. Please try it out if you like.
Am 03.02.2018 7:36 nachm. schrieb "Thomas Malkewitz" <
notifications@github.com>:
… @lavolp3 <https://github.com/lavolp3> I see you have a lot of code
commented out at the bottom of https://github.com/lavolp3/
LCD-show/blob/master/LCD35-show, can it be used if I use your repo rather
then this one?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATJ17T0QMZi-JUJuO4NpAM8q5c9FMsC9ks5tRKc6gaJpZM4RdC3p>
.
|
@dotps1 The code works on my Pis as it is. |
@lavolop3 yes I can paste in code. If it is not a bother can you type how the cmdline.txt is supposed to look so I can paste it in. |
@ lavolp3 yes I can paste in code. But if it is not bother can you type how the codling.txt is supposed to look like. |
@Dj-Ale-426 Basically the same cmdline.txt as in this git but for noobs you need mmcblk0p7 to be the root partition instead of mmcblk0p2 |
@lavolp3 the thing is I tried your git but it just displayed kernel panic not syncing |
@Dj-Ale-426 Sorry for the long silence. |
Hi sorry I had noobs installed so I quickly fiqured ou the problem. Thanks for your concern. Also is it okay if I use the lite version of raspian |
Also for noobs can you just adjust the cmdline.txt |
This fixed it for me. Try this first. |
I feel like this needs to be posted:
this fixes your noob install. and why is there 52 issues for a driver for a device I can buy on amazon. maybe fix this? |
@dotps1 will this work for noobs lite too. |
Hello!!! I am new to raspberry. I have the same problem Kernel Panic: VFS : Unable to mount root fs on unknown-block 179,2 but when i open the cmdline.txt didnt find any mmcblk0p7 in there. Please help !!! |
can you post your cmdline.txt here? |
i have a very similar problem; version - April 2019 -Raspbian Stretch with desktop and recommended software first time using a raspberry pi, using b3+, didn't want to get noobs because of the size. |
Are you booting from an external device?
NedAckland <notifications@github.com> schrieb am Do., 9. Mai 2019, 17:55:
… i have a very similar problem;
cmdline.txt - dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1
root=PARTUUID=43c1e3bb-02 rootfstype=ext4 elevator=deadline fsck.repair=yes
rootwait quiet init=/usr/lib/raspi-config/init_resize.sh splash
plymouth.ignore-serial-consoles
version - April 2019 -Raspbian Stretch with desktop and recommended
software
kenel version - 4.14
first time using a raspberry pi, using b3+, didn't want to get noobs
because of the size.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEZHL3MIQE7AQTNXHFQ56BDPURCOVANCNFSM4ELUFXUQ>
.
|
no i am not booting from external device |
booting from the pi |
Well I don't know where it is from but the root=PARTUUID hints to a boot from an external partition. |
thank you, will try this |
will try |
@NedAckland hi, i have the same problem as you, have you sovled this trouble? |
i did solve it, as long as you dont have data on the sd, you can fully over
write it using sd card formatter (i did the full over write rather than
then quick one) then using etcher i re put rasbian on the sd and booted it
up again. this is what worked for me in the end.
…On Sun, May 19, 2019 at 12:21 PM DUANBEN ***@***.***> wrote:
@NedAckland <https://github.com/NedAckland> hi, i have the same problem
as you, have you sovled this trouble?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#60?email_source=notifications&email_token=ALRE3EGWRVNCLCFG4YQX66TPWEZ3DA5CNFSM4ELUFXU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVXAB7Y#issuecomment-493748479>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALRE3EG2MTCLOGXJ3GYYD6LPWEZ3DANCNFSM4ELUFXUQ>
.
|
i tried it this way, but it didn't work for me.... thank you anyway :) |
I had the same problem and managed to fix it. I want to explain the situation and the fix. The situation occurs because of the interaction of Noobs and The LCD-show scripts. The problem is the SD card partitions which are set up by Noobs versus those set up if you put Raspbian onto an SD card without Noobs. The basic setup of operating systems disks (SD card or other) on the Raspberry Pi is to have 2 partitions - a boot partition and a root partition. If Raspbian is alone, the boot partition is partition 1 and the root partition is partition 2. With Noobs, the boot partition of the first-loaded operation system is #6 and the root partition is #7. The LCD-show scripts hard-code the root partition to be 2. |
hey i'm trying to install Kali in rasp pi Zero w, it's showing "end kernal panic not sync: VFS: unable to mount root fs on unknown-block(179,2) |
Hello sir I am new to raspberry. I have the same problem Kernel Panic: VFS : Unable to mount root fs on unknown-block 179,2 but when i open the cmdline.txt didnt find any mmcblk0p7 in there. Please help !!! please help me |
See my posting from 2018 in the GitHub discussion. The part of the line in
cmdline.txt (found on the boot partition of the SD card, typically
/dev/mmcblk0p6, the 6th partition of the card if the SD card was created by
NOOBS) created by NOOBS, is /dev/mmcblk0p7, the 7th partition of the card.
It points to the Linux root partition. If the root partition is some other
place, it can't be found and you get a kernel panic.
If you don't have access to another way to access the Linux partitions of
your SD card, I'd suggest that you start over with a fresh download and
burn to the card of Raspbian or other pi Linux OS.
…On Mon, May 18, 2020 at 7:42 AM irfan12345678 ***@***.***> wrote:
can you post your cmdline.txt here?
Hello sir I am new to raspberry. I have the same problem Kernel Panic: VFS
: Unable to mount root fs on unknown-block 179,2 but when i open the
cmdline.txt didnt find any mmcblk0p7 in there. Please help !!! please help
me
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIF3RYF6QSCS3TJREYV5E7TRSENMDANCNFSM4ELUFXUQ>
.
|
|
|
I have try some of the solution, but she like my SD card might be corrupted.
…On Mon., Dec. 20, 2021, 7:56 a.m. ChrBlad, ***@***.***> wrote:
Kernel panic-not syncing: VFS: unable to mount root fs on unknown-
block(179,2) how can i fixed this error with my cmdline.txt?
console=serial0,115200 console=tty1 root=PARTUUID=566d1a16-02
rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Did you find a solution?
—
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOJ2KPGXE4CLS3HC7NH6F53UR4RXFANCNFSM4ELUFXUQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I already have Raspbian through NOOBS installed and whenever I install the LCD-show driver, i get the following error during reboot after installation:
Any idea what is the issue and how I can fix it? I already have Raspbian OS 2017-11-29 version of NOOBS.
The text was updated successfully, but these errors were encountered: