[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
way?

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

#version=DEVEL
install
cdrom
lang en_US.UTF-8
keyboard us
network --onboot yes --device eth0 --bootproto dhcp --noipv6
timezone --utc America/New_York
rootpw  --iscrypted
$6$9bRPXTZZMy0FNl2A$lgY.MS3pZ.0PVg4o3AQeJOydPwGVphdKT07tHlJUmdoRTz4UQQ/L54ny0QHkdubMquqkr4jw37DxmM0FL5kRn1
selinux --enforcing
authconfig --enableshadow --passalgo=sha512
firewall --service=ssh


#Disable graphical stuff
skipx
#text

# 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
zerombr
clearpart --all
autopart
#ip=192.168.122.99
network --bootproto=static --ip=192.168.122.100
--netmask=255.255.255.0 --gateway=192.168.122.1
--nameserver=192.168.122.1
bootloader --location=mbr --timeout=5 --append="rhgb quiet"
....
%end


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

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
                      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
http://jayunit100.blogspot.com
-------------- 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