[Fedora-xen] installing FC7 under Debian Etch

Amos Shapira amos.shapira at gmail.com
Wed Oct 17 01:48:28 UTC 2007


On 17/10/2007, Daniel P. Berrange <berrange at redhat.com> wrote:
>
> > Does this mean I have to get hold of a different kernel for FC7 which is
> > paravirtualized?
>
> Yes.
>
> > Can you help me find such a kernel or do I have to compile one myself?
> > Is this the "kernel-xen" package or is kernel-xen intended to be used
> for
> > Dom0 (i.e. when fc7 is the host, not the guest)?
>
> For the purposes of installing a brand new paravirt guest use the kernel
> and initrd files from the directory   '$TREE/images/xen/', where $TREE is
> the mounted CDROM image, or Fedora HTTP download site.  Once installation
> is complete, remove the kernel & ramdisk from the guest config and add
> bootloader="/usr/bin/pygrub"


OK, I got the files from
http://mirror.bytemark.co.uk/fedora/linux/releases/7/Fedora/x86_64/os/images/xen/
and put them both under /boot of the host (Debian) and the guest (FC7) and
used the following config file:

kernel = '/boot/fc7-xen-vmlinuz'
ramdisk = '/boot/fc7-xen-initrd.img'
memory = 256
name = 'fc7-01'
root = '/dev/hda1 ro'
vif = ['type=ioemu, bridge=xenbr0']
disk = ['phy:/dev/xen/fc7-01,ioemu:hda,w']
cdrom = 'file://root/iso/fc7/i386/boot.iso'
device_model='/usr/lib/xen-3.0.3-1/bin/qemu-dm'
boot='d'
sdl='1'

And it seems to run - device started, "xm list" lists it at "blocked" state,
xend.log file ends like:

[2007-10-17 21:44:29 xend 2358] DEBUG (__init__:1072) Waiting for devices
irq.
[2007-10-17 21:44:29 xend 2358] DEBUG (__init__:1072) Waiting for devices
pci.
[2007-10-17 21:44:29 xend 2358] DEBUG (__init__:1072) Waiting for devices
ioports.
[2007-10-17 21:44:29 xend 2358] DEBUG (__init__:1072) Waiting for devices
tap.
[2007-10-17 21:44:29 xend 2358] DEBUG (__init__:1072) Waiting for devices
vtpm.
[2007-10-17 21:44:29 xend 2358] INFO (__init__:1072) Domain fc7-01 (36)
unpaused.

But I don't get any console window and don't see how to reach the console.

Just in case this is relevant - the Xen machine is a headless rack-mounted
box in our machine room, no local desktop.
I open ssh to it with X11 forwarding and manage to run VNC viewer into the
console of the Windows Xen guest.

Thanks very much for your help.

--Amos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20071017/ecc49471/attachment.htm>


More information about the Fedora-xen mailing list