[SuSE Linux] Boot failure and YaST
Hello, I hope someone will be able to help me with a system that will not boot. I've searched the SuSE Knowledge Base but haven't found any pointers. I have LiLO installed on the MBR of hda. My SuSE 5.1, kernel 2.0.36 system is installed on hda6. After uncompressing the kernel, identifying the hardware, and reading /etc/fstab the boot process starts passing multiple error messages. Most scroll by too quickly to read but they begin with: "starting sbin/init.d/boot:starting /sbin/swapon: no such file or directory" After mounting hda6 read-only the boot hangs permanently at: "INIT: Id "1" respawning too fast: disabled for five minutes" : : "INIT: Id "6" respawning too fast: disabled for five minutes" Powering down is the only way out of the situation. Fortunately, I didn't wipe my installation (now on hdb) when I upgraded my main hard drive some months ago so after booting from a rescue disk I was able to edit /etc/conf.lilo and I'm now booting to my 2.0.33 system on hdb3. My setup: SuSE 5.1 kernel 2.0.36 on hda6(W95 on hda1) SuSE 5.1 kernel 2.0.33 on hdb3(W95 on hdb1) YaST .97.1 gcc 2.7.2.1 Everything was working fine until... In preparation for upgrading to kernel 2.2.1,I decided to install the required versions of the various utilities/programs needed by 2.2.1. Not finding the most recent versions in the various SuSE 5.3 directories, (that should have caused me to stop right there!), I downloaded and installed rpms for kernmod, ppp, binutils,libc5.4.46-2.i386, net-tools, sh-utils, sh-libs from the 6.0 and 6.0 evaluation directories. YaST issued warnings about conflicts for the binutils and the sh-utils package but I continued to install. (I know, I know .... I've been kicking myself since then.) The warnings were: "/usr/include/ansidecl.h conflicts with file from libc-5.4.33-6" and a few other warnings related to man pages and etc/ppp/options and etc/ppp/pap-secrets. I'm assuming these latter warnings aren't directly related to my booting problem. In some (but not all) cases YaST prompted me to save backups to /var/adm/backup/installation-990217.0 I've attached this file in the hope that someone can point me to the steps to take to rescue my system. Initially I thought that the problem was directly caused by using SuSE 6.0 rpms in a SuSE 5.1 system - the utilities/libaries might be installed in different directories in 6.0.
Looks very similar to the error I was getting (spawning too fast ...) Let me know if you get it corrected. I am very close to wiping my install and starting from scratch. So much for upgradeability (which was, after all, the only reason that I use SuSE!) Jesse McDonnell wrote:
Hello,
I hope someone will be able to help me with a system that will not boot. I've searched the SuSE Knowledge Base but haven't found any pointers. I have LiLO installed on the MBR of hda. My SuSE 5.1, kernel 2.0.36 system is installed on hda6. After uncompressing the kernel, identifying the hardware, and reading /etc/fstab the boot process starts passing multiple error messages. Most scroll by too quickly to read but they begin with:
"starting sbin/init.d/boot:starting /sbin/swapon: no such file or directory"
After mounting hda6 read-only the boot hangs permanently at:
"INIT: Id "1" respawning too fast: disabled for five minutes" : : "INIT: Id "6" respawning too fast: disabled for five minutes" Powering down is the only way out of the situation.
Fortunately, I didn't wipe my installation (now on hdb) when I upgraded my main hard drive some months ago so after booting from a rescue disk I was able to edit /etc/conf.lilo and I'm now booting to my 2.0.33 system on hdb3.
My setup:
SuSE 5.1 kernel 2.0.36 on hda6(W95 on hda1) SuSE 5.1 kernel 2.0.33 on hdb3(W95 on hdb1) YaST .97.1 gcc 2.7.2.1
Everything was working fine until... In preparation for upgrading to kernel 2.2.1,I decided to install the required versions of the various utilities/programs needed by 2.2.1.
Not finding the most recent versions in the various SuSE 5.3 directories, (that should have caused me to stop right there!), I downloaded and installed rpms for kernmod, ppp, binutils,libc5.4.46-2.i386, net-tools, sh-utils, sh-libs from the 6.0 and 6.0 evaluation directories.
YaST issued warnings about conflicts for the binutils and the sh-utils package but I continued to install. (I know, I know .... I've been kicking myself since then.)
The warnings were:
"/usr/include/ansidecl.h conflicts with file from libc-5.4.33-6" and a few other warnings related to man pages and etc/ppp/options and etc/ppp/pap-secrets. I'm assuming these latter warnings aren't directly related to my booting problem.
In some (but not all) cases YaST prompted me to save backups to /var/adm/backup/installation-990217.0 I've attached this file in the hope that someone can point me to the steps to take to rescue my system.
From searching in dejanews and being able to read more of the error messages I get when
Initially I thought that the problem was directly caused by using SuSE 6.0 rpms in a SuSE 5.1 system - the utilities/libaries might be installed in different directories in 6.0. trying to boot it seems that the problem may be a result of my bash shell becoming *corrupted* in some way (maybe by using SuSE 6.0 rpms in a SuSE 5.1 system). Immediately after installing the packages and before I rebooted I got a number of "no such file or directory" error messages when I tried ld -V from the command line
How can I fix the *corrupted* bash shell on my main system on hda6, if that is, indeed, the problem? I've compared permissions and file sizes for bin/sh, bash, /etc/inittab between the working system on hdb3 and the *corrupted* hda6 and cannot see anything amiss. Of course, that doesn't mean it is not staring me in the face!
Can I use YaST from hdb3 to uninstall packages on hdb6 or to otherwise fix the system? I mounted /dev/hda6 read-write but couldn't run YaST from it. If not, is there any way to get back my thrashed configuration without reinstalling everything? Since adding a new hard drive six months ago, I have added a lot of programs - leafnode & knews (a great combination), the alsa-driver and utilities, XFmail, xforms, x-cd-roast, netscape 3.04 and rvplayer 5.0 being the main ones. If at all possible, I'd like to save my system.
I'm including the /var/adm/backup/installation-990217.0 file. Please excuse the lenght of this post. Thanks for reading this far and any suggestions/help you can offer.
Jesse McDonnell jmcdonne@apollotrust.com
***start of /var/adm/backup/installation-990217.0***
pkgtools ##################################################
Totally installed: 1
INSTALLATION COMPLETE.
Backup: /var/adm/backup
/usr/include/ansidecl.h conflicts with file from libc-5.4.33-6 error: /root/SuSE221update/binutils.rpm cannot be installed Force replacement of files ... binutils ################################################## ... With warning
Totally installed: 1 With warning: 1
INSTALLATION COMPLETE.
Backup: /var/adm/backup
Backup: /var/adm/backup/libc-990217-0.tgz usr/include/ansidecl.h libc ##################################################
Totally installed: 1
INSTALLATION COMPLETE.
Backup: /var/adm/backup
net_tool ##################################################
Totally installed: 1
INSTALLATION COMPLETE.
Backup: /var/adm/backup
sh_utils ################################################## package /usr/man/man1/users.1.gz not found in file index
Totally installed: 1
INSTALLATION COMPLETE.
Backup: /var/adm/backup
shlibs ##################################################
Totally installed: 1
INSTALLATION COMPLETE.
Backup: /var/adm/backup
/usr/man/man5/fstab.5.gz conflicts with file from ldpman-1.18-0 /usr/man/man5/nfs.5.gz conflicts with file from ldpman-1.18-0 error: /root/SuSE221update/util.rpm cannot be installed Force replacement of files ... util ################################################## ... With warning
Totally installed: 1 With warning: 1
INSTALLATION COMPLETE.
Backup: /var/adm/backup
Backup: /var/adm/backup/kernmod-990218-0.tgz lib/modules/2.0.33/modules.dep kernmod ##################################################
Totally installed: 1
INSTALLATION COMPLETE.
Backup: /var/adm/backup
Backup: /var/adm/backup/ppp-990218-0.tgz etc/ppp/options etc/ppp/pap-secrets ppp ################################################## warning: /etc/ppp/options saved as /etc/ppp/options.rpmsave warning: /etc/ppp/pap-secrets saved as /etc/ppp/pap-secrets.rpmsave
Totally installed: 1
INSTALLATION COMPLETE.
***end of /var/adm/backup/installation-990217.0***
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (2)
-
jmcdonne@apollotrust.com
-
jsnorman@megsinet.net