Uwe Gansert wrote
On Friday 01 September 2006 14:38, Frank Steiner wrote:
Of course, I would prefer a method without changing the initrd if possible...
have you tried to use "/dev/disk/by-id/..." instead of "/dev/sdX"? The id should be always the same.
Not neccessarily, because the scsi disks are all hotswapable. So it can happen that we replace a disk due to to a failure (RAID1, so if one disk is exchanged, I'm not sure if the id changes?). Or in of the server we exchanged 147 by 300 GB between last autoyast install and now. Also, I don't know all the ids because the servers are still running kernel 2.6.8 where /dev/disk does not exist... I tried this: I moved init to init.suse and setup my own init script in the initrd, but it doesn't work yet. My init script looks like #!/bin/sh /sbin/modprobe gdth exec init.suse $@ Seems to work first, although after loading the module when calling init.suse I see: Moving into tmpfs... done Oops, pivot_root failed
SuSE Linux...
Then everything seems to work fine, but after "Loading the installation system" the installer comes up in textmode and does nothing automatically. Console 3 may give some hints, because there I see an error message: ... going for automatic install Loading image "/var/adm/mount/boot/i386/root"... error loading ramdisk ramdisk /dev/ram2 freed Usually some stuff is loaded here when autoyast runs fine. So I guess my "replace init"-approach is to simple. Is it possible to replace the SuSE init script in some way? cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *