Uwe Gansert wrote
On Tuesday 12 September 2006 10:34, Frank Steiner wrote:
How is that supposed to work? When using a script with chrooted=false, the wrong lilo.conf does not yet exist. But with chrooted=true the script would run after installing lilo, so it won't run at all because the installation stops with the error message about lilo. So unattended install does not work :-(
I don't have the overview of the bug at the moment. Can't you let yast install the default bootloader (no <bootloader> section at all or at least one that does not trigger the popup) and overwrite it in a chroot script?
I guess I could because I think the problem just pops up if you set any global parameter in the profile. Otherwise, BootLILO.ycp will call "CreateGlobals" and that works fine. Anyway, due to the disk lines I need in lilo.conf for booting from SCSI, I have to run a chroot script anyways. But... this fails :-((( I'm using two chroot scripts: <scripts> <chroot-scripts config:type="list" > <script> <interpreter>shell</interpreter> <location>nfs://141.84.1.3/rpm-export/autoyast/10.1/scripts/prepare_post.script</location> <chrooted config:type="boolean">false</chrooted> </script> <script> <interpreter>shell</interpreter> <location>nfs://141.84.1.3/rpm-export/autoyast/10.1/scripts/wait.script</location> <chrooted config:type="boolean">true</chrooted> </script> </chroot-scripts> </scripts> The first one runs and I see that it is copied to /mnt/var/adm/autoinstall/scripts/ or sth. Then, after installing lilo (now working with the patch), AY tries to copy the second script. y2log says " cp some_nfs_location/wait.scrip /var/adm/autoinstall/scripts/chroot-scripts and then "copy failed, file system is read only" or sth. similar. Actually, there is ineed a mount /dev/loop0 on /mounts/inst-sys type cramfs (ro) and /var/adm/autoinstall is a link to /mounts/inst-sys. Looks like the script is not copied from within the chrooted environment and therefore it fails. So I'm still stuck with that server because I can't insert the disk lines into lilo.conf :-((( 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. *