Patrick Dowler wrote:
> I put a bunch of comments about using SI 3.7.4r3734_bli-1 to image some FC5 
> systems, but putting them all in one message was probably a mistake, so here 
> follows some issues with separate subject lines. Sorry for the dupes.
> 
> golden client: FC5 desktop, serial ATA
> imaged systems: mix of PATA, SATA, and SCSI
> 
> == problem:
> 
> The disk enumeration fails to detect a P-ATA disk (hda) and falls back to 
> using sda (since golden client has a sata disk). I can't really decipher that 
> chunk of code (looking in /proc/diskstats, which does contain a bunch of 
> lines for hda), so I put in a work-around which is sufficient for our simple 
> systems:
> 
> DISK0=`test -e /proc/ide/hda/geometry && echo "/dev/hda" || echo "/dev/sda"`
> 
> (ie if hda is a hard disk, that is the target, otherwise sda is the target; 
> we 
> have a mix of pata, sata, and regular scsi)... This is clearly not a general 
> solution, but it is our current workaround. 
> 
> As a side effect, the "disk edit" section farther down is skipped because 
> DISKORDER is zero-length. 
> 
> For the grub.conf, we always edit it in a postUpdate script anyway since we 
> are  upating servers and desktops (servers have extra serial console config 
> in the grub.conf). For the fstab (swap devices since FC5 uses disk labels) I 
> fix that in a post-install script.
> 

Patrick,

have you tried to re-create the autoinstallscript using the option
--autodetect-disks with si_mkautoinstallscript? (this option is
available also with si_getimage).

Cheers,
-Andrea

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to