I've got ubuntu 12.04 running as a virtualserver on virtualbox.

Last night there was a power surge and this morning I can't boot my virtual server.

I get a long error message. I picked this up:

VFS: cannot open root device "mapper/ubuntu--server-root" or unknown-block(0,0): error -6

when I do:

ls /dev/mapper

I get> control ubuntu--server-root ubuntu--server-swap_1

I can mount manually by doing

'mkdir /foo;mount /dev/mapper/ubuntu--server-root /foo'

I don't know what to do but I installed a tool and extracted this log http://paste.ubuntu.com/7119904/

  • When you say you ran those various commands, what do you mean? Did you get an initramfs rescue shell ( don't think so based on the first error ), or did you boot from a live cd to run those commands? – psusi Mar 19 '14 at 14:20
  • Hi! I boot from the live cd to run these commands. I'm right now looking into your answer below, and I'm really happy to see it running. I just got stuck into updating initramfs but I'll put more info in a couple of moments. – punkbit Mar 19 '14 at 14:48
  • Others might see this error if they have run out of diskspace on the /boot partition, see askubuntu.com/questions/89710/…. Not in your case if it's only started after the power cut. – svandragt Jul 10 '14 at 8:31

Your most recent kernel, 3.5.0-47-generic, is missing its corresponding initrd image. Pick the previous kernel version from the boot menu and once the system comes up, run sudo update-initramfs -c -k 3.5.0-47-generic to create the initrd, and sudo update-grub.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.