Technical article 105682

"There is no default bootstring entry in /etc/default/boot" when upgrading from OpenServer 5.0.2 to 5.0.4.

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

I am doing an in-place upgrade from SCO OpenServer 5.0.2 to OpenServer 5.0.4. I get past entering the license information and this error message is displayed:

There is no default bootstring entry in /etc/default/boot.
Cannot determine the boot file location with a root
definition. You must boot old system and add root definition
to DEFBOOTSTR.  Cannot determine root filesystem location.

Cause

The system uses a pre-defined bootstring specified by the line in
DEFBOOTSTR in /etc/default/boot.  When boot runs, it executes any
lines found in the file.  The root filesystem is not specified in
the DEFBOOTSTR definition.

Solution

Follow these steps:
1. Remove any diskettes in the drive.  Reboot the system.

The in-place upgrade software wants to see "root=", "swap=" and "dump=" tokens in the default boot string (DEFBOOTSTR). To add the missing tokens, look in the file /etc/conf/cf.d/sassign:

# cat /etc/conf/cf.d/sassign
swap  hd  41
dump  hd  41
root  hd  42
The same information is represented in a slightly different
format in /etc/default/boot.  "swap hd 41" becomes "swap=hd(41)"
(with no spaces, an equal-sign, and parentheses around the
number).

2. Go into single-user mode. Change directories to /etc/default:

# cd /etc/default
3. Using a text editor (such as vi(C)), add whichever tokens are
   missing from DEFBOOTSTR.  In this case, DEFBOOTSTR should
   end with:
root=hd(42)  swap=hd(41) dump=hd(41)
The order of these tokens does not matter.

4. Save the file and shut down the machine.

5. Insert the boot diskette in the drive to continue with the upgrade.

6. At the Boot: prompt, continue as a regular upgrade depending on your hardware configuration.

See also

boot(F), boot(HW), bootstring(F), bootstring(HW)

From the Xinuos technical article database, record 105682. Reproduced with permission. The original is at www.sco.com/ta/105682, 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.