keyesky wrote:
> the golden client has  SLES 10 installed, sd based driver.
> 
> more etc/fstab
> /dev/sdb2            /                    reiserfs  
> acl,user_xattr        1 1
> /dev/sdb1            swap                 swap      
> defaults              0 0
> /dev/VolGroup00/LogVol01 swap                 swap      
> defaults              0 0
> proc                 /proc                proc      
> defaults              0 0
> sysfs                /sys                 sysfs     
> noauto                0 0
> debugfs              /sys/kernel/debug    debugfs   
> noauto                0 0
> usbfs                /proc/bus/usb        usbfs     
> noauto                0 0
> devpts               /dev/pts             devpts    
> mode=0620,gid=5       0 0
> 
> 
> and i image it to another server, restore successfully ,but when start
> the restored one , i got following error:
> 
> 
> loading reiserfs
> waiting for device /dev/sda2 to appear: input: PS/2 Generic mouse as
> /class/input/input2
> ........................ not found -- exiting to /bin/sh
> $
> 
> i am new to systemimager. Just got this work from somebody who left.
> can anyone give me some idea? thanks a lot !!

This seems to be a systemconfigurator issue... and I'm quite sure about
it.. which version of SC are you using? Anyway, quickly looking at the
code the problem seems to be present also in the latest release.

The point is that the /dev/sda was not found by the modules that you
have in your initrd (the initrd of your SLES10 image).

Look at the modules defined in /etc/sysconfig/kernel (the INITRD_MODULES
parameter) in your image, and probably they don't match with the modules
required by your clients.

Has the client you're trying to install a different hardware respect to
your original golden client?

As a workaround you could define a post-install script (see
/var/lib/systemimager/scripts/post-install/README) to re-create the
initrd at the end of the imaging, including all the needed modules that
can be found in /etc/systemconfig/hardware.lst.

A simple post-install script should be following (untested).

-Andrea

---
[/var/lib/systemimager/scripts/post-install/50suse10.update_initrd]

#!/bin/sh

# Get modules from /etc/systemconfig/hardware.lst
hw_modules=`sed 's/  */ /g' /etc/systemconfig/hardware.lst | cut -d' ' -f4`

# Add all the SC modules to INITRD_MODULES in /etc/sysconfig/kernel
perl -pi -e "s/\\s*INITRD_MODULES\\s*=\"(.*)\"/INITRD_MODULES=\"\$1 
$hw_modules\"/" /etc/sysconfig/kernel

# Re-create the initrd
/sbin/mkinitrd

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to