[1301] in RedHat Linux List
Re: Help: Lost *BASH* & *util-linux* - & cant login at all!!
daemon@ATHENA.MIT.EDU (PSCI)
Sun Oct 27 15:37:49 1996
Date: Sun, 27 Oct 1996 12:36:40 -0800
From: PSCI <psci@teleport.com>
Reply-To: psci@teleport.com
To: BORG <vladimip@iceonline.com>
CC: redhat-list@redhat.com
Resent-From: 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