[Fedora-xen] FC5 installation notes

Kwan Lowe kwan at digitalhermit.com
Wed Mar 29 04:20:40 UTC 2006


Just posting my installation notes here in case someone finds them useful:

Installation media setup:

  Setup FTP
     yum -y install vsftpd
     service vsftpd start

  Loopback mount the installation DVD to /var/ftp/pub
     mount -o loop /export/C-5-i386-DVD.iso /var/ftp/pub

Create a VBD for the installation

   lvcreate -L 3G -n xm-fc5-001_lv rootvg

Run the installation

   xenguest-install.py -n xm-fc5-001 \
       -f /dev/rootvg/xm-fc5-001_lv  \
       -r 256 -l ftp://192.168.0.10/pub/

Caveats:

Installer doesn't check if enough memory is available. Drop to run level 3 and/or
mem-set other existing dom0s to lower memory (or shut them off).

Installation path is to the root of the DVD, not the Yum repository package path.


Copying an LVM (easy way to duplicate VBD)

1) Start with an installed DHCP enabled domU.
2) lvcreate -L 2G -n copyof_xm rootvg
3) cd /dev/mapper;  dd if=rootvg-xm of=rootvg-copyof--xm bs=1M
4) cp /etc/xen/xm /etx/xen/copyof_xm
5) edit /etc/xen/copyof_xm; change the MAC, name
6) xm create copyof_xm




-- 
* The Digital Hermit   http://www.digitalhermit.com
* Unix and Linux Solutions   kwan at digitalhermit.com




More information about the Fedora-xen mailing list