[Ovirt-devel] [PATCH node 2/3] copy initrd0.img to root partition

Joey Boggs jboggs at redhat.com
Thu Apr 1 02:20:20 UTC 2010


A previous patch removed the manual initrd rebuild as dracut now builds it correctly. With that being removed the initrd0.img file was not being copied over to the system preventing boot
---
 scripts/ovirt-config-boot |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot
index 8cc127b..5f2450e 100755
--- a/scripts/ovirt-config-boot
+++ b/scripts/ovirt-config-boot
@@ -132,6 +132,7 @@ ovirt_boot_setup() {
     mkdir -p $grub_dir
 
     cp -p $live/$syslinux/vmlinuz0 $initrd_dest
+    cp -p $live/$syslinux/initrd0.img $initrd_dest
     rc=$?
     if [ $rc -ne 0 ]; then
         log "kernel image copy failed."
-- 
1.6.6.1




More information about the ovirt-devel mailing list