I ended up getting my system back by using bootx + redhat installer. I got a replacement bash and libreadline from base2_2.tgz. For some reason cp wouldn't work when booted from the installer image, so I had to "cat file1 > file2" plus "chmod 775 file2" to do copies.
"Mr. Christopher F. Miller" wrote: > > On Sat, Apr 17, 2004 at 12:44:14PM -0800, Rob Clark wrote: > > I found the easiest way was to untar a new base2.tgz > onto a zip, boot on that zip and then mount my hosed system at /mnt. > > Took a little futzing with fstab. But I could fdisk, mke2fs, untar > and edit on another machine. > > > Is there a recommended way to recover? I have been poking around on my > > root filesystem by passing init=... args to the kernel (ie init=/bin/ls > > -F /bin /sbin) and have come the the conclusion that bash is the only > > shell on the root fs. (There is /bin/csh which is a symlink to a > > symlink to /usr/bin/tcsh, but /usr is a seperate fs.) I don't think > > there is any way to recover without having a shell... because the root > > fs is still mounted read-only, it would take at least two commands to > > replace bash, but you only get one by using init=... . > > > > I am running out of ideas to try... any suggestions? > > > > > > -- Rob > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- > > Christopher F. Miller, Publisher [EMAIL PROTECTED] > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 > 1.207.657.5078 http://www.maine.com/ > Database publishing, electronic commerce, office and internet integration.