...
- Make sure the SRM environment variable "bootdef_dev" is NOT set. If the "bootdef_dev" variable points to your target system disk, the CDROM boot procedure will attempt to use the existing PHDB.
P00>>>
set bootdef_dev ""
- Boot from the Tru64 installation CDROM
P00>>>
boot dkaXXX
- Mount the target system disk root partition
(assumption: AdvFS)# cd /etc/fdmns
#mkdir root
# hwmgr show scsi
(identify target system disk. example: "/dev/disk/dsk0")# ln -s /dev/disk/dsk0a root/
# mkdir /tmp/root
# mount root#root /tmp/root
- Clean up old PHDB files
# cd /tmp/root/etc
# rm -f dec* df* dc* cfginfo
# rm -f /tmp/root/cluster/members/member/etc/df*
# rm -f /tmp/root/cluster/members/member/.Booted
- Unmount target root fileset
# cd /
# umount /tmp/root
- Halt in-memory (CDROM-based) system
# halt
- Boot from target disk in single-user mode
(This is the point at which the new PHDB is created)P00>>>boot -fl s -fi genvmunix dkaX
- Mount root fileset read/write (you will see messages indicating a new PHDB is being created)
# mountroot
- Fix Advfs symbolic links
# hwmgr show scsi
(identify target system disk. Example: "/dev/disk/dsk0")# cd /etc/fdmns
# rm root_domain/* usr_domain/*
# ln -s /dev/disk/dsk0a root_domain/
# ln -s /dev/disk/dsk0g usr_domain/
- Mount all filesystems
# bcheckrc
- Fix swap in /etc/sysconfigtab
vm:
swapdevice = /dev/disk/dsk0b
- Build new kernel
# doconfig -a
...