[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Help! Can't recover!



Michal Jaegermann wrote:

> Adam C. Powell, IV wrote:
> >
> [ a description of various trials and tribulations skipped ... ]
> >
> > So, I shut down and rebooted from the RedHat 5.1 emergency disk and
> > ramdisk, which brings me into the installer.  Unfortunately, unlike the
> > Intel version (or LinuxPPC for that matter) which I've used more
> > recently, there is no shell console, so I have no way to run e2fsck!
>
> Well, yes, actually there is shell although maybe not an "official"
> one. :-)
>
> Start installer from a ram disk, as usual.  Tell it that you have
> things to install on a hard drive and that you want to upgrade
> (do not worry if these answers are truthful or not :-).  After
> that hit 'Alt-F2' and you will be at shell prompt (ash) with some
> minimal set of tools.  e2fsck is among those.

Cool, it worked.  But now I can't seem to mount read-only.

I try "e2fsck /tmp/hda4" or "e2fsck hda4" or "e2sfck /dev/hda4" or "e2fsck
/mnt/usr" with hda4 mounted or unmounted, and it always gives me "No such
file or directory while trying to open ..." (or for /mnt/usr, "Is a
directory while trying to open /mnt/usr").

So I try "mount -o ro hda4 /mnt/usr" but the mount on the installer seems to
only recognize the -t option.

I tried /mnt/bin/mount, but it says "special device /dev/hda4 does not
exist" and I don't know how to make a new device.

So I am stuck.  How can I e2fsck the disk from the installer shell?

Thanks very much for your help so far!

-Adam `Cold Fusion' Powell, IV http://www.ctcms.nist.gov/~powell/ ____
USDoC, National Institute of Standards & Technology (NIST)  |\ ||<  |
Center for Theoretical and Computational Materials Science  | \||_> |





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []