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

Re: Help! Can't recover!


Adam C. Powell, IV wrote:
> 
> Michal Jaegermann wrote:
> 
> > 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.

You do not need to mount anything to run e2fsck.  Actually it
is better to run with an umounted device.

> 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 ..."

Well, you need to have /tmp/hda4 or /dev/hda4 or whatever.

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

Correct. So do not use anything else. :-)  This is not the same 'mount'
as on your hard drive.

Try "mount -t ext2 hd4 /mnt ; umount /mnt".  This action will **create**
/tmp/hda4 node and that is all what you need.

Using this "installer environment" is an exercise in a "parallel
thinking". :-)

  Michal

-- 
To unsubscribe: send e-mail to axp-list-request@xxxxxxxxxx with
'unsubscribe' as the subject.  Do not send it to axp-list@xxxxxxxxxx



This mailing list archive is a service of Copilotco.