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

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



On Wed, Jun 13, 2007 at 09:46:50PM +0200, Goran Vukoman wrote:
> 
> > [...]
> > 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.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

_______________________________________________
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®.