Jos Vos
2023-Jan-17 16:34 UTC
[CentOS] CentOS Stream 9 virt-install via loop-mounted ISO fails
Hi, I've loop-mounted the latest CentOS Stream 9 DVD ISO and try to do a virt-install (2.0.x for some reason) as non-root user (libvirt group member) using --location with the mount path, but then I come across the problem decribed here: https://bugzilla.redhat.com/show_bug.cgi?id=2022630 That is, I see on the console "Starting dracut initqueue hook...", then it stalls for a while, and then I get all the timeouts described in the bug report. Any suggestions for a workaround (with virt-install 2.0.x and as non-root user)? Background: Dor some reason I need to use virt-install 2.0.x as non-root to install CentOS Stream 9. The "normal" way, specifying a URL with --location, does not work because it fails with permission denied for losetup. It looks like virt-install 3.2.x does not have this problem anymore. Thanks, -- -- Jos Vos <jos at xos.nl> -- X/OS Experts in Open Systems BV | Office: +31 20 6938364 -- Amsterdam, The Netherlands | Mobile: +31 6 26216181
Leon Fauster
2023-Jan-17 20:45 UTC
[CentOS] CentOS Stream 9 virt-install via loop-mounted ISO fails
Am 17.01.23 um 17:34 schrieb Jos Vos:> Hi, > > I've loop-mounted the latest CentOS Stream 9 DVD ISO and try to do > a virt-install (2.0.x for some reason) as non-root user (libvirt > group member) using --location with the mount path, but then I > come across the problem decribed here: > > https://bugzilla.redhat.com/show_bug.cgi?id=2022630 > > That is, I see on the console "Starting dracut initqueue hook...", > then it stalls for a while, and then I get all the timeouts > described in the bug report. > > Any suggestions for a workaround (with virt-install 2.0.x and > as non-root user)? > > Background: > Dor some reason I need to use virt-install 2.0.x as non-root to > install CentOS Stream 9. The "normal" way, specifying a URL > with --location, does not work because it fails with permission > denied for losetup. It looks like virt-install 3.2.x does not > have this problem anymore.Does the same happen when using the ISO file directly as location argument? -l /.../CentOS.iso -- Leon
Possibly Parallel Threads
- CentOS Stream 9 virt-install via loop-mounted ISO fails
- Kickstarting CentOS 7 VM on CentOS 6 not possible?
- kickstart: dracut-initqueue fails due to unresolvable hostname even though network config looks perfectly ok
- Issues booting centos7 [dracut is failing to enable centos/root, centos/swap LVs]
- dracut-initqueue timeout with virt-install... but it works (kinda?)