LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 10-28-2018, 02:12 AM   #1
nejnej25
Member
 
Registered: Dec 2017
Location: Asia
Distribution: Slackware 14.2,CentOS 7, Ubuntu, Debian
Posts: 116

Rep: Reputation: Disabled
Unhappy KVM + Kickstart installation not working properly.


Hi I tried to install VM via KVM. But there's an error that I cannot solve even searching on internet.

Here is the command I use,

Code:
sudo virt-install --name=testvm --arch=x86_64 --vcpus=1 --ram=512 --os-type=linux --nographics -v --network bridge:virbr0 --disk path=/kvm/testvm.img,size=8,sparse=false -l /kvm/isos/CentOS-7-x86_64-Minimal-1804.iso --initrd-inject=/kvm/ks.cfg --extra-args='ks=file:/ks.cfg console=ttyS0'
I see some booting messages until this error came,

Code:
[    6.242984] sd 0:0:0:0: [sda] Attached SCSI disk
[    6.150136] dracut-initqueue[691]: mount: /dev/sr0 is write-protected, mounting read-only
[    6.536060] loop: module loaded
[  132.952709] dracut-initqueue[691]: Warning: dracut-initqueue timeout - starting timeout scripts
[  133.494025] dracut-initqueue[691]: Warning: dracut-initqueue timeout - starting timeout scripts
[  134.024480] dracut-initqueue[691]: Warning: dracut-initqueue timeout - starting timeout scripts

That dracut-initqueue is the problem, until it drops me to dracut shell.

         Starting Dracut Emergency Shell...

Generating "/run/initramfs/rdsosreport.txt"


Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.


dracut:/#
But upon exiting dracut shell it continues to boot until it reach the iso image and all will be fine. Installation will be successful.



I want to sort that dracut thing so I dont need to be in my pc when installing. Please anyone help.


Here's the full log hope this can help to sort out things.

https://pastebin.com/MBUFxj7L


Thanks.
 
Old 10-31-2018, 01:44 AM   #2
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
Add some more memory.
Code:
--ram=1536

Last edited by ilesterg; 10-31-2018 at 01:45 AM. Reason: uhoh
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RedHat Linux KVM installation / FTP or HTTP Kickstart pankajjaura Linux - Virtualization and Cloud 14 08-14-2014 07:48 PM
KVM installation using FTP Kickstart f0olyc0oly Linux - Virtualization and Cloud 1 08-14-2014 07:01 AM
Centos 6.4 kickstart installation not working rootr9 Linux - General 1 09-24-2013 03:55 AM
[SOLVED] Red Hat 5.4 Kickstart, Clustering and KVM installation failing co_bofh Linux - Server 7 03-15-2011 10:08 AM
KVM w/ keyboard not working properly w/ suse 8.1 TyrranzzX Linux - Hardware 0 12-22-2003 03:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 05:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration