[1310] in RedHat Linux List
Re: Help: Lost *BASH* & *util-linux* - & cant login at all!!
daemon@ATHENA.MIT.EDU (Mike Sangrey)
Sun Oct 27 17:32:07 1996
To: psci@teleport.com
cc: BORG <vladimip@iceonline.com>, redhat-list@redhat.com
In-reply-to: Your message of "Sun, 27 Oct 1996 12:36:40 PST."
<3273C7D8.71DB@teleport.com>
Date: Sun, 27 Oct 1996 17:25:50 -0500
From: Mike Sangrey <mike@sojurn.lns.pa.us>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
> 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?
>
>
> --
> 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
>
>
mount -n -o remount,rw /
--
Mike Sangrey <mike@sojurn.lns.pa.us> (Home)
<Mike.Sangrey@specmarkmet.com>(Work)
"I've trademarked `William Della Croce, Jr.(tm)'.
Anyone using this name owes me $1,000,000."
--
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