Ubuntu 10.04 wont boot after update

Asked by Jose Boschetti on 2012-05-01

Last night i updated ubunu 10.04 and whe i tried to boot today i got the following error.

[ 0.638795] Kernel panic -not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Please help i have lots of information on my hard drive and it wont allow me to acces it when i boot using live cd

Thank you

Question information

English Edit question
Ubuntu util-linux Edit question
No assignee Edit question
Last query:
Last reply:
sourav (gyro-sm) said : #1

u may use clonezilla or grsync to backup data

Barry Drake (b-drake) said : #2

You might try getting to the grub-screen during boot. If your installation does not give you a grub screen, you can press (I think) left shift - or is it ESC ... while booting. It usually lets you boot using the previous kernel. You say you are running 10.04 so you should be offered a choice of the last few kernels.

I take it you did mean and update and not LTS upgrade to 12.04? If it was an upgrade, you will probably need to get your data back and then do a complete re-install from a DVD.

Jose Boschetti (jbw) said : #3

Thanks b-drake. I was able to boot to the old kernel. Is there any way to delete the new kernel thats giving me problems or should i just transfer the files on the hdd to an external one and do a clean install?

Barry Drake (b-drake) said : #4

Yes you can go into the filesystem root (/) using gksudo nautilus to give you root access and rename the symlinks you find. Also rename the kernel files in the /boot directory and remember exactly what you did in case you have to re-do it. The kernels are vmlinuz and the numbers go upwards with later kernels.

Then do sudo update-grub and watch carefully to see that it finds the kernel you want. Do not reboot unless you are satisfied that you can boot using the kernel of choice. If you re-boot and have got it wrong, you should be able to use nautilus from within the live-CD to go back in and undo the damage. What you are doing is potentially dangerous if you get it wrong. You will then need to watch that you check things out every time there is a kernel update until one appears that does not give the problem. Also you might do a bug report by doing ubuntu-bug kernel and quoting the release number of the kernel that clobbered your system.

Wyatt Smith (wyatt-smith) said : #5

I suggest backing up your data regardless.

As far removing the kernel, I suggest you remove it via Synaptic. Do a quick search for linux-image. Select the kernel you are having problems with and uninstall. I would also remove the headers as well if does not prompt to remove. You can quick search linux-headers and remove the corresponding headers.

If you want to prevent the kernel from being upgraded for stability. I suggest you lock your current kernel. Again in Synaptic, select you current linux-image and linux-header, go to Package in the menu and select Lock Version.

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask Jose Boschetti for more information if necessary.

To post a message you must log in.