Technical article 105196

How can I copy a kernel to the read-only /stand filesystem?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6OpenServer 5.0.7

Written · Last revised

Problem

I want to make a copy of a kernel under a special name, but I am unable to do so as the /stand filesystem is read-only. How can I work around this?

Cause

The /stand filesystem is mounted read-only to provide protection for Unix kernel and boot programs in the event of a system crash that might result in filesystem damage or corruption.

Solution

Use the btmnt(ADM) command as follows:
# btmnt -w
# cp unix.special /stand
# btmnt -r

IMPORTANT NOTE: It is not recommended that you leave /stand mounted read/write permanently, as a system crash that results in filesystem damage may leave your system incapable of booting.

NOTE:     Any kernel that you want to be able to boot from should have a name
          of the format 'unix.XXXXXX', where '.XXXXXX' is whatever extension
          you would like the kernel to have.  The 'unix' part must appear
          first; for example, 'unix.newkernel', as opposed to 'newkernel.unix'.

From the Xinuos technical article database, record 105196. Reproduced with permission. The original is at www.sco.com/ta/105196, which is reachable but blocked from search engines.

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.