Hello, Whenever I have to install a new virtual machine I usually use dd or even more often copy the files of a preinstalled distribution skeleton... it works. But, the disadvantage of this is that I have to first install at least one on a real machine before I can grab the files and start deploying virtually ... is there some way to boot directly from an install CD and install the VM just as if it was a real machine with a CD-ROM drive? Sorry if this is something trivial - I looked in the documentation and but I just can''t find how to do it for some reason. Thank you, Tomas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 1/17/06, Tomas Florian <tflorian@telus.net> wrote:> > Hello, > > Whenever I have to install a new virtual machine I usually use dd or > even more often copy the files of a preinstalled distribution > skeleton... it works. But, the disadvantage of this is that I have to > first install at least one on a real machine before I can grab the files > and start deploying virtually ... is there some way to boot directly > from an install CD and install the VM just as if it was a real machine > with a CD-ROM drive? >As I understand it you need a VT enabled processor and Xen is not quite ready for CD booting yet (though it is set to be soon). For now if you want to do a CD based install you''ll need to setup a partition, reboot the computer, and select that partition to install to. Not exactly an ideal situation, but I''m not complaining. ;) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wednesday 18 January 2006 11:09 am, Eric Peterson wrote:> As I understand it you need a VT enabled processor and Xen is not quite > ready for CD booting yet (though it is set to be soon). For now if you > want to do a CD based install you''ll need to setup a partition, reboot the > computer, and select that partition to install to. Not exactly an ideal > situation, but I''m not complaining. ;)i guess it''s easier to use Qemu for installation and then reuse the image for Xen. of course, some linux distros (Debian, SuSE, Gentoo, at least) can install themselves in a directory, which could just be a mounted image file (or LVM volume) and use that for Xen. -- Javier _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Am Dienstag, den 17.01.2006, 22:50 -0700 schrieb Tomas Florian:> Hello, > > Whenever I have to install a new virtual machine I usually use dd or > even more often copy the files of a preinstalled distribution > skeleton... it works. But, the disadvantage of this is that I have to > first install at least one on a real machine before I can grab the files > and start deploying virtually ... is there some way to boot directly > from an install CD and install the VM just as if it was a real machine > with a CD-ROM drive? >Hello, i''ve written a small script, which installes a machine via debootstrap. It''s attached. Maybee it is usefull for you. It''s neither very good testet nor may it work for every environment. So far, Matze> Sorry if this is something trivial - I looked in the documentation and > but I just can''t find how to do it for some reason. > > Thank you, > Tomas > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks, I''ll give this a try. Matthias Quade wrote:> Am Dienstag, den 17.01.2006, 22:50 -0700 schrieb Tomas Florian: > >> Hello, >> >> Whenever I have to install a new virtual machine I usually use dd or >> even more often copy the files of a preinstalled distribution >> skeleton... it works. But, the disadvantage of this is that I have to >> first install at least one on a real machine before I can grab the files >> and start deploying virtually ... is there some way to boot directly >> from an install CD and install the VM just as if it was a real machine >> with a CD-ROM drive? >> >> > Hello, > i''ve written a small script, which installes a machine via debootstrap. > It''s attached. Maybee it is usefull for you. It''s neither very good > testet nor may it work for every environment. > > So far, > Matze > > >> Sorry if this is something trivial - I looked in the documentation and >> but I just can''t find how to do it for some reason. >> >> Thank you, >> Tomas >> >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Jan 20, 2006 at 12:42:09AM +0100, Matthias Quade wrote:> i''ve written a small script, which installes a machine via debootstrap. > It''s attached. Maybee it is usefull for you. It''s neither very good > testet nor may it work for every environment.I''m sure several people have done the same thing! My take is here: http://www.steve.org.uk/Software/xen-tools (Also packaged for Debian.) This script allows you to do per-machine role customizations, by installing X11 + VNC, if you wish. The only downside is that it uses disk images, not LVM. (Patches welcome ;) Steve -- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users