Recovering YaST logs after a failed installation attempt
This document (3673842) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Desktop 11
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 11
SUSE support has asked for YaST2 logs after a failed installation attempt.
Save the logs
- Start the installation and proceed to the failure
- Once the failure happens, hit SHIFT-F8 & save the logs when prompted. If not prompted, hit CTRL-ALT-F2 to reach a terminal
- Save the logs using the "save_y2logs" command.
Pick one of the log recovery methods
If requested, obtain additional logs as instructed
This method will only work when the default Linux kernel recognizes the Ethernet device.
- Test to see if you can do a network transfer
If network transfer can be done output may be similar to:
eth0 Link encap:Ethernet HWaddr 00:1A:4B:B7:31:13 inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.252.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:10391609 errors:0 dropped:0 overruns:0 frame:0 TX packets:1509514 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:7441707132 (7096.9 Mb) TX bytes:151197714 (144.1 Mb)An IP address may or may not be assigned, If you see output for eth0, then you may do a network based transfer of the log files.
- Select a method for assigning an IP address if one is not present
When a DHCP Server existsdhcpcd eth0
Static Assignment for transfer within same subnetifconfig eth0 NETADDRESS broadcast BROADCAST_ADDRESS
Static Assignment for transfer outside the the subnetifconfig eth0 NETADDRESS broadcast BROADCAST_ADDRESSroute add default gw ROUTER_IP_ADDRESS netmask BROADCAST_ADDRESS
- Ping the target to make sure that it is setup correctly
- Transfer methods
SSH (Recommended between Linux hosts)scp /tmp/y2logs.tgz USER@host:/LOCATION/name
Transfer to Samba Share or Windows Servermount -t cifs //IPADDRESS/share /mnt -o username=USERcp /tmp/y2logs.tgz /mntumount /mnt
NFS to Linux or UNIX servermount -t nfs IPADDRESS:/share /mntcp /tmp/y2logs.tgz /mntumount /mnt
- Retrieve the logs from the remote server
USB drive log recovery
This method requires the following
- The computer must have USB drive capabilities
- The USB drive must be formatted with a FAT, VFAT, EXT2, EXT3, ReiserFS, XFS, FAT, or VFAT file systems. Other filesystems, in particular NTFS, are not suitable.
- Load the USB kernel modules
- Plug the USB drive in the computer
- Determine what device it is
dmesgExample:USB Mass Storage support registered.scsi 6:0:0:0: Direct-Access CRUCIAL USB Flash Disk 2.00 PQ: 0 ANSI: 2readysd 6:0:0:0: [sdd] 1017856 512-byte hardware sectors (521 MB)sd 6:0:0:0: [sdd] Write Protect is offsd 6:0:0:0: [sdd] Mode Sense: 03 00 00 00sd 6:0:0:0: [sdd] Assuming drive cache: write throughsd 6:0:0:0: [sdd] 1017856 512-byte hardware sectors (521 MB)sd 6:0:0:0: [sdd] Write Protect is offsd 6:0:0:0: [sdd] Mode Sense: 03 00 00 00sd 6:0:0:0: [sdd] Assuming drive cache: write throughsdd: sdd1 <-- THIS IS THE DEVICE NAMEsd 6:0:0:0: [sdd] Attached SCSI removable disksd 6:0:0:0: Attached scsi generic sg4 type 0usb-storage: device scan completeLook for the kernel device name, in this case, /dev/sdd, with a partition on /dev/sdd1
- Mount the volume
mount /dev/sdd1 /mnt
- Copy the file over
cp /tmp/y2logs.tgz /mnt
- Dismount the volume
Remove the USB drive and examine the logs another another computer
Additional files or output that may be needed
- Hardware information (the file after -log is the name of the file)
hwinfo -log /tmp/hwinfo.log
- Kernel messages output (the file after > is name of the file)
dmesg > /tmp/dmesg.log
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3673842
- Creation Date: 27-Feb-2008
- Modified Date:05-Mar-2021
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Server
- SUSE Linux Enterprise Real Time Extension
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com