ID #1084

Why is boot failing for a linux machine?

 Symptom:

      error:no suitable mode found
      error:unknown command 'terminal'
      out of range pointer 0x80220000
      Aborted.Press any key to exit.No bootable device.

 

Probable Cause:
    When kvm hypervison is running with rtc flag, linux machine gives above error while booting if groub is not updated.


Solution:

    It requires update grub on machine.

Following are steps to update grub:
1) Boot a machine with linux ubuntu live cd provided that architecture should be same
    (ex: if my virtual machine is of 32 bit os, then live cd should be of 32 bit, if virtual machine is of 64 bit, then
     live cd should be of 64 bit)
   1.a) how to boot machine from cd/cdrom

2) Mount a / partition of virtual machine, and create chrootable environment using following commands.
    2.a) sudo -i
    2.b) mkdir /mnt/chroot
    2.c) mount /dev/sda1 /mnt/chroot   (assume that /dev/sda1 is / partition of virtual machine.)
    2.d) mount -o bind /dev /mnt/chroot/dev
    2.e) mount -o bind /sys /mnt/chroot/sys
    2.f) mount -o bind /proc /mnt/chroot/proc
    2.g) chroot /mnt/chroot
    2.h) update-grub

3) Shutdown machine.

4) Revert "VM Config" xml to its original state. and snapshot a machine.

Tags: -

Related entries:

You can comment this FAQ