From: Bill P. <bp...@ph...> - 2007-07-31 19:41:26
|
----- Original Message ----- From: "Marz" <ma...@gu...> To: efw...@li... Sent: 31 July 2007 21:22:26 o'clock (GMT+0100) Europe/Berlin Subject: Re: [Efw-user] xen or network install help Bill Pye wrote: > Hi all > > Could someone help me with answers to a couple of questions? > > I like to do installs on my machines via pxe so I wondered if it is possible to install efw via a network install rather than burning a cd each upgrade? Normally I'd just extract the iso data to a directory on an ftp server but the efw iso doesn't seem to want to install via that method. I'm still fairly new to linux and don't know much about creating a directory that can be booted/installed, what's need to do this for efw? > > I'm also just starting to test xen and would like to consolidate several machines onto one server but I have a need for a para-virtualized install on a centos5 server. I don't think it's possible to boot a cd in xen unless it's s fully virtualized system, someone please correct me if I'm wrong. > > I'm at a total loss as to how I get efw into a xen into a para-virtualized domU, I've tried following the instructions on neobiker's wiki but as it's for a different distribution it's lost on me. > > I'd appreciate some pointers to any instructions, help, advice or general installation instructions for my type of set-up? > > TIA > > regards > > Bill > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Efw-user mailing list > Efw...@li... > https://lists.sourceforge.net/lists/listinfo/efw-user > Hi Bill, (at first sorry for my crappy English!) Maybe I can help you with Xen. I did it this way: At first install Vmware or Virtual Box on your Workstation. Mount the EFW iso Image as a CD Drive an istall it (not the Xen Kernel!). When you are finish with this reboot the VM an login as root. Now you have to find a way to move this installation to the Dom0. I simply created the directory /tar and put all the files into an Archive. for example: $tar -cSp --numeric-owner --atime-preserve -f /tar/efw.tar / I took scp to copy this to Dom0. $scp /tar/efw.tar root@192.168.1.1:~ In the Dom0 you have to extract the EFW to your DomU partition. I use LVM. $mount /dev/vg0/efw /mnt/efw $cd /mnt/efw $tar -xSpv --atime-preserve -f /root/efw.tar Next install the xen kernel. $chroot /mnt/efw $rpm -Uvh kernel-xenU-2.6.9-55.EL.endian19.i386.rpm --nodeps $exit #(leave the chroot) (I get the rpm form here http://downloads.sourceforge.net/efw/EFW-COMMUNITY-2.1.1-devel-RPMS.tar.bz2) To boot the efw as a domU you have to copy the vmlinuz and the initrd. $cp /mnt/efw/boot/initrd-2.6.9-55.EL.endian19-xenU.img /boot $cp /mnt/efw/boot/vmlinuz-2.6.9-55.EL.endian19-xenU /boot The last thing is the DomU config. This is my one: # -*- mode: python; -*- kernel = "/boot/vmlinuz-2.6.9-55.EL.endian19-xenU" ramdisk = "/boot/initrd-2.6.9-55.EL.endian19-xenU.img" memory = 128 name = "domU_efw" vif = [ 'bridge=xenbr0', 'bridge=xenbr1', 'bridge=xenbr2' ] #pci = [ '02:05.0' ] I look forward when this will work! disk = ['phy:/dev/vg0/efw,hda1,w','phy:/dev/vg0/efw-swap,hda2,w'] root = "/dev/hda1 ro" Any further questions? ;) Marz Hi Marz Thank you for that very detailed post, that seems to be just what I'm after. I have VMware server on one of my machines so I'll use that. Unfortunately work commitments mean I probably won't be able to get to try it until the week-end (maybe early next week). I'll let you know how I get on with that and if I have any problems. I've been playing around with xen for the past couple of week, it seems like I've read the whole internet looking for information. I think I understand most of what you've posted. I'm sure some questions will arise so I'll be back, if you don't mind? Thanks again for the post. Your English is excellent. :) Regards Bill ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Efw-user mailing list Efw...@li... https://lists.sourceforge.net/lists/listinfo/efw-user |