----- Original Message ----- > Hi, > > I was trying virt-install an F16 guest on an Fedora-16 latest host. > It just basically > hangs after 'setfilecon' on a non-existent device. Refer the virsh > serial console o/p > > > > ==> Version Info <== > ###################################################################### > [root@moon ~]# uname -r ; rpm -q qemu-kvm libvirt python-virtinst > 3.1.0-0.rc9.git0.0.fc16.x86_64 > qemu-kvm-0.15.0-5.fc16.x86_64 > libvirt-0.9.6-2.fc16.x86_64 > python-virtinst-0.600.0-5.fc16.noarch > [root@moon ~]# > ###################################################################### > > > > > Below is a snippet of serial console o/p where the virt-install hung. > ####################################################################### > . > . > . > . > Starting Initialize storage subsystems (RAID, LVM, etc.) failed, see > 'systemctl status > fedora-storage-init-late.service' for details. > [0/386] > [ 4.235192] systemd[1]: Unit fedora-storage-init-late.service > entered failed state. > Started POSIX Message Queue File System. > Started Debug File System. > Started Huge Pages File System. > Started Security File System. > Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or > progress polling... > Started Load legacy module configuration. > Starting File System Check on Root Device... > Starting Setup Virtual Console... > Started Load Kernel Modules. > Started FUSE Control File System. > Started Configuration File System. > [ 4.350713] systemd-fsck[297]: Root directory is writable, > skipping check. > Starting Apply Kernel Variables... > Started Set Up Additional Binary Formats. > Starting STDOUT Syslog Bridge... > [ 4.405194] systemd-vconsole-setup[303]: /bin/loadkeys failed with > error code 1. > [ 4.408727] systemd-vconsole-setup[303]: /bin/setfont failed with > error code 1. > Started STDOUT Syslog Bridge. > Started udev Coldplug all Devices. > Started File System Check on Root Device. > Started Setup Virtual Console. > Started Apply Kernel Variables. > Starting Remount Root FS... > Starting udev Wait for Complete Device Initialization... > [ 4.517828] mount[328]: warning: can't open /etc/fstab: No such > file or directory > [ 4.551845] EXT4-fs (dm-0): re-mounted. Opts: > user_xattr,acl,barrier=1,data=ordered > Started Remount Root FS. > [ 4.586326] lvm[296]: No volume groups found > Started Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or > progress polling. > Started Reconfigure the system on administrator request. > Started Relabel all filesystems, if necessary. > Started Mark the need to relabel after reboot. > Starting Load Random Seed... > Starting Recreate Volatile Files and Directories... > Started Load Random Seed. > [ 4.703010] systemd-tmpfiles[345]: Successfully loaded SELinux > database in 39ms 665us, > size on heap is 468K. > Started Recreate Volatile Files and Directories. > [ 5.424048] vda: unknown partition table > Started udev Wait for Complete Device Initialization. > Starting Software RAID Monitor Takeover... > Started anaconda performance monitor. > Starting System Logging Service... > Starting Shell on tty2... > [ 5.879702] udevd[298]: setfilecon /dev/vcs2 failed: No such file > or directory > Started Shell on tty2. > Looking for the virtio ports... done. > Starting Anaconda version 16.20. > ####################################################################### > > ==> Script I used <== > # virt-install --connect=qemu:///system \ > --network=bridge:br0 \ > --initrd-inject=/export/fed.ks \ > --extra-args="ks=file:/fed.ks console=tty0 console=ttyS0,115200" > \ > --name=$domname \ > --disk /export/vmimgs/$domname.img,size=20 \ > --ram 2048 \ > --vcpus=2 \ > --check-cpu \ > --accelerate \ > --hvm \ > --location=$location1 \ > --nographics > ####################################################################### > > ==> Kickstart <== > > # cat fed.ks > install > text > reboot > lang en_US.UTF-8 > keyboard us > network --bootproto dhcp > rootpw redhat > firewall --enabled --ssh > selinux --enforcing > timezone --utc America/New_York > bootloader --location=mbr --append="console=tty0 console=ttyS0,115200 > rd_NO_PLYMOUTH" > zerombr > clearpart --all --initlabel > autopart > > %packages > @core > %end > ####################################################################### > > Am I missing something? Any hints here? >
Try adding 'serial text' to your --extra-args/--append Drew > > /kashyap > _______________________________________________ > virt mailing list > [email protected] > https://admin.fedoraproject.org/mailman/listinfo/virt > _______________________________________________ virt mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/virt
