+ Basissystem - Novell AppArmor + Virtualisierungs-Host - Hilfe und Support + Minimales System + GNOME + X Window System + Dateiserver + Druckserver - Webbasierte Unternehmensverwaltung + C/C++
default 1 timeout 2 gfxmenu (hd0,1)/boot/message title SUSE Linux Enterprise Server 11 root (hd0,1) kernel /boot/vmlinuz root=/dev/sda2 resume=/dev/sda1 splash=silent crashkernel=128M-:64M@16M showopts vga=0x317 initrd /boot/initrd title Xen -- SUSE Linux Enterprise Server 11 root (hd0,1) kernel /boot/xen.gz module /boot/vmlinuz-xen root=/dev/sda2 resume=/dev/sda1 splash=silent showopts vga=0x317 module /boot/initrd-xen
BOOTPROTO='static' BRIDGE='yes' BRIDGE_FORWARDDELAY='0' BRIDGE_PORTS='' BRIDGE_STP='off' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='192.168.1.254/24' MTU='' NAME='' NETWORK='' REMOTE_IPADDR='' STARTMODE='auto' USERCONTROL='yes' PREFIXLEN='24'
(keymap 'de')
rcxend restart
/etc/xen/vm
mkdir /xen
mkdir /xen/d4e2010
cp /media/d4e2010/boot/i386/{vmlinuz,initrd}-xen /xen/d4e2010
qemu-img-xen create /xen/d4e2010/s4e.img 20G qemu-img-xen create /xen/d4e2010/d4e.img 20G
dd if=/dev/zero of=/xen/d4e2010/s4e.img bs=1M seek=20000 count=0 dd if=/dev/zero of=/xen/d4e2010/d4e.img bs=1M seek=20000 count=0
name="s4e2010" memory=512 maxmem=512 vcpus=1 on_poweroff="destroy" on_reboot="destroy" on_crash="destroy" localtime=0 keymap="de" builder="linux" vif=[ 'mac=00:16:3e:00:00:01,bridge=br0', ] vfb=['type=vnc,vncunused=1'] ## Fuer Installation kernel="/xen/d4e2010/vmlinuz-xen" ramdisk="/xen/d4e2010/initrd-xen" extra="install=hd:/dev/hdc autoyast=device://hdc/xml/s4e.xml insecure=1 Language=de_DE" disk=[ 'phy:/dev/sr0,hdc:cdrom,r','file:/xen/d4e2010/s4e.img,hda,w', ] ## Nach Installation #bootloader="/usr/lib/xen/boot/domUloader.py" #bootargs = "--entry=hda2:/boot/vmlinuz-xen,/boot/initrd-xen" #disk=[ 'file:/xen/d4e2010/s4e.img,hda,w', 'phy:/dev/sr0,hdc:cdrom,r', ]
name="d4e2010" memory=512 maxmem=512 vcpus=1 on_poweroff="destroy" on_reboot="destroy" on_crash="destroy" localtime=0 keymap="de" builder="linux" vif=[ 'mac=00:16:3e:00:00:02,bridge=br0', ] vfb=['type=vnc,vncunused=1'] ## Fuer Installation kernel="/xen/d4e2010/vmlinuz-xen" ramdisk="/xen/d4e2010/initrd-xen" extra="install=hd:/dev/hdc autoyast=device://hdc/xml/d4e.xml insecure=1 Language=de_DE" disk=[ 'phy:/dev/sr0,hdc:cdrom,r','file:/xen/d4e2010/d4e.img,hda,w', ] ## Nach Installation #bootloader="/usr/lib/xen/boot/domUloader.py" #bootargs = "--entry=hda2:/boot/vmlinuz-xen,/boot/initrd-xen" #disk=[ 'file:/xen/d4e2010/d4e.img,hda,w', 'phy:/dev/sr0,hdc:cdrom,r', ]
xm create --vncviewer s4e2010
name="s4e2010" memory=512 maxmem=512 vcpus=1 on_poweroff="destroy" on_reboot="destroy" on_crash="destroy" localtime=0 keymap="de" builder="linux" vif=[ 'mac=00:16:3e:00:00:01,bridge=br0', ] vfb=['type=vnc,vncunused=1'] ## Fuer Installation #kernel="/xen/d4e2010/vmlinuz-xen" #ramdisk="/xen/d4e2010/initrd-xen" #extra="install=hd:/dev/hdc autoyast=device://hdc/xml/s4e.xml insecure=1 Language=de_DE" #disk=[ 'phy:/dev/sr0,hdc:cdrom,r','file:/xen/d4e2010/s4e.img,hda,w', ] ## Nach Installation bootloader="/usr/lib/xen/boot/domUloader.py" bootargs = "--entry=hda2:/boot/vmlinuz-xen,/boot/initrd-xen" disk=[ 'file:/xen/d4e2010/s4e.img,hda,w', 'phy:/dev/sr0,hdc:cdrom,r', ]
xm create --vncviewer s4e2010
#disk=[ 'file:/xen/d4e2010/s4e.img,hda,w', 'phy:/dev/sr0,hdc:cdrom,r', ] disk=[ 'file:/xen/d4e2010/s4e.img,hda,w', ]
xm create --vncviewer s4e2010
sax2 -ar
rcxdm restart
name="d4e2010" memory=512 maxmem=512 vcpus=1 on_poweroff="destroy" on_reboot="destroy" on_crash="destroy" localtime=0 keymap="de" builder="linux" vif=[ 'mac=00:16:3e:00:00:02,bridge=br0', ] vfb=['type=vnc,vncunused=1'] ## Fuer Installation #kernel="/xen/d4e2010/vmlinuz-xen" #ramdisk="/xen/d4e2010/initrd-xen" #extra="install=hd:/dev/hdc autoyast=device://hdc/xml/d4e.xml insecure=1 Language=de_DE" #disk=[ 'phy:/dev/sr0,hdc:cdrom,r','file:/xen/d4e2010/d4e.img,hda,w', ] ## Nach Installation bootloader="/usr/lib/xen/boot/domUloader.py" bootargs = "--entry=hda2:/boot/vmlinuz-xen,/boot/initrd-xen" disk=[ 'file:/xen/d4e2010/d4e.img,hda,w', 'phy:/dev/sr0,hdc:cdrom,r', ]
xm list
xm start s4e2010
xm shutdown s4e2010
xm console s4e2010
xm vncviewer s4e2010
xm destroy s4e2010
xm delete s4e2010
...
Platte /dev/sdb: 4005 MByte, 4005560320 Byte 21 Köpfe, 21 Sektoren/Spuren, 17740 Zylinder Einheiten = Zylinder von 441 × 512 = 225792 Bytes Disk identifier: 0x00000000 Gerät boot. Anfang Ende Blöcke Id System /dev/sdb1 * 19 17741 3907648 c W95 FAT32 (LBA)
disk=[ 'file:/xen/d4e2010/d4e.img,hda,w', 'phy:/dev/sdb,sdb,w', ]
—