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

Re: [Xen-users] How to install an HVM linux guest without bootcd?




> > > [...]
> > > Why do want to avoid using a boot cd?  The best solution probably
> > > depends on why you want to do that.
> > > [...]
> > 
> > I want to write a program which creates, starts and stops virtual
> > machines on demand.
> > 
> > To start and stop is no problem but to create one.
> > 
> > I've started to work with files but I can't partitionate a file with
> > fdisk. 
> 
> Sure you can. Just setup a loop device pointing do the file while
> you are partitioning.
> 
>   losetup myfile.img
>   fdisk /dev/loop0
>   loseutp -d /dev/loop0
> 
> Though you probably also need to tell fdisk geometry 
> 
> Dan.
>

To make it boot properly, you'll also have to install grub on it (or
lilo or whatever).  Once you have it mounted, that should work the
same as with fdisk.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.