From: Robin Stephenson <robin.stephenson@blackwell.co.uk>
To: axp-list@redhat.com
Subject: SOLVED: rescuing a system with a trashed /bin/bash
Date: 05 Nov 1998 09:05:17 +0000 [thread overview]
Message-ID: <m3k91a8q7m.fsf@fnord.blackwell.co.uk> (raw)
In-Reply-To: Bodo Bellut's message of "Thu, 05 Nov 1998 00:17:49 +0100"
>>>>> On Thu, 05 Nov 1998 00:17:49 +0100
>>>>> "Bodo" == Bodo Bellut <bodo@garfield.ping.de> 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
prev parent reply other threads:[~1998-11-05 9:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-04 15:20 rescuing a system with a trashed /bin/bash Robin Stephenson
1998-11-04 15:29 ` Rich Martin
1998-11-04 17:12 ` Robin Stephenson
1998-11-04 23:17 ` Bodo Bellut
1998-11-05 9:05 ` Robin Stephenson [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox