xen vm安装_Xen:VM无法启动

xen vm安装

Question:
Hello,

题:
你好,

I am using Xen on Centos 7 and it was working fine from last 3 years.
After I reboot the VM I am getting below error:

我在Centos 7上使用Xen,从最近3年开始运行良好。
重新启动虚拟机后,出现以下错误


"dracut-initqueue[270]: Warning: dracut-initqueue timeout - starting timeout scripts"

"[ 195.426203] dracut-initqueue[270]: Warning: Could not boot.
[ 195.435712] dracut-initqueue[270]: Warning: /dev/centos_static/root does not exist
[ 195.436499] dracut-initqueue[270]: Warning: /dev/centos_static/swap does not exist
[ 195.437451] dracut-initqueue[270]: Warning: /dev/mapper/centos_static-root does not exist
Starting Dracut Emergency Shell...
Warning: /dev/centos_static/root does not exist
Warning: /dev/centos_static/swap does not exist
Warning: /dev/mapper/centos_static-root does not exist
"

I connect to this server remotely, so there is no GUI.
Is there a way to fix it?
How to boot VM in rescue or recovery mode?
I tried a couple of options to boot in rescue or recovery mode but no luck.

我远程连接到该服务器,因此没有GUI。
有办法解决吗?
如何在救援或恢复模式下启动VM?
我尝试了几种选择以应急或恢复模式启动,但是没有运气。

Thanks in advance,
Nishit Shah

提前致谢,
尼西特·沙(Nishit Shah)

Answer:

回答:

There are many possible reasons. The message shown seems suggest during boot the specified LVM volumes for root can not be found. Are the disks fine (e.g. are the underlying disk broken or damaged)? Or are there updates recently and during which the `dracut` running to generate initramfs failed?

有许多可能的原因。 显示的消息似乎表明在引导过程中找不到用于root的指定LVM卷。 磁盘是否正常(例如,基础磁盘是否损坏或损坏)? 还是最近有更新,而在运行“ dracut”以生成initramfs的过程中失败了吗?

What worth trying is to select another different boot option, such as the “rescue” one to see whether it can boot. If it can boot, you may try to regenerate the initramfs images for the kernel you use using command like (replace `<your kernel version here>` with the kernel you use during normal booting).

值得尝试的是选择另一个不同的启动选项,例如“救援”以查看它是否可以启动。 如果它可以引导,您可以尝试使用类似的命令为您使用的内核重新生成initramfs映像(用正常引导期间使用的内核替换“ <您的内核版本在这里>”)。

dracut -f /boot/initramfs-<your kernel version here>.e17.x86_64.img <your kernel version here>.e17.x86_64

Check `dracut` manual for detailed usage of the `dracut` command.

查看`dracut`手册以了解`dracut`命令的详细用法。

翻译自: https://www.systutorials.com/xen-vm-failed-to-boot/

xen vm安装

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值