LinuxQuestions.org
Visit Jeremy's Blog.
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 06-13-2013, 05:39 AM   #1
kaspro
Member
 
Registered: Apr 2013
Posts: 33

Rep: Reputation: Disabled
Installing virtual machine can't read ks file?


Hello everyone, I'm trying to install a virtual machine on kvm using ks file from usb but i always get an error while installing that it couldn't read the ks file.
Here's the direction I'm using for the ks file using "virt-install" command
Code:
-x "ks=hd:sdc1:/ks.cfg"
Where sdc1 is my usb drive and is mounted on "/media/usb"
Thank you!

Last edited by kaspro; 06-13-2013 at 05:41 AM.
 
Old 06-13-2013, 10:21 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,892

Rep: Reputation: 745Reputation: 745Reputation: 745Reputation: 745Reputation: 745Reputation: 745Reputation: 745
You need to setup USB pass through to allow clients to use the hosts hardware.
 
Old 06-13-2013, 06:32 PM   #3
kaspro
Member
 
Registered: Apr 2013
Posts: 33

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
You need to setup USB pass through to allow clients to use the hosts hardware.
Ok thanks, but would you please tell me how to do that?
 
Old 06-13-2013, 06:50 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,892

Rep: Reputation: 745Reputation: 745Reputation: 745Reputation: 745Reputation: 745Reputation: 745Reputation: 745
http://david.wragg.org/blog/2009/03/...r-libvirt.html
 
Old 06-14-2013, 01:28 AM   #5
kaspro
Member
 
Registered: Apr 2013
Posts: 33

Original Poster
Rep: Reputation: Disabled
That won't help me coz I'm trying to use the USB for a new install VM not on already installed VM
 
Old 06-14-2013, 06:10 PM   #6
kaspro
Member
 
Registered: Apr 2013
Posts: 33

Original Poster
Rep: Reputation: Disabled
Ok, i'm not very expert and i'm currently studying RHCSA, here's the virt-install command i'm using
Code:
virt-install -n server2.example.com -r 768 --disk path=/var/lib/libvirt/images/server2.example.com.img,size=10 -l /home/CentOS-6.3.iso -x "ks=hd:sdc1:/ks.cfg"
And what i feel should happen is that as it's reading the installation file from the path i'm giving to it, it should read the kickstart file from the host drives not the guest coz i'm installing new virtual machine, and that's how they describe it in all the books!!!!
 
Old 06-15-2013, 12:00 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,892

Rep: Reputation: 745Reputation: 745Reputation: 745Reputation: 745Reputation: 745Reputation: 745Reputation: 745
I'm not an expert either and have very little experience with KVM.
 
Old 06-16-2013, 05:07 AM   #8
kaspro
Member
 
Registered: Apr 2013
Posts: 33

Original Poster
Rep: Reputation: Disabled
Ok Thanks anyway!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing Virtual Machine Using Kickstart file Question (RHCSA)? kaspro Linux - Certification 2 06-24-2013 07:57 AM
file sharing between a virtual machine and the host machine okok Linux - Networking 3 06-21-2013 12:42 AM
Issue faced while installing Linux in virtual machine in Oracle virtual box ravisingh1 Linux - Virtualization and Cloud 5 04-07-2013 10:42 AM
installing a virtual machine mutetikasikali Linux - Software 3 06-25-2012 05:29 PM
installing virtual machine MystKid Slackware 5 12-26-2010 12:52 PM


All times are GMT -5. The time now is 01:34 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration