Hi,

(sorry for breaking threading)

on a centos 5.3 install, i also had the problem, that the deployed clients 
would not boot.

this i solved by

a) adding a modprobe.conf to the image, which sets the 
   scsihostadapter alias. this is needed for mkinitrd to include 
   the correct modules

b) have the following post-install script recreate the initrd at the 
   end of imaging (copy to /var/lib/systemimager/scripts/post-install/)

(i also copied a semi-fake fstab to the image, however, the fstab is created 
correctly by the systeminstaller, so that a valid fstab is on the disk when the 
post-install script recreates the initrd)

kind regards
Thilo

>>>>>>>>>>>>>>>

#!/bin/sh
#

#this is a systeminstaller post-install script
#place it in /var/lib/systemimager/scripts/post-install

#this script will rebuild the kernel initrd after installation
# be sure to adjust KERNEL_VERSION to your needs

KERNEL_VERSION="2.6.18-128.1.16.el5"
INITRD_PATH="/boot/initrd-${KERNEL_VERSION}.img"

if [ -f "${INITRD_PATH}" ]; then
        echo ">>> Moving existing initrd"
        mv ${INITRD_PATH} ${INITRD_PATH}.old
fi

echo ">>> Creating new initrd"
mkinitrd ${INITRD_PATH} ${KERNEL_VERSION}

echo ">>> New initrd created!"

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to