AIX Commands related to Boot and Init Process
1) To find the run-level in which system is working a) #who -r b) cat /etc/.init.state 2) To change the runlevel from one to other #telinit M or shutdown -m –> Go to maintenance mode (single user mode) #telinit 2 3) Shows the bootlist in normal mode & Service mode #bootlist -m normal -o #bootlist -m service -o 4) Sets the bootlist in the normal mode and service mode #bootlist -m normal hdisk1 hdisk2 #bootlist -m service cd0 hdisk1 5) To show the boot disks location code #bootlist -m normal -ov ‘ibm,max-boot-devices’ = 0×5 NVRAM variable: (boot-device=/pci@80000002000000c/pci@2/pci1069,b166@1/scsi@0/sd@4:2) Path name: (/pci@80000002000000c/pci@2/pci1069,b166@1/scsi@0/sd@4:4) <–this pathname shows which blv is used match_specific_info: ut=disk/scsi/scsd hdisk0 blv=bos_hd5 6) To shows state of boot record #ipl_varyon -i PVNAME BOOT DEVICE PVID ...