Re: Questions about cdrom installation in virt-manager

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Cole,
    Sorry to disturb you. Firstly,thanks for your continuously help.
    I am not sure how to enter a local ISO path into the install URL field in the installation method "Network install(HTTP,FTP or NFS)" url to disk.
    I have tried to set up a http server in the s390x ,but find that the "localhost" is x86 which running virt-manager. Also , I try the "file:///var/lib/libvirt/images/**.iso", it don't find the iso image.
    So if you can provide some examples of "local iso host" ,it will be really better.
Big Thanks~

Best Regards,
Kevin
On 2015年11月12日 04:05, Cole Robinson wrote:
On 11/11/2015 12:45 AM, Kevin Zhao wrote:
Hi Cole & all,
      There is a question just confusing me.
      When I use virt-install , set the  --location parameter like this : 
--location /tmp/**.iso, virt-install can search the iso and get the tree.info
, kernel.img and initrd.img. But when I replace the parameter "--location "
with the "--cdrom", it will not be able to search the iso for kernel.img and
initrd.img ,I need to specify the kernel and initrd(Maybe inn the arch ppc64le
and s390x).
       But when I use virt-manager, choose the cdrom I can not get the
functions just like "--location". So does the virt-manager support the
functions just like "--location" do? I see that by using network installation
, virt-manager will search for tree.info, how to use  it  to get a local iso
treeinfo?
       My descriptions may not be very clear . So feel free to let me know if
you have any question.

The difference between --location $ISO and --cdrom $ISO are kinda subtle:

--cdrom $ISO just passes the $ISO as a cdrom device to the guest

--location $ISO tries to mount the $ISO locally, and treat that local path
like a --location $URL install, pulling out the kernel/initrd. This allows
passing in custom kernel args, but is kinda limited since you need root access
to mount the iso

You can actually trigger this with virt-manager by entering a local ISO path
into the install URL field

- Cole


_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux