From thomas@glanzmann.de Mon Dec 11 19:04:23 2006 From: Thomas Glanzmann To: autoinstall@lists.opensuse.org Subject: [opensuse-autoinstall] Running chroot-script from cd/dvd medium Date: Mon, 11 Dec 2006 20:06:01 +0100 Message-ID: <20061211190601.GC9664@cip.informatik.uni-erlangen.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2410388447561204073==" --===============2410388447561204073== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I try to run a chroot-script from the install cd/dvd medium using autoyast. Running it via http is easy. The only reference[1] I found using google is for post-install script. The only error message I see is: (none):/var/adm/autoinstall # find . -type f ./cache/installedSystem.xml ./logs/chroot-scripts.log (none):/var/adm/autoinstall # cat logs/chroot-scripts.log /bin/sh: /var/adm/autoinstall/scripts/chroot-scripts: No such file or directo= ry I also found in the y2log: 2006-12-11 07:50:26 <3> linux(5877) [bash] ShellCommand.cc(shellcommand):78 c= p: cannot stat `/autoyast/chroot.sh': No such file or directory 2006-12-11 07:50:26 <3> linux(5877) [bash] ShellCommand.cc(shellcommand):78 c= p: cannot stat `/tmp/YaST2-02679-C4nfqw/tmp_mount//autoyast/chroot.sh': No su= ch file or directory My entry in the autoyast.xml is: [1] http://lists.suse.com/archive/suse-autoinstall/2005-Nov/0064.html Thomas --=20 To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe(a)opensuse.org For additional commands, e-mail: opensuse-autoinstall+help(a)opensuse.org --===============2410388447561204073==-- From ug@suse.de Tue Dec 12 10:57:48 2006 From: Uwe Gansert To: autoinstall@lists.opensuse.org Subject: Re: [opensuse-autoinstall] Running chroot-script from cd/dvd medium Date: Tue, 12 Dec 2006 11:59:33 +0100 Message-ID: <200612121159.33590.ug@suse.de> In-Reply-To: <20061211190601.GC9664@cip.informatik.uni-erlangen.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3254600766040583577==" --===============3254600766040583577== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Monday 11 December 2006 20:06, Thomas Glanzmann wrote: > > > > > you try to access the DVD media from within the chrooted installed system. That might lead to your problem. Either use chrooted=false and access the installed system via /mnt/... or use a chrooted=false script that copys the "real" script from the DVD to the /mnt directory. Then you should be able to use file:/// again because the script is really there and no DVD-fallback is needed. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug now playing Diary Of Dreams - E.-dead-Motion -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe(a)opensuse.org For additional commands, e-mail: opensuse-autoinstall+help(a)opensuse.org --===============3254600766040583577==-- From thomas@glanzmann.de Tue Dec 12 11:04:41 2006 From: Thomas Glanzmann To: autoinstall@lists.opensuse.org Subject: Re: [opensuse-autoinstall] Running chroot-script from cd/dvd medium Date: Tue, 12 Dec 2006 12:06:24 +0100 Message-ID: <20061212110624.GE19794@cip.informatik.uni-erlangen.de> In-Reply-To: <200612121159.33590.ug@suse.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4023199346960781174==" --===============4023199346960781174== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hallo Uwe, > you try to access the DVD media from within the chrooted installed system. = > That might lead to your problem. > Either use chrooted=3Dfalse and access the installed system via /mnt/... or= =20 > use a chrooted=3Dfalse script that copys the "real" script from the DVD to = > the /mnt directory. Then you should be able to use file:/// again because=20 > the script is really there and no DVD-fallback is needed. I 'solved' it otherwise: However, I consider this a bug of the autoyast system. Autoyast should copy the chroot-script to the installed system. Than chroot to it and execute it. Thomas --=20 To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe(a)opensuse.org For additional commands, e-mail: opensuse-autoinstall+help(a)opensuse.org --===============4023199346960781174==--