WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Goran Vukoman <xen-list@xxxxxxxx>
Subject: Re: [Xen-users] How to install an HVM linux guest without bootcd?
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Wed, 13 Jun 2007 20:54:59 +0100
Cc: Dylan Martin <dmartin@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 13 Jun 2007 12:53:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1181764010.13102.38.camel@goofy>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1181733617.7568.3.camel@goofy> <20070613173850.GA30643@xxxxxxxxxxxx> <20070613180539.GC32581@xxxxxxxxxxxx> <1181764010.13102.38.camel@goofy>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
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