1. To display all the current device aliases :
ok> devalias
2. To define an alias ofr a device path :
ok> devalias alias device-path
3. To delete an alias from NVRAMRC :
ok> nvunalias alias            
4. To list the available disks :
ok> show-disks
5. To boot from default boot device :
ok> boot        
6. To boot from cdrom :
ok> boot cdrom    
7. To boot from the alia "disk" :
ok> boot disk            
8. To boot from network :
ok> boot net        
9. To start jumpstart boot :
ok> boot net – install
10. To do an interactive boot from the default boot device :
ok> boot –a    
11. To do a reconfigure boot from the default boot device :
ok> boot –r        
12. To boot from 32bit kernel :
ok> boot kernel/unix    
13. To boot from 64bit kernerl :
ok> boot kernel/sparcv9/unix    
14. To do a verbose boot :
ok> boot –v     
15. To boot in single user mode :
ok> boot –s    
15. To diplay OBP verion :
ok> .version        
16. To display ethernet address :
ok> .enet-addr        
17. To diplay poweron banner :
ok> banner                
18. To display processor and bus speeds :
ok> .speed                
19. To display major/minor CPU firmware version :
ok> firmware-version            
20. To call OS to write information to harddisk :
ok> sync                
Normally we do it thrice. ie., sync;sync;sync
21. To reset entire system :
ok> reset        
22. To reset entire system :        
ok> reset-all        
23. To reset all PROM setting to factory default :
ok> set-defaults            
24. To set PROM password :
ok> setenv security –password password
25. To set autoboot :
ok> setenv auto-boot? true        
26. To display the current boot-device :
ok> printenv boot-device        
27. To identify devices attached to a SCSI bus :
ok> probe-scsi            
28. To identify devices attached to all SCSI buses :
ok> probe-scsi-all            
29. To test the primary network adapter :
ok> test net                
30. To test the primary scsi adapter :
ok> test scsi                
31. To test all devices available with self test capability :
ok> test-all               
 
Hi raja. We have a solaris 10 server and I have one issue which I unable to solve. I hope you could help me with it. I was trying to install one application and I needed to change the owner and group users for certain files. By, mistake I guess the system files ownership to changed. I have root access and when I access my SUN OS using putty terminal. I had to restart my server since it wouldn't login to the server. While restarting my server I get an error "Error opening PAM libraries contact system administrator". I googled and noticed that you need the Solaris boot cd to revert the pam.config file. But, I do not have my Solaris CD anymore. How else can I revert this file? Please do let me know your expert advice. Thanks in advance.
ReplyDelete