HP-UX HB v13.00 Ch-04 - System Recovery

HP-UX Handbook Rev 13.00 Page 28 (of 54)
Chapter 04 System Recovery
October 29, 2013
* Constructing the bootconf file.
* Setting primary boot path to "0/0/2/0.0.0".
* Starting swinstall of the source (B7994-10001 Mission Critical).
Hit Ctrl-C to interrupt!
WARNING: Exiting due to keyboard interrupt.
WARNING: The task will continue in unattended mode on host "loopback".
ERROR: Software load had one or more errors.
======= 03/30/01 09:51:55 EST The operating system software has not been
successfully loaded. The swinstall(1M) application was not completed
or failed to load some key files. (exit status was = 1).
1: Change the swinstall server and/or depot information.
2: Retry software load process (non-interactive mode).
3: Retry software load process (interactive mode).
4: Run a shell.
Choose a recovery action from above:
9. We now can choose the option Run a shell to get a shell prompt. From here we are able to
complete the full recovery. Please note that the installation is very incomplete yet! We
really depend on a successful full recovery from backup!
Co-Procedure: Get more RAM File System Space
Sometimes the RAM file system offered during recovery is very small (e.g. 8MB). To have a
more comfortable environment it is often useful to enlarge that RAM file system. With more
space we are able to hold more commands in memory instead of freqently removing and
reloading files with rm and loadfile.
NOTE: see the SAW document with ID emr_na-c00941760 at the following HP internal-only
link http://saw.cce.hp.com/km/saw/view.do?docId=emr_na-c00941760
# bdf
Filesystem kbytes used avail %cap iused ifree iused Mounted on
/ 8532 6555 1977 77% 273 2607 9% ?
# cd /
# mknod /dev/ram2 b 9 0x204001
# mknod /dev/rram2 c 9 0x204001
# mknod /dev/ram3 b 9 0x304001
# mknod /dev/rram3 c 9 0x304001
# loadfile l SYSCMDS ./sbin/pax
# loadfile ./sbin/fs/vxfs/mkfs
# loadfile ./sbin/fs/vxfs/mount
# /sbin/fs/vxfs/mkfs F vxfs /dev/rram2
# /sbin/fs/vxfs/mkfs F vxfs /dev/rram3
# rm /sbin/fs/vxfs/mkfs
# mkdir /rootfs
# /sbin/fs/vxfs/mount F vxfs /dev/ram2 /rootfs
# mkdir /rootfs/dev
# /sbin/fs/vxfs/mount F vxfs /dev/ram3 /rootfs/dev
# rm /sbin/fs/vxfs/mount
# loadfile l SYSCMDS ./usr/bin/find
# find . xdev print | pax w f - | $(cd /rootfs ; pax r f -)
# rm /usr/bin/find
# loadfile ./usr/sbin/chroot