[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-users] Convert CentOS system to Xen image?
James Pifer wrote: > > > Well, your almost there, but you need to boot up an OS recovery iso > > in the HVM and reinstall grub as the primary disk will now be 'hda' > > instead of whatever the other server's was, probably 'sda', or > > 'md0' if it had software raid. > > > > Once you have it running install the xen PV kernel, use disklabels > > for non-LVM volumes in your fstab and grub and then shut it down > > and convert the config to PVM. Boot with 'xm create -c <config' > > so you see the grub menu and select the xen kernel. Once you > > have the PVM running, set it's kernel as the default in grub. > > I tried to do that. Since it's full virt does an actual CD need to be > inserted in the box? I tried adding a virtual CDROM using the ISO, but > it will not boot off of it. Best thing to do is write up a command-line config for your little domain. Try this to get started (put your specifics where needed): kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' memory = 512 name = "MyDomain" guest_os_type = 'linux' vcpus=1 vif = [ 'type=ioemu, bridge=xenbr0' ] disk = [ 'phy:/dev/vg0/lv3,hda,w', 'file:/tmp/rescue.iso,hdc,r' ] boot="dcna" vnc=1 vncconsole=1 vncpasswd='' serial='pty' This should boot into d=cdrom first, then c=hard disk second, followed by n=network (PXE) third, followed by a=floppy last. > On the screen I have > ata0 master is the qemu hard disk. > ata0 slave is Unknown device. Not sure which screen you are talking about here, still using virt-manager? Drop it and start writing config files. The options are documented in the examples in /etc/xen directory. > I installed a xen PV kernel on the live server before grabbing it. Good fore thought, that'll save a step later. -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |