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 42The 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/default3. 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)