[libvirt-users] "virt-install" source location boot disk

Jay Vyas jayunit100 at gmail.com
Tue Apr 22 09:24:22 UTC 2014

Hi Giuseppe and thanks for the response............ Heres some more info:

Here is my kickstart... maybe the "--bootloader" argument is wrong in some

# Put this in pastebin or some other public url
# Kickstart file automatically generated by anaconda.

lang en_US.UTF-8
keyboard us
network --onboot yes --device eth0 --bootproto dhcp --noipv6
timezone --utc America/New_York
rootpw  --iscrypted
selinux --enforcing
authconfig --enableshadow --passalgo=sha512
firewall --service=ssh

#Disable graphical stuff

# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
# Uncommented by j
clearpart --all
network --bootproto=static --ip=
--netmask= --gateway=
bootloader --location=mbr --timeout=5 --append="rhgb quiet"

Some more details:  This is what my "df" output is

Filesystem           1K-blocks      Used Available Use% Mounted on
                      26552588   2244364  22959412   9% /
tmpfs                  1978444         0   1978444   0% /dev/shm
/dev/sda1               495844     33710    436534   8% /boot

On Tue, Apr 22, 2014 at 4:02 AM, Giuseppe Scrivano <gscrivan at redhat.com>wrote:

> Jay Vyas <jayunit100 at gmail.com> writes:
> > Hi virt, im stumped... any help would be appreciated.
> >
> > I normally create my VMs like this:
> >
> > base="http://mirror.pnl.gov/fedora/linux/releases/20/Fedora/x86_64/os/"
> >
> > sudo virt-install --hvm --name $vm_name$i --ram 4000 \
> > --disk path=/VirtualMachines/$vm_name$i,size=30 \
> > --location $base -x  "ks=http://xxx.os21.ks$kx"
> >
> > HOWEVER... I'm finding that my VMs dont boot after i restart the Host.
> >
> > My question is:  Where is virt-install writing the boot disk to?
> I don't see anything wrong in your command line and it should just work.
> How does your kickstart file look like?  And your domain XML definition
> (you can get it with "virsh dumpxml $vm_name$i")?
> Regards,
> Giuseppe

Jay Vyas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140422/63495aeb/attachment.htm>

More information about the libvirt-users mailing list