11

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)
αғsнιη
  • 36,350
Gerraour058
  • 111
  • 1
  • 1
  • 4

2 Answers2

7

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

lemonsqueeze
  • 1,664
0

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!