virt-install fails with F33 with "Failed to start Switch Root"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I am deploying VMs via kickstart files, so the process can be
completely non-interactive.

Right now I'm stuck with Fedora 33.
The following command works completely fine on F32, F31 and so on, but not F33.
Can you please help me fix it?

virt-install  \
   --connect qemu:///system \
   --network bridge:virbr0 \
   --initrd-inject /var/local/minimal.ks \
   --name test_name_3 \
   --disk /VMs/test_name_3.qcow2,size=10,format=qcow2 \
   --memory 2048 \
   --location https://download.fedoraproject.org/pub/fedora/linux/releases/32/Server/x86_64/os
\
   --hvm --vcpus=2 --check-cpu --accelerate \
   --graphics none \
   --extra-args 'ks=file:/minimal.ks console=tty0 console=ttyS0,115200'

Just change the URL to point to F33 repo. It will fail, after the
whole installation is complete and the VM should start one last time,
with following error:

  Failed to start Switch Root.
  Failed to switch root: Specified switch root path '/sysroot' does
not seem to be an OS tree. os-release file is missing.

I checked that the file "/etc/os-release" is in place and populated.

I uploaded the used Kickstarter file, as well as some logs here:
  https://gitlab.com/Faramos/vm/-/snippets/2042979

I also tried to force installation with EXT4 partitions (instead of
F33 default BTRFS), but it hasn't made any difference.
Nothing else in
https://fedoraproject.org/wiki/Category:ChangeAcceptedF33 seems
suspicous to me.

I am using an F32 host.

--

Michal Schorm
Software Engineer
Core Services - Databases Team
Red Hat

--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux