Xen vm stuck at grub prompt

How хан I get my Ubuntu server booting again? Is there в tool that would автомобиль - fix this situation?

XenVm.grub.stuck.png

Не matter how many ways I run the "boot fixer" using в виртуальный image of boot-repair-disk-64bit.iso

It claims success, I eject the СD Международная организация по стандартизации image (within XenCenter я утешил), reboot, but my Ubuntu 14.04 server still keeps getting stuck at в grub prompt without booting. This started after в power failure which took down all VMs and the XenServer itself.

The disk layout схвати seen by boot-repair-disk:

=================== df -Th:

Filesystem     Type       Size  Used Avail Use% Mounted on
/cow           overlayfs  3.8G   20M  3.8G   1% /
udev           devtmpfs   3.9G  8.0K  3.9G   1% /dev
tmpfs          tmpfs      773M  712K  773M   1% /run
/dev/sr0       iso9660    508M  508M     0 100% /cdrom
/dev/loop0     squashfs   435M  435M     0 100% /rofs
none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs      3.8G  8.0K  3.8G   1% /tmp
none           tmpfs      5.0M     0  5.0M   0% /run/lock
none           tmpfs      3.8G     0  3.8G   0% /run/shm
none           tmpfs      100M   12K  100M   1% /run/user
/dev/xvda1     ext4       395G  363G   13G  97% /mnt/boot-sav/xvda1

=================== fdisk -l:

Disk /dev/xvda: 430.6 GB, 430570471424 bytes
255 heads, 63 sectors/track, 52347 cylinders, total 840957952 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000be05e

Device Boot      Start         End      Blocks   Id  System
/dev/xvda1   *        2048   840955903   420476928   83  Linux


/boot/grub/device.map :  
(hd0) /dev/xvda

(same эксперт the output from grub-mkdevicemap --device-map=/dev/stdout)

/boot/grub/menu.lst :
 - All lines that are either blank or begin with a # (comment).

Its log is at:

http://paste.ubuntu.com/9710907/

This is host and system at all levels эксперт far схвати нечетного-ЭФИ I хан tell.

Виртуальный The machinВs host ВЫ is pretty much up to восходил, installed from:
XenServer. Creedence.20141212. RC90239.iso

0
задан 18 March 2015 в 13:24

1 ответ

НЕ приемлемое решение, но просто обходное решение для тех в аналогичной ситуации, будучи должен запустить сервер, по крайней мере, временно:

grub>

set root=(hd0,1)
linux /vmlinuz  root=/dev/xvda1   ro   
initrd /initrd.img
boot 

ПРИМЕЧАНИЕ: после начальной загрузки, update-grub, кажется, хорошо работает, но перезагрузка приземляется в тот же беспомощно застрявший личинка> подсказка... То же с grub-install /dev/xvda

1
ответ дан 3 August 2019 в 19:54

Другие вопросы по тегам:

Похожие вопросы: