- 论坛徽章:
- 0
|
SOLUTION SUMMARY:
With a Solaris software CD in the cdrom drive.
#1. boot cdrom -s
#2. mount /dev/dsk/c0t0d0s0 /a
#3. ls -l /a/devices/pseudo/sys*
If there is NO MATCH - this is the key that the kernel patch
install is the culprit. Proceed to step 4.
If there IS a match - then it is likely that something else
is responsible for the NO BOOT issue. For example,
/etc/vfstab was recently edited and the mount of /var is incorrect.
#4. Get the "postpatch" script from the 106541-05 directory. It might
still be on the hard drive, or it can be moved on to the system via
ftp. 106541-07 uses the identical postpatch script and it
can be used as an alternative to the -05 postpatch script.
#5. #ROOTDIR=/a
#export ROOTDIR
#chmod 755 postpatch
#./postpatch
#6. ls -l /a/devices/pseudo/sys*
should now see the devices:
sysmsg@0:msglog and sysmsg@0:sysmsg
#7. #cd /
#umount /a
reboot
Note: To ftp the postpatch script from a server on the network, just
use the ip address of that server. #ftp ip_address
If additional network configuration is needed to accomplish the ftp,
reference InfoDoc 19086 How to access the network from a "boot cdrom -s"
environment.
The postpatch script is shown here for reference:
#! /bin/sh
#
# This is for the remote console. It checks for existence
# of the new device nodes, and creates them if necessary. This
# code emulates what would otherwise occur in SUNWcsd/postinstall,
# it is a requirement that this code run before the reconfiguration
# reboot.
#
# ensures an entry is in /etc/name_to_major
if [ -f $ROOTDIR/kernel/drv/sysmsg ]; then
/usr/sbin/add_drv -n -b $ROOTDIR sysmsg
else
exit 0
fi
devnode=$ROOTDIR/devices/pseudo/sysmsg@0:sysmsg
grep sysmsg $ROOTDIR/etc/name_to_major >/dev/null 2>&1
if [ "$?" = "0" ]; then
major_sysmsg=`grep sysmsg \
$ROOTDIR/etc/name_to_major | nawk '{ print $2 }'`
else
exit -1
fi
rm -f $devnode
mknod $devnode c $major_sysmsg 0
chmod 0600 $devnode
chown root:sys $devnode
devnode=../devices/pseudo/sysmsg@0:sysmsg
devlink=sysmsg
( cd $ROOTDIR/dev ; \
rm -f $devlink ; ln -s $devnode $devlink )
devnode=$ROOTDIR/devices/pseudo/sysmsg@0:msglog
grep sysmsg $ROOTDIR/etc/name_to_major >/dev/null 2>&1
if [ "$?" = "0" ]; then
major_sysmsg=`grep sysmsg \
$ROOTDIR/etc/name_to_major | nawk '{ print $2 }'`
else
exit -1
fi
rm -f $devnode
mknod $devnode c $major_sysmsg 1
chmod 0600 $devnode
chown root:sys $devnode
devnode=../devices/pseudo/sysmsg@0:msglog
devlink=msglog
( cd $ROOTDIR/dev ; \
rm -f $devlink ; ln -s $devnode $devlink )
exit 0
APPLIES TO: Operating Systems, Operating Systems/Solaris, Operating Systems/Solaris/Solaris 7, OS Install/Boot, OS Install/Boot/System Boot, AFO Vertical Team Docs, AFO Vertical Team Docs/Install/Boot, AFO Vertical Team Docs/Kernel
ATTACHMENTS: |
|