[Fedora-xen] FC6 initrd without xenblk?

Adrian Chadd adrian at creative.net.au
Wed Apr 11 04:42:25 UTC 2007


I had to roll a custom initrd for 2.6.19-1.2911.6.5.fc6xen which included
xenblk during boot:

[root at hosting-3 ~]# mkinitrd -f --preload=xenblk --with=xenblk /boot/initrd-2.6.19-1.2911.6.5.fc6xen.img.1 2.6.19-1.2911.6.5.fc6xen

The default initrd didn't load xenblk and thus domU didn't have any block devices,
halting the boot process right in its tracks.

Is there a "better" way to do this for PVM under FC6? (this example is Debian etch
DomU under FC6 Dom0.)

My config file:

[root at hosting-3 ~]# cat /etc/xen/servers/test1
kernel = "/boot/vmlinuz-2.6.19-1.2911.6.5.fc6xen"
ramdisk = "/boot/initrd-2.6.19-1.2911.6.5.fc6xen.img.1"
memory = 128
name = "test1"
vif = [ 'bridge=xenbr0.4' ]
disk = [ 'phy:Hosting3/XEN_test1_root,sda1,w', 'phy:Hosting3/XEN_test1_swap,sda2,w' ]
root = "/dev/sda1 ro"
on_crash = "preserve"

Thanks,



Adrian






More information about the Fedora-xen mailing list