From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 8871 invoked from network); 5 Nov 1998 09:19:19 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 5 Nov 1998 09:19:19 -0000 Received: from fnord.blackwell.co.uk (bisgw.blackwell.co.uk [195.70.69.190]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id EAA07604 for ; Thu, 5 Nov 1998 04:05:53 -0500 Received: from trss by fnord.blackwell.co.uk with local (Exim 1.92 #1) for axp-list@redhat.com id 0zbLM0-0000eq-00; Thu, 5 Nov 1998 09:05:20 +0000 To: axp-list@redhat.com Subject: SOLVED: rescuing a system with a trashed /bin/bash References: <199811042317.AAA00329@nermal.local> From: Robin Stephenson X-Attribution: Robin X-PGP-keyID: 0xA38351BD X-Copyright: Copyright =?ISO-8859-1?Q?=A9?= 1998 Robin Stephenson -- all rights reserved. Permission to reproduce attributed copies and extracts granted. X-rfc1876-address: 51 45.2 N 1 16.2 W 58m 0.5m 500m 2m Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 05 Nov 1998 09:05:17 +0000 In-Reply-To: Bodo Bellut's message of "Thu, 05 Nov 1998 00:17:49 +0100" Message-ID: X-Mailer: Gnus v5.6.43/XEmacs 20.4 - "Emerald" Sender: "Robin Stephenson,,01865 792792 x3233,01865 782493" >>>>> On Thu, 05 Nov 1998 00:17:49 +0100 >>>>> "Bodo" == Bodo Bellut wrote: >> Robin Stephenson wrote: >> >> [...] Half-way through upgrading bash with `rpm -Uvh bash*' (can >> >> you see this coming yet..?) I got a segv and *poof* my system >> >> stopped working. [...] [...] Bodo> You might try adding something like "init=/bin/csh" to your boot Bodo> options [...] Thanks for all offers of help & suggestions: I fixed this rather embarassing problem as follows: * booted with `init=/bin/ash.static' added to the usual boot options * ran fsck on all of the disks (probably not necessary, but it made me feel a bit better) * remounted the root disk read-write with `mount -t ext2 /dev/sda / -o remount,rw' -- this was a sticking point for a while until it occurred to me to see how /etc/rc.d/rc.sysinit did it... * with my heart in my throat ran `rpm -Uvh bash-whatever-version-it-was' -- which worked smoothly this time -- Robin Stephenson Regional Office Use Only