I'm so new to Linux and suddenly found the error message appear when i boot after i click install ubuntu
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,2)
I'm so new to Linux and suddenly found the error message appear when i boot after i click install ubuntu
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,2)
Same thing happened to me also, here's how to get it back:
First, try to boot in recovery mode:
Follow the instructions in this post.
If you manage to get to the root prompt where you can type commands, things are looking good. This should make your system bootable again:
update-initramfs -u
update-grub2
If you cannot get a root prompt at all, then get a LiveCD (the cd / usb key you used to install ubuntu should work) and boot from it. Then you have a useable system from which you can access the broken one:
Follow dilip's instructions in this post
initrd
for a particular kernel version (e.g. 3.13.0.46-generic): update-initramfs -u -k 3.13.0.46-generic
– Mukesh Chapagain
Mar 27 '15 at 05:17
ls -al /usr/src
– Mukesh Chapagain
May 25 '15 at 12:58
Maybe the partition /boot has no space.
In the grub, select a previous kernel linux-image, if you have linux-image-22 try 21. after you enter, go to /boot and remove the oldest kernel images.
#apt-get remove linux-image-XXX
reboot the system. good lucky!
root fs
. While /boot
might indeed fill up, that usually only happens when you have it as a small partition (often in an LVM setup). For most normal Linux uses, /boot
is just part of /
... So if /boot
would be full, so would be /
itself.
– jawtheshark
Aug 31 '16 at 13:35