From 45f4ef13359d81a3440a7cf5a3dccc5484947bb9 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Fri, 1 Apr 2011 12:59:29 -0500 Subject: system/xen: Removed (needs update) This will be updated by the maintainer after 13.37 releases, but he's not done with the needed changes yet... Signed-off-by: Robby Workman --- system/xen/domU/README.domU | 57 ---------------------------------- system/xen/domU/domU.sh | 76 --------------------------------------------- system/xen/domU/mydom | 10 ------ 3 files changed, 143 deletions(-) delete mode 100644 system/xen/domU/README.domU delete mode 100644 system/xen/domU/domU.sh delete mode 100644 system/xen/domU/mydom (limited to 'system/xen/domU') diff --git a/system/xen/domU/README.domU b/system/xen/domU/README.domU deleted file mode 100644 index f060dceece30..000000000000 --- a/system/xen/domU/README.domU +++ /dev/null @@ -1,57 +0,0 @@ - HOW TO INSTALL A SLACKWARE DOMU XEN GUEST - -After the ordeal of installing and configuring LILO/GRUB, Xen, kernel-xen -and possibly also a new initrd, editing /etc/rc.d/rc.local and -/etc/rc.d/rc.local_shutdown, and finally booting on your Slackware XenLinux, -you might be wondering how are you to load you guest OS. If you look around, -you might find Xen domU (unprivileged) guest that you can download from the -Internet, but some of us might want to roll their own. This MINI-HOWTO shows -how to install a Slackware domU guest. The fastest way is to mount your -Slackware DVD on /media/SlackDVD, normally this is the mount point chosen by -HAL. Then run the included domU.sh script. - -# ./domU.sh - -This will install Slackware onto an 8GB file called slackware.img and a 500MB -swap file called swap_file. By default, a typical server installation ensues. - -Have a good look at the mydom file as you need to fill in the full path to the -slackware.img and swap_file files. - -Then run the following command: - -# xm create -c mydom - -Your Slackware XenLinux domU should boot instantly. - -Since Xen domU support has been in mainline kernel for a while now, those that -wish to have the best performance can compile a seperate domU kernel based on a -stock Slackware kernel config. -This is what you have to select/unselect when building domU only kernel: - ---- -Processor type and features ---> - [*] Paravirtualized guest support ---> - [*] Xen guest support - -Bus options (PCI etc.) ---> - [ ] PCI support - -Device Drivers ---> - < > Serial ATA and Parallel ATA drivers ---> - SCSI device support ---> - < > SCSI device support ---- - -Disabling SCSI support frees up the /dev/sd* device names for use as Xen -virtual block devices. Basicly, this changes their names from /dev/sd* to a -Xen device name format /dev/xvd*. If this is left enabled, ocasionaly domU can -get stuck in a reboot-loop, with this error: -"XENBUS: Waiting for devices to initialise..." -Naturaly, to get the best performance you can disable everything that you -don't need in domU kernel. - -Note that these files are not intended for a production environment. Users who -have particular requirements will need to set up their own methods, but these -files might provide a good starting point. Refer to the Xen manual and -http://xen.org for more details and options. diff --git a/system/xen/domU/domU.sh b/system/xen/domU/domU.sh deleted file mode 100644 index d9b2792917d2..000000000000 --- a/system/xen/domU/domU.sh +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh -# This Script builds a Slackware domU Xen Guest on a Slackware host, -# Although it might work correctly, this script is intended as a template, so -# simplicity is the priority here. -# Chris Abela -# 20100308 -# Updated by mario -# 20100904 - -set -e - -# Build an image for the root file system and another for the swap -# Default values : 8GB and 500MB resepectively. -ROOT_MB=${ROOT_MB:-8000} -SWAP_MB=${SWAP_MB:-500} -dd if=/dev/zero of=slackware.img bs=1M count=0 seek=$ROOT_MB -mkfs.ext4 -F slackware.img -dd if=/dev/zero of=swap_file bs=1M count=0 seek=$SWAP_MB -mkswap swap_file - -# Make a mountpoint for the root file system and mount it -mkdir -p mnt -mount -o loop slackware.img mnt - -# Make a mountpoint for proc and mount it -mkdir -p mnt/proc -mount --bind /proc mnt/proc - -############################################################################## -# # -# IMPORTANT : This assumes that you have mounted your Slackware DVD on # -# /media/SlackDVD # -# # -############################################################################## - -# This will install a "Server" with the listed packages -for i in a ap d e f k l n t tcl; do - installpkg --root mnt/ /media/SlackDVD/slackware*/$i/*.t?z -done -chroot mnt /sbin/ldconfig - -# create fstab -cat >mnt/etc/fstab <> /etc/inittab -echo -e '\nhvc0' >> /etc/securetty - -# This will save us an alarming (yet harmless) warning -(cd mnt/lib/modules - if [ -d 2.6.33.4-smp ] ;then - # for Slack32 - ln -s 2.6.33.4-smp 2.6.33.4-xen - else - # for Slack64 - ln -s 2.6.33.4 2.6.33.4-xen - fi -) - -# unmount proc and the filesystem -umount mnt/proc -umount mnt diff --git a/system/xen/domU/mydom b/system/xen/domU/mydom deleted file mode 100644 index 0ac1ad69d758..000000000000 --- a/system/xen/domU/mydom +++ /dev/null @@ -1,10 +0,0 @@ -kernel = "/boot/vmlinuz-xen" -ramdisk = "/boot/initrd-xen.gz" -memory = 128 -name = "slackware" -vif = [ 'mac=00:16:3e:00:00:01'] -disk = [ 'file:/full_path_to/slackware.img,xvda1,w', - 'file:/full_path_to/swap_file,xvda2,w' ] -root = "/dev/xvda1 ro" -extra = "3" -extra = "console=hvc0 elevator=noop" -- cgit v1.2.3