AMDESE / AMDSEV

AMD Secure Encrypted Virtualization
304 stars 88 forks source link

Stuck During VM Image Preparation with launch-qemu.sh #252

Open n7koirala opened 6 hours ago

n7koirala commented 6 hours ago

Hello! I am encountering an issue while preparing the VM image following the guide provided here: Prepare VM Image.

I am using the snp-latest branch from this repository: AMDSEV.

After running the launch-qemu.sh script with the correct .qcow2 file and .iso file, the process hangs indefinitely. I am attaching a screenshot showing the point where it gets stuck.

launch_script

Steps to Reproduce

  1. Follow the instructions for building and preparing the VM from the snp-latest branch.
  2. Run the launch-qemu.sh script with the following arguments:
    
    ./launch-qemu.sh -hda <qcow_file> -cdrom <iso_file> 

I appreciate any help in advance! Thank you.

tlendacky commented 6 hours ago

When you get to the grub prompt, you need to edit the install entry and add "console=ttyS0,115200n8" to the kernel command line.

n7koirala commented 5 hours ago

Could you please clarify? I do not get any grub prompt after running the launch script with the qcow file and iso file. The process seems to hang during the boot process, and I cannot access or modify the grub entries.