[1322] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Help: Lost *BASH* & *util-linux* - & cant login at all!!

daemon@ATHENA.MIT.EDU (PSCI)
Sun Oct 27 18:30:44 1996

Date: Sun, 27 Oct 1996 15:28:28 -0800
From: PSCI <psci@teleport.com>
Reply-To: psci@teleport.com
To: Mike Sangrey <mike@sojurn.lns.pa.us>
CC: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com

Mike Sangrey wrote:
> > BORG wrote:
> > > PSCI wrote:
> > > > Due to inadvertently removing (uninstalling) bash & util-linux by
> > > > someone who shouldnt have had 'root', we can no longer login to the
> > > > shell (it returns imm. to login aft. p/w). We are using RH 3.0.3 updated
> > > > to kernel 2.0.0. Is there a way to "restore" bash and util-linux short
> > > > of reinstalling and losing all?? Anxiously awaiting help !
> > > Yup. Boot it from the 3.0.3 CD-ROM, but instead of proceeding
> > > with install, just when it starts asking your questions,
> > > flip to another VC, mouint your partition where your / is
> > > normally supposed to be, under /mnt/mydrive, edit
> > > /mnt/mydrive/etc/passwd to reflect another
> > > shell (you don't have bash only do you?), and reboot. If bash
> > > is the only shell installed on your system, then do:
> > >
> > > rpm -ihv --root /mnt/mydrive bash-1.14.whatever.rpm
> >
> > Thanks. I did the above for both bash and util-linux, but now I get the
> > following error whenever I try to mount cd after having made the
> > repairs:
> >
> >       Cant create lock file /etc/mtab~: Read-only file system
> >
> > Of course it is *not* a read only filesystem. I cannot mount anything as
> > it returns this message every time. I cannot write to or "rm" any file
> > at all. Only read. How can I escape from this one?
> 
> mount -n -o remount,rw /
> --
>   Mike Sangrey  <mike@sojurn.lns.pa.us> (Home)

Thanks. I have done that, and it works as advertised :-) 

However, I still have a problem :-(   Upon bootup: "INIT: cannot execute
/etc/rc.d/rc"

So, you see system initialization never occurs on bootup. Big problem. I
have looked at *everything* I can think of. Reinstalled (from RPMS) many
pkgs. No help :-(

Try to "halt"  and get: "cannot execute rc.sysinit".

I am lost. Completely!! Upon login screen, it shows "Linux 1.2.13", but
uname -a shows Linux 2.0.0 (what should be installed). Talk about
confused.


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post