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] Convert CentOS system to Xen image?

To: James Pifer <jep@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Convert CentOS system to Xen image?
From: Tiago Cruz <tiagocruz@xxxxxxxxxxxx>
Date: Thu, 03 Apr 2008 14:54:11 -0300
Cc: Igor Chubin <igor@xxxxxxx>, Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 03 Apr 2008 11:00:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1207231864.14718.8.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
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: <20080402170005.GD4561@xxxxxxx> <1207157714.8297.75.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <20080402181120.GE4561@xxxxxxx> <1207160833.8297.82.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <1207161210.27447.24.camel@xxxxxxxxxxxxxxxxxxx> <1207162751.8297.93.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <20080402230041.GF4561@xxxxxxx> <1207178978.5035.16.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <20080403005657.GJ4561@xxxxxxx> <1207185593.5035.21.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <20080403083027.GO4561@xxxxxxx> <1207229958.6810.12.camel@xxxxxxxxxxxxxxxxxxx> <1207231864.14718.8.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 2008-04-03 at 10:11 -0400, James Pifer wrote:

> Tiago, I've tried installing CentOS 4.5, 4.6, and 5.1 using
> virt-manager, but none of them see a disk to install to once the CentOS
> install process starts. Maybe there's a special way to run these
> installs.

I'm just installing new RHEL5 machines doing this. Takes ~4 minutes.

# virt-install \
--name=myvm \
--ram=1000 \
--file=/dev/Vol_LVM/vm05 \
--network=bridge:virbr0 \
--vnc \
--paravirt \
--location=http://server.com/redhat5as_install/  \
-x ks=http://server.com/redhat5as_install/ks.cfg

Where:
- /dev/Vol_LVM/vm05 its one LVM device with 20 GB
- ks.cfg:

install
url --url http://server.com/redhat5as_install/
lang en_US.UTF-8
keyboard br-abnt2
network --device eth0 --bootproto dhcp --hostname xen.com.br
rootpw --iscrypted (#hash of password#)
firewall --disable
authconfig --enableshadow --enablemd5
selinux --disable
timezone --utc America/Sao_Paulo
bootloader --location=mbr --driveorder=xvda
clearpart --linux
part / --fstype ext3 --size=100 --grow
part swap --size=3000 --asprimary

%packages
%packages
@admin-tools
@base
@core
@development-libs
@development-tools
@dialup
@editors
@printing
@system-tools
@text-internet



> 
-- 
Tiago Cruz
http://everlinux.com
Linux User #282636



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users