Kraska, Joe A \(US SSA\)
2007-Feb-14 23:46 UTC
[Xen-users] OS install into domU... command line only?
I''ve decided to divorce myself from all of the gui tools for Xen at the moment, and have been learning everything about the Xen xm command tool that I possibly can. In the suse, rhel, and xen enterprise gui clients, there is usually some way to install your os from CD/DVD, ftp root, or iso. I know how to dd an img file now, mount it, and so forth, also know how to mount an iso file. So I can sort of guess what might be happening, but not quite. Question is: What approaches are these gui tools using to install the os into the img file? In the ftp case, at the other end are rpms. More pointed question: how ought *I* provision a vm from ISO? What''s the recommended path? What provisioning technique is everyone preferring when they are working command line only? Joe. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Luke S. Crawford
2007-Feb-15 00:18 UTC
Re: [Xen-users] OS install into domU... command line only?
On Wed, 14 Feb 2007, Kraska, Joe A (US SSA) wrote:> In the suse, rhel, and xen enterprise gui clients, there is usually some > way to install your os from CD/DVD, ftp root, or iso.> More pointed question: how ought *I* provision a vm from ISO?I use qemu; it works quite nicely. # qemu -hda /home/lsc/centos3 -cdrom /home/lsc/CentOS-3.8-server-i386.iso -boot d -vnc 2 this assumes I want the hard drive to be the file at /home/lsc/centos3; you can use a partition or another file if you like. (I then connect to vnc screen 2 on that host from my workstation and finish the install.) also note that you still need to put the kernel in the Dom0 in it''s xm config file in the usual way; the xen kernel, not the kernel from the CDrom. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users