Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* fsck errors on bootup... can't get into maintenance mode
@ 1998-09-22  3:33 Joe Reiter
  1998-09-22  4:41 ` Michal Jaegermann
  0 siblings, 1 reply; 4+ messages in thread
From: Joe Reiter @ 1998-09-22  3:33 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

I accidentally added a line with a typo to my fstab, now the fsck fails on
bootup.  However, when it asks me to enter my root password for maintenance
mode, it tries to go into maintenance mode but fails saying it can't load
something from the ncurses library.  It then proceeds to shut down.

Anyway, I need to know some way to get in there and edit that fstab to make
the thing boot.  Is there an emergency disk like the intel Redhat versions
have?  Or anything else that might do the job?
-joe


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: fsck errors on bootup... can't get into maintenance mode
  1998-09-22  3:33 Joe Reiter
@ 1998-09-22  4:41 ` Michal Jaegermann
  0 siblings, 0 replies; 4+ messages in thread
From: Michal Jaegermann @ 1998-09-22  4:41 UTC (permalink / raw)
  To: axp-list

Joe Reiter wrote:
> 
> I accidentally added a line with a typo to my fstab, now the fsck fails on
> bootup.  However, when it asks me to enter my root password for maintenance
> mode, it tries to go into maintenance mode but fails saying it can't load
> something from the ncurses library.

Boot into a single user mode by adding 'single' to your usual boot
coomand.  To get a really minimal system going you may also put
'init=/bin/bash' or 'init=/bin/ash' for a good measure.  Your /etc/fstab
is not read yet if you are booting single.

> 
> Is there an emergency disk like the intel Redhat versions
> have?

Your installation stuff will double as such emergency tool (but you
do not need one yet).  Start your usual installation process, tell
it that your things to install are on a hard drive and hit F2
to go to a second console.  You will find a shell (ash)  running from
a ram disk.  'mount' there is a different one than a regular one.
Just type 'mount' for instructions.   'sync' your disks before
rebooting or some your changes may still be in memory buffers.

  Michal


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: fsck errors on bootup... can't get into maintenance mode
       [not found] <5FC18F65F74CD2119ACA00805FEADCF4033E13@atlantis.truelink.c om>
@ 1998-09-22  5:01 ` Maurice Hilarius
  0 siblings, 0 replies; 4+ messages in thread
From: Maurice Hilarius @ 1998-09-22  5:01 UTC (permalink / raw)
  To: axp-list

With regards to your message at 08:33 PM 09-21-98 -0700, Joe Reiter. Where
you stated:
>I accidentally added a line with a typo to my fstab, now the fsck fails on
>bootup.  However, when it asks me to enter my root password for maintenance
>mode, it tries to go into maintenance mode but fails saying it can't load
>something from the ncurses library.  It then proceeds to shut down.
>
>Anyway, I need to know some way to get in there and edit that fstab to make
>the thing boot.  Is there an emergency disk like the intel Redhat versions
>have?  Or anything else that might do the job?
>-joe
To boot up in single user mode:
boot sda2:vmlinux.gz root=/dev/sda2 single

The locations and so on are possibly different than your machine setup. I
was only illustrating the use of the "single" command which will avoid
reading your fstab.
You will still have to manually force read-write to the partition with /etc
on it, and edit the fstab, but it will get you by this trap, anyway..


Cheers,

+--------------------------------------------------------+
| Maurice Hilarius           | The Past is History       |
| Edmonton, Alberta, Canada  |  The Future is Mystery    |
|                            |   Today is a Gift         |
| Phone (403) 456-1510       | That is why they call it  |
| email:maurice@harddata.com |   The Present             |
+--------------------------------------------------------+
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: fsck errors on bootup... can't get into maintenance mode
@ 1998-09-22  5:19 Joe Reiter
  0 siblings, 0 replies; 4+ messages in thread
From: Joe Reiter @ 1998-09-22  5:19 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

thanks for all your help, everyone!  looks like i can get things going now!
and i have to say "wow," because those were some fast responses!  :)
-joe


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-09-22  5:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <5FC18F65F74CD2119ACA00805FEADCF4033E13@atlantis.truelink.c om>
1998-09-22  5:01 ` fsck errors on bootup... can't get into maintenance mode Maurice Hilarius
1998-09-22  5:19 Joe Reiter
  -- strict thread matches above, loose matches on Subject: below --
1998-09-22  3:33 Joe Reiter
1998-09-22  4:41 ` Michal Jaegermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox