SL(c)5 does support virtual machines far better than SLC4 (where a special kernel was required).

Once you have installed you dom0 with Xen support

# yum install -y  kernel-xen xen
(and perhaps rebooted to run the "xen" kernel - use uname -a to check) and have set up the disk space for the virtual machine (LVM in the example below, see PreparingXenGuestFilesystems), a single (long..) command is sufficient to get your SLC4 machine installation off the ground:
# virt-install -d --paravirt --name=SLC4Xguest \
 --extra-args="ks=http://linuxsoft.cern.ch/aims2server/aims2ks.cgi noipv6 cmdline" \
 --location=http://linuxsoft.cern.ch/cern/slc4X/i386/ --nographics --mac=00:16:3E:X:Y:Z \
 --file=/dev/mapper/vg00-domU2 --ram=256 --os-variant=rhel4

Some notes:

  • the --file argument takes either a path to a file or an (existing) logical volume - in this case you need to give the path to the exsiting block device, not some symlink (like those under /dev/vg00/), since the virt-install script will use the file type as input.
  • using Kickstart (via the --extra-args argument) is of course optional.. leaving it off results in a traditional manual install.
  • adjust other parameters (--ram, --mac) to suit your environment
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2009-07-01 - MatthiasSchroeder
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LinuxSupport All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback