[opensuse-autoinstall] Where can I see y2log ?
Hello, I'm trying to create new autoyast config files and when an installations fails the output is poor. Where can I get the y2log of autoyast to see in deep what's happening? Do I have to access the disk of the machine I tried to install or is it somewhere in "memory"? Thanks! Regards, Ivan -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Thursday 05 August 2010 Ivan De Masi wrote:
I'm trying to create new autoyast config files and when an installations fails the output is poor. Where can I get the y2log of autoyast to see in deep what's happening? Do I have to access the disk of the machine I tried to install or is it somewhere in "memory"?
here is some information about that: http://www.suse.de/~ug/AutoYaST_FAQ.html#b7 http://ugansert.blogspot.com/2009/01/why-to-confirm.html -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug listening to: "Wreath Of Barbs (Album Mix)" by :Wumpscut: -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Thu, Aug 5, 2010 at 12:38, Ivan De Masi <it-support@asta.tu-darmstadt.de> wrote:
I'm trying to create new autoyast config files and when an installations fails the output is poor. Where can I get the y2log of autoyast to see in deep what's happening? Do I have to access the disk of the machine I tried to install or is it somewhere in "memory"?
If your installation grinds to a halt, you can switch to another virtual console (for example, ctrl-alt-f2 or "sendkey ctrl-alt-f2" in case of qemu-based VMs) and look at the files below the chroot in /tmp (iirc). AFAIK, you need access to the disk. For both the during-install method as described above as well as for the after-the-fact analysis, the important files are in the following directories below the (ch)root dir. (this is from my own documentation, sorry for possibly bad translation.) * /var/adm/autoinstall/ o cache/installedSystem.xml: the complete AutoYAST profile which this system received. o files/: if the profile contains files, here are copies of them. o scripts/: copies of scripts (eg. "myscript") and, if enabled, debug output with the suffix "-run" (eg. "myscript-run"). o logs/: everything that your scripts produced as output. * /var/log/YaST2/ (general install logs): o _dev_*: copies of the boot sectors o badlist: list of problems with packages o disk_*: information about your hard disk(s) o y2log-1: log of stage 1, usually about 50.000 lines o y2log: log of stage 2, usualy more than 10.000 lines o and more… If you suspect anything in particular, it is really helpful to search for related stuff in the logs. Like, for example, errors with gpg signature problems of your own repositories could be found when searching for "GpgSomething" (yes, the spelling differs from the names within your autoyast profile). To find out *what* to search for is the real hard part. Greetings, 686f6c6d -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Am 05.08.2010 13:15, schrieb 686f6c6d:
On Thu, Aug 5, 2010 at 12:38, Ivan De Masi <it-support@asta.tu-darmstadt.de> wrote:
I'm trying to create new autoyast config files and when an installations fails the output is poor. Where can I get the y2log of autoyast to see in deep what's happening? Do I have to access the disk of the machine I tried to install or is it somewhere in "memory"?
If your installation grinds to a halt, you can switch to another virtual console (for example, ctrl-alt-f2 or "sendkey ctrl-alt-f2" in case of qemu-based VMs) and look at the files below the chroot in /tmp (iirc).
AFAIK, you need access to the disk. For both the during-install method as described above as well as for the after-the-fact analysis, the important files are in the following directories below the (ch)root dir. (this is from my own documentation, sorry for possibly bad translation.)
* /var/adm/autoinstall/ o cache/installedSystem.xml: the complete AutoYAST profile which this system received. o files/: if the profile contains files, here are copies of them. o scripts/: copies of scripts (eg. "myscript") and, if enabled, debug output with the suffix "-run" (eg. "myscript-run"). o logs/: everything that your scripts produced as output. * /var/log/YaST2/ (general install logs): o _dev_*: copies of the boot sectors o badlist: list of problems with packages o disk_*: information about your hard disk(s) o y2log-1: log of stage 1, usually about 50.000 lines o y2log: log of stage 2, usualy more than 10.000 lines o and more…
Thank you all for your quick support! /var/log/YaST2/ - that's what I was looking for. I'm still struggling how to get the input of "y2log" shown on the display, because the commands on the shell after the installation has aborted are rather poor (no vi, vim, mc ...). Regards, Ivan -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Hi,
/var/log/YaST2/ - that's what I was looking for. I'm still struggling how to get the input of "y2log" shown on the display, because the commands on the shell after the installation has aborted are rather poor (no vi, vim, mc ...).
what's wrong with more and grep? ;) You can pass "loghost=your.log.host" to linuxrc to activate remote logging. syslog on your.log.host has to accept log messages from the network of course ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
686f6c6d
-
Ivan De Masi
-
Uwe Gansert