Technical article 105626

Error message: "/dev/dsk/0sC mount: invalid filesystem type DOS" is shown after in-place upgrade from 5.0.0/5.0.2 to 5.0.4 and fsck does not let you quit.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

SCO OpenServer Release 5.0.0 and 5.0.2 offers support for DOS Filesystems (DOS/Windows Partitions) configurable through the Filesystem Manager. Enabling the mount at boot time will add an entry to /etc/default/filesys similar to:

bdev=/dev/dsk/0sC \
mountdir=/u/rainerf/w95 mount=no fstyp=DOS \
fsck=dirty rcmount=yes rcfsck=dirty \
mntopts="lower,rw"

Upgrading an SCO OpenServer 5.0.0 or 5.0.2 system that has DOS support configured in the above way, to SCO OpenServer 5.0.4 using the Intelligent In-place Upgrade feature, causes the following error upon the reboot:

/dev/dsk/0sC
mount: invalid filesystem type DOS
Phase 1: - Syncing up FATS
Phase 2: - Checking directories
Bad directory entry 'AP.' delete y/n ?

Choosing 'n' will return you to the same question. In fact, fsck is stuck in an infinite loop.

Cause

The DOS Filesystem Support is not automatically configured by the in-place upgrade.

Solution

If you are mounting your DOS/Windows partition during system startup and would like to upgrade your system, you can either delete all DOS partition/filesystem entries from /etc/default/filesys and then re-create your DOS mount entries after the upgrade, or back up your current /etc/default/filesystem by:

#copy -om /etc/default/filesystem /etc/filesys/filesys.dos

Perform the upgrade and configure your DOS Filesystem Support, and then relink and reboot.

Restore your backup /etc/default/filesystem.dos.
NOTE:     Once you are in the fsck loop you will need to switch off (reset)
          your machine, bring it back to single-user mode, and delete the
          entries in /etc/default/filesys.

From the Xinuos technical article database, record 105626. Reproduced with permission. The original is at www.sco.com/ta/105626, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.