[comp.os.os2] OS/2 from floppy DOES NOT see HPFS drive C.

wongkc@sor.CS.ColoState.Edu (K. C. Wong) (03/16/90)

Well, I just tried booting OS/2 from a floppy.  I have
an HPFS C: drive  and a FAT D: drive.

Despite the fact that the HPFS driver is loaded (at least
the message comes up), escaping to a command prompt at
the initial screen and typing

    [A:\] DIR C:

gives the message:

    Incorrect internal file identifier.

Typing, on the other hand,

    [A:\] DIR D:

gives a correct listing of the files on that drive.

So the 5 dollar question is, why doesn't OS/2 recognize its own
HPFS partition?  The only answers I've seen on the net say,
"It SHOULD recognize the HPFS partition".  However, I can vouch
from experience that it doesn't.

wongkc@sor.CS.ColoState.Edu (K. C. Wong) (03/17/90)

In article <5349@ccncsu.ColoState.EDU> I write:
> Well, I just tried booting OS/2 from a floppy.  I have
> an HPFS C: drive  and a FAT D: drive.
>
> Despite the fact that the HPFS driver is loaded (at least
> the message comes up), escaping to a command prompt at
> the initial screen and typing "[A:\] DIR C:" gives the message:
>
>    Incorrect internal file identifier.
>

Well, I discovered later that a good, cold boot awakens HPFS from
its apparent grogginess and DIR C: works just fine.  (I should've
thought of that sooner, but it was late and I was a little groggy
myself, which was how I got myself into the necessity to reboot
from a floppy). No number of warm boots seemed to have worked though.

I'd still be interested if someone can tell me just what got
corrupted that Ctrl+Alt+Del wouldn't cure and that would cause
the error message above.

alistair@microsoft.UUCP (Alistair BANKS) (03/19/90)

Warm boot should have done as it did (Ctl-Alt-Del)! Its the close-down
method you must be careful of.

HPFS has a 'clean' marker - HPFS starts 'clean', and is then 'dirty' until
closed down with the system shutdown command - so Ctl-Alt-Del leaves
it dirty as does hitting the big red switch.

On restarting a 'dirty' HPFS you can run chkdsk against it, which will then
set the clean bit, and the HPFS will be readable again.

Alistair Banks
OS/2 Group
Microsoft.

ballard@cheddar.cc.ubc.ca (Alan Ballard) (03/20/90)

In article <53618@microsoft.UUCP> alistair@microsoft.UUCP (Alistair BANKS) writes:
>... - so Ctl-Alt-Del leaves
>it dirty as does hitting the big red switch.
>
  
It's my understanding that OS/2 intercepts Ctl-Alt-Del so that the file 
system is clean if you reboot that way.  Is that not so?  I'm pretty sure 
I've rebooted that way without ending up with a dirty file system.


Alan Ballard                   | Internet: Alan_Ballard@mtsg.ubc.ca
University Computing Services  |   Bitnet: USERAB1@UBCMTSG
University of British Columbia |    Phone: 604-228-3074
Vancouver B.C. Canada V6R 1W5  |      Fax: 604-228-5116

markha@microsoft.UUCP (Mark HAHN) (03/20/90)

I just want to make sure this is clear: control-alt-del on a running
system will shut down HPFS cleanly, though application state is lost.

-- 
Mark Hahn	microsof!markha@uunet.uu.net	uunet!microsof!markha
I don't speak for Microsoft.

sean@mercury.sybase.com (Sean Fitts) (03/22/90)

In article <7231@ubc-cs.UUCP> ballard@cheddar.cc.ubc.ca (Alan Ballard) writes:
>  
>It's my understanding that OS/2 intercepts Ctl-Alt-Del so that the file 
>system is clean if you reboot that way.  Is that not so?  I'm pretty sure 
>I've rebooted that way without ending up with a dirty file system.
>
>
>Alan Ballard                   | Internet: Alan_Ballard@mtsg.ubc.ca
>University Computing Services  |   Bitnet: USERAB1@UBCMTSG
>University of British Columbia |    Phone: 604-228-3074
>Vancouver B.C. Canada V6R 1W5  |      Fax: 604-228-5116

You understand correctly.  HPFS gets control after a CRT-ALT-DEL and
does, in fact, clean up after itself.

		-Sean

=========================================================================
Sean Fitts   / Sybase  /  6475 Christie Ave.  /  Emeryville, CA 94608
sean@mercury.sybase.com  -or- {mtxinu,pacbell,sun,pyramid}!sybase!sean

"As you probably already know, the opinions are mine and not Sybase's"
                  "Character is what you are in the dark."
========================================================================