Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alpine libvirt boxes don't boot #291

Open
fkrull opened this issue Dec 16, 2023 · 0 comments
Open

Alpine libvirt boxes don't boot #291

fkrull opened this issue Dec 16, 2023 · 0 comments

Comments

@fkrull
Copy link

fkrull commented Dec 16, 2023

The Alpine boxes for libvirt don't seem to boot. When running vagrant up, it hangs waiting for the VM to get an IP address. The VM itself stops after the BIOS message "Booting from Hard Disk..." but it hasn't stopped completely because the cursor is still blinking. I tried changing machine_type and disk_bus to different values, but with no success. The problem occurs with at least Alpine 3.18 and 3.19.

Host versions:

  • Fedora 39
  • libvirt 9.7.0
  • QEMU 8.1.1
  • SeaBIOS 1.16.3
$ vagrant init roboxes/alpine319
$ vagrant up --provider libvirt
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'roboxes/alpine319' version '4.3.8' is up to date...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default:  -- Name:              alpine-test_default
==> default:  -- Description:       Source: ...
==> default:  -- Domain type:       kvm
==> default:  -- Cpus:              2
==> default:  -- Feature:           acpi
==> default:  -- Feature:           apic
==> default:  -- Feature:           pae
==> default:  -- Clock offset:      utc
==> default:  -- Memory:            2048M
==> default:  -- Management MAC:    
==> default:  -- Loader:            
==> default:  -- Nvram:             
==> default:  -- Base box:          roboxes/alpine319
==> default:  -- Storage pool:      default
==> default:  -- Image(vda):        /var/lib/libvirt/images/alpine-test_default.img, virtio, 128G
==> default:  -- Disk driver opts:  cache='default'
==> default:  -- Kernel:            
==> default:  -- Initrd:            
==> default:  -- Graphics Type:     vnc
==> default:  -- Graphics Port:     -1
==> default:  -- Graphics IP:       127.0.0.1
==> default:  -- Graphics Password: Not defined
==> default:  -- Video Type:        cirrus
==> default:  -- Video VRAM:        256
==> default:  -- Video 3D accel:    false
==> default:  -- Sound Type:        
==> default:  -- Keymap:            en-us
==> default:  -- TPM Backend:       passthrough
==> default:  -- TPM Path:          
==> default:  -- INPUT:             type=mouse, bus=ps2
==> default:  -- CHANNEL:             type=unix, mode=
==> default:  -- CHANNEL:             target_type=virtio, target_name=org.qemu.guest_agent.0
==> default: Creating shared folders metadata...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...

QEMU SeaBIOS stuck at Booting from Hard Disk...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant