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

RE: [Xen-users] Creating linux guest filesystem


  • To: rob@xxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Fri, 29 Jun 2007 16:20:55 +0200
  • Delivery-date: Fri, 29 Jun 2007 07:20:49 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: Ace6V271VPaLPuFOTlqHmgq1k0eqfwAADClg
  • Thread-topic: [Xen-users] Creating linux guest filesystem

 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Rob van Oostveen
> Sent: 29 June 2007 15:11
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Creating linux guest filesystem
> 
> Hi,
> 
> Can anyone guide me through (or point me to a readme) the procedure of
> creating a filesystem for a guest linux domain? I've set up a 
> redhat fc6 with
> Xen 3.1 as the domain-0.

Is this for para-virtual or HVM domain?

The process is pretty similar to begin with: You create a file/partition
(or files/partitions if you want) that is your domain "disk(s)". E.g.
"dd if=/dev/zero of=mydisk.img bs=1M count=10k". 

This will create a 10G disk image. 

If you are using it as PV-domain storage, then you need to create a
file-system and copy in the files to build a linux infrastructure on the
disk. There are tools around to do that. "debootstrap" is one of those
(it works for Debian-like distributions). Redhat/Fedora uses
"virt-install" fo the same purpose (but it's only able to install off a
network source accoreding to the docs I found in a quick search). You
may want to google these things. 

For HVM installations, I usually do a base-install from a CDROM and if I
need more than one, I copy the resuling image/partition to create
multiple installations. 

--
Mats
> 
> Thank you.
> 
> Regards,
> Rob
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



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