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] Howto install domU CentOS 5 directly on partition

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Howto install domU CentOS 5 directly on partition
From: Paul Van Allsburg <paulvanall@xxxxxxxxxxx>
Date: Sun, 29 Jul 2007 00:11:30 -0400
Delivery-date: Sat, 28 Jul 2007 21:09:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46AB9513.3080000@xxxxxxxxxxx>
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: <46AB27CB.3050501@xxxxxxxxxx> <46AB9513.3080000@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.4 (X11/20070615)
Hi Liam,
I'd like to see the details - I'll try on a f7 machine. It would be great not to have to learn everything from scratch for once!
Thanks!
Paul Van Allsburg

Liam Kirsher wrote:
I used virt-install, and selected custom partitioning during the install
process, removing the LVM stuff and reducing it to one partition.  Then
the install proceeded fine.  That created my "template" OS, with a
single partition and no swap (ignore the warning about missing swap
during install).  That is created on a logical volume accessible from
dom0, can be mounted with kpartx and mount.

Now I just create logical volumes for data and swap, and copy (using dd)
the template to the data, mkswap on swap.
Then, mount the data volume, make a few changes, and just start it up.
I can send more details if you like, but I've got to run now.
It took me a *looooong* time to figure out exactly how to do it, but now
I can set up a new domU in less than ten minutes, and it´s easy to
access the domU files from dom0.

Liam


kanour-xen wrote:
Hi.

I am new to CentOS (Debian user) and I am looking for way how to
install CentOS 5 on domU in the way that I have it directly on dom0
LVM partition.
If I install it with virtual-manager then the installation program
takes that partition as a disk and then creates new partitions on it.
I don't want it that way because I cannot then mount it from dom0.

Is there some way how to install it directly on partition as for
example in Debian with debootstrap?

Thank you

Jiri

_______________________________________________
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