I updated my laptop (Ubuntu) to 11.10 and I don't know what went wrong that when I restarted the computer It would start and it would only tell me.
kernel panic not syncing vfs unable to mount root fs on unknown block
oo swapper not tainted…
I am a new user and I have no idea what to do. Any ideas?
Best Answer
You are missing the initramfs for that kernel. Choose another kernel from the grub menu, or run update-initramfs -u -k version to generate the initrd for version then update-grub.
Boot to a LiveCD, select Try Ubuntu and then open a a terminal. Run the following:
This will show us what partitions are available. You need to look for your main Ubuntu partition. On most fresh-installed systems this will be
sda1
but it really could be anything. Substitudesda1
in the following with whatever you decide is right in thefdisk
output.And now you can run
update-initramfs
andupdate-grub
with out errors and that should fix everything. Reboot without the CD in and you should land on your Ubuntu desktop.Additionally, after the chroot:
(You can find a list if installed kernels using:
dpkg --list | grep linux-image
) And reboot your system