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

[Fedora-xen] FC5 installation notes



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 digitalhermit com


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