Friday, January 27, 2012

OracleVM 3 PW drivers for Oracle Linux 5u7

So, to boot OL5U7, you pass xen_emul_unplug=never on the kernel boot line, which allows the machine to boot with the emulated devices, i.e. they are not unplugged.

Then, edit /etc/modprobe.conf to replace the emulated devices with xen-netfront and xen-blkfront:
Fiel /etc/modprobe.conf should look like this:
alias eth0 xen-netfront
alias scsi_hostadapter xen-blkfront

Then, rebuild initrd:
mkinitrd -f -v --builtin=ehci-hcd --builtin=ohci-hcd --builtin=uhci-hcd /boot/initrd-`uname -r`.img `uname -r`

And reboot. You may get kudzu renaming ifcfg-eth0 to ifcfg-eth0.bak on reboot, because it detects "new" hardware. If so, just rename it back and it should be fine.

No comments:

Post a Comment