[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Fedora-xen] FC6 initrd without xenblk?



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

[root 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 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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]