由于这个答案和这些 网站,我已经非常接近让 Amazon Linux 在 VirtualBox 内启动。我已采取的步骤的快速概述:
dd
EBS 卷的内容转移ssh
到本地图像文件。grub-legacy-ec2
软件包,而不是 grub2)。qemu-img
。现在 VM 启动,grub 加载,并找到内核。但是当它尝试挂载根设备时失败:
dracut Warning: No root device "block:/dev/xvda1" found
dracut Warning: Boot has failed. To debug this issue add "rdshell" to the kernel command line.
dracut Warning: Signal …
Run Code Online (Sandbox Code Playgroud)