<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">I have the same problem/questions
as yours (see my previous post named "need advices on how to install
domU with xenguest-install")<br>
This is how I manage to install FC5 in an lvg as a domU on my x86_64
system (guest named FC5-2):<br>
Basic instructions:<br>
- In dom0: <br>
  - create an lvg, format it with ext3<br>
</font></font><font size="-1"><font face="Verdana">  - install the domU
kernel locally (will be used to boot domU): yum install
kernel-xenU.x86_64</font></font><br>
<font size="-1"><font face="Verdana">- boot with the DVD, install FC5
in the lvg (You can format it or not), dont select swap file, choose
"/boot" partition (the one used by dom0 DONT FORMAT IT of course...)
for "/boot", install what you need there. I also gnome there...<br>
- dont install grub, configure Your network as normal<br>
- reboot in dom0 (remove the DVD...)<br>
- mount the lvg in some local fs (let say /ZZ),<br>
- edit /ZZ/etc/fstab like this:<br>
     /dev/sda1 /         ext3    defaults        1 1<br>
     devpts    /dev/pts  devpts  gid=5,mode=620  0 0<br>
     tmpfs     /dev/shm  tmpfs   defaults        0 0<br>
     proc      /proc     proc    defaults        0 0<br>
     sysfs     /sys      sysfs   defaults        0 0<br>
- run yum --installroot=/ZZ install kernel-xenU.x86_64<br>
- create a file in /etc/xen/FC5-2 like this: <br>
     name = "FC5-2"<br>
     memory = "300"<br>
     disk = [ 'phy:&lt;name of your lvg&gt;,sda1,w' ]<br>
     vif = [ 'mac=00:16:3e:11:2c:e9' ]<br>
     kernel="/boot/vmlinuz-2.6.16-1.2080_FC5xenU"<br>
     ramdisk="/boot/initrd-2.6.16-1.2080_FC5xenU.img"<br>
     root="/dev/sda1"<br>
     extra = "ro selinux=0 3"  <br>
     on_reboot   = 'restart'<br>
     on_crash    = 'restart'<br>
- umount /ZZ<br>
- xm create -c FC5-2<br>
This should start your guest. logon as root, </font></font><font
 size="-1"><font face="Verdana"> perform basic configuration when
requested to do so (network, disable selinux..)</font></font><br>
<font size="-1"><font face="Verdana">- yum remove
kernel-2.6.15-1.2054_FC5<br>
- yum update<br>
</font></font><font size="-1"><font face="Verdana">- vi
~/.vnc/xstartserver. replace "twm" by "gnome-session"<br>
- vncserver<br>
<br>
Then start vncviewer from dom0,, and then configure services with gnome
(disable all unneeded services...) and configure your guest..<br>
You can also perform rm /boot/*2054* from dom0<br>
<br>
To create a new server from that one (make a clone named FC5-3):<br>
</font></font><font size="-1"><font face="Verdana">- xm shutdown FC5-2<br>
</font></font><font size="-1"><font face="Verdana">- create another lvg
identical to the first one<br>
- mount both lvg on local fs<br>
- cp -ar fs_lvg1 to fs_lvg2<br>
- cp /etc/xen/FC5-2 /xen/FC5-3. change the mac address and the name of
the lvg...<br>
</font></font><font size="-1"><font face="Verdana">- umount both fs<br>
</font></font><font size="-1"><font face="Verdana">- xm create -c FC5-3<br>
- logon, vncserver<br>
>From dom0 start vncviewer. There use the gnome/network manager to
change the network adress <br>
logout, shutdown, restart...<br>
<br>
You can also create another lvg for swap, pass it in the config file,
start ur guest and configure the swap stuff there...<br>
<br>
I hope that helps.<br>
Maybe there is a faster way to do it (by using shell command instead of
gnome for configuration), but at least it works (an you don't need to
be a linux expert...)<br>
<br>
I start to LOVE xen. I hope in some future, we'll be able to run
X/gnome in at least one domU...<br>
<br>
Denis<br>
<br>
<br>
<br>
</font></font><br>
Gregor Pirnaver wrote:
<blockquote cite="mid20060411083530.A12108B7BD@www1.email.si"
 type="cite">
  <pre wrap="">This is what I am doing:

# lvcreate -L32768 -nroot.webserver VolGroup00
# mkfs -t ext3 /dev/VolGroup00/root.webserver
# xenguest-install.py
What is the name of your virtual machine? webserver
How much RAM should be allocated (in megabytes)? 512
What would you like to use as the disk (path)? /dev/VolGroup00/root.webserver
What is the install location?
<a class="moz-txt-link-freetext" href="http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/">http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/</a>

The problem is that Fedora installation doesn't treat
/dev/VolGroup00/root.webserver as a partion but like a whole disk. How can I
change this? Or how else should I do it?

BTW is there a way to mount "xvda" paritions?

____________________
<a class="moz-txt-link-freetext" href="http://www.email.si/">http://www.email.si/</a>


--
Fedora-xen mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Fedora-xen@redhat.com">Fedora-xen@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/fedora-xen">https://www.redhat.com/mailman/listinfo/fedora-xen</a>

  </pre>
</blockquote>
</body>
</html>