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: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-users] How to install an HVM linux guest without bootcd?
From: Dylan Martin <dmartin@xxxxxxxxxxxx>
Date: Wed, 13 Jun 2007 14:30:17 -0700
Cc: Goran Vukoman <xen-list@xxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 13 Jun 2007 14:28:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070613195459.GP14120@xxxxxxxxxx>
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> <20070613195459.GP14120@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.3i

> > > [...]
> > > 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