|
|||
1. Solaris Management Tools (Road Map) 2. Working With the Solaris Management Console (Tasks) 3. Working With the Sun Java Web Console (Tasks) 4. Managing User Accounts and Groups (Overview) 5. Managing User Accounts and Groups (Tasks) 6. Managing Client-Server Support (Overview) 7. Managing Diskless Clients (Tasks) 8. Introduction to Shutting Down and Booting a System 9. Shutting Down and Booting a System (Overview) 10. Shutting Down a System (Tasks) 11. Modifying Solaris Boot Behavior (Tasks) 12. Booting a Solaris System (Tasks) Booting a SPARC Based System (Task Map) Booting From a ZFS Root File System on a SPARC Based System Booting the Failsafe Archive on a SPARC Based System Booting a SPARC Based System From the Network Booting an x86 Based System by Using GRUB (Task Map) Booting From a ZFS Root File System on an x86 Based System Booting the Failsafe Archive on an x86 Based System Using Fast Reboot on the x86 Platform (Task Map) Booting an x86 Based System from the Network 13. Troubleshooting Booting a Solaris System (Tasks) 14. Managing the Solaris Boot Archives (Tasks) 15. x86: GRUB Based Booting (Reference) 16. Managing Services (Overview) 18. Managing Software (Overview) 19. Managing Software With Solaris System Administration Tools (Tasks) 20. Managing Software by Using Package Commands (Tasks) 21. Managing Solaris Patches by Using the patchadd Command (Tasks) |
Booting a SPARC Based SystemIf a system is turned off, turning it on starts the multiuser boot sequence. The following procedures show how to boot to different run levels from the ok PROM prompt. These procedures assume that the system has been cleanly shut down, unless stated otherwise. Use the who -r command to verify that the system is brought to the specified run level. For a description of run levels, see Chapter 16, Managing Services (Overview). SPARC: How to Boot a System to Run Level 3 (Multiuser Level)Use this procedure to boot a system that is currently at run level 0 to run level 3.
Example 12-1 SPARC: Booting a System to Run Level 3 (Multiuser Level)The following example displays the messages from booting a system to run level 3. ok boot Resetting ... Sun Ultra 2 UPA/SBus (2 X UltraSPARC-II 296MHz), No Keyboard OpenBoot 3.25, 512 MB memory installed, Serial #10342381. Ethernet address 8:0:20:xx:cf:ed, Host ID: 80xxcfed. Rebooting with command: boot Boot device: /sbus@1f,0/SUNW,fas@e,8800000/sd@a,0:a File and args: kadb Loading kmdb... SunOS Release 5.10 64-bit Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms WARNING: consconfig: cannot find driver for screen device /SUNW,ffb@1e,0 Hostname: dancehallgirl NIS domain name is boulder.Central.Sun.COM /dev/rdsk/c0t10d0s7 is clean Reading ZFS config: done. dancehallgirl console login: SPARC: How to Boot a System to Run Level S (Single-User Level)Use this procedure to boot a system that is currently at run level 0 to run level S. This run level is used for system maintenance tasks, such as backing up a file system.
Example 12-2 SPARC: Booting a System to Run Level S (Single-User Level)The following example displays the messages from booting a system to run level S. ok boot -s Resetting ... Sun Ultra 2 UPA/SBus (2 X UltraSPARC-II 296MHz), No Keyboard OpenBoot 3.25, 512 MB memory installed, Serial #10342381. Ethernet address 8:0:20:xx:cf:ed, Host ID: 80xxcfed. Rebooting with command: boot -s Boot device: /sbus@1f,0/SUNW,fas@e,8800000/sd@a,0:a File and args: -s SunOS Release 5.11 Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms WARNING: consconfig: cannot find driver for screen device /SUNW,ffb@1e,0 Root password for system maintenance (control-d to bypass): svc.startd: Returning to milestone all. NIS domain name is boulder.Central.Sun.COM /dev/rdsk/c0t10d0s7 is clean Reading ZFS config: done. dancehallgirl console login: SPARC: How to Boot a System InteractivelyUse this boot option when you need to specify an alternate kernel or /etc/system file. Before You BeginTo specify an alternate /etc/system file when booting a SPARC based system interactively by using the boot -a command, you must perform the following steps before the system is booted.
Example 12-3 SPARC: Booting a System InteractivelyIn this example, the default choices (shown in square brackets []) are accepted. For instructions and an example of booting an alternate file system by using the boot -a command, see SPARC: How to Boot a System Interactively. ok boot -a Resetting ... Sun Ultra 2 UPA/SBus (2 X UltraSPARC-II 296MHz), No Keyboard OpenBoot 3.25, 512 MB memory installed, Serial #10342381. Ethernet address 8:0:20:9d:cf:ed, Host ID: 809dcfed. Rebooting with command: boot -a Boot device: /sbus@1f,0/SUNW,fas@e,8800000/sd@a,0:a File and args: -a Boot device: /sbus@1f,0/SUNW,fas@e,8800000/sd@a,0:a File and args: -a Name of system file [/etc/system]: SunOS Release 5.11 Version zwicky:nbsclean-build:12/04/2007 64-bit Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Retire store [/etc/devices/retire_store] (/dev/null to bypass): root filesystem type [ufs]: Enter physical name of root device [/sbus@1f,0/SUNW,fas@e,8800000/sd@a,0:a]: WARNING: consconfig: cannot find driver for screen device /SUNW,ffb@1e,0 Hostname: dancehallgirl NIS domain name is boulder.Central.Sun.COM /dev/rdsk/c0t10d0s7 is clean Reading ZFS config: done. dancehallgirl login: SPARC: How to Boot a Solaris Kernel Other Than the Default Kernel
Example 12-4 Booting an Alternate Solaris Kernel by Changing the Default Boot File# cp -r /platform/sun4v/kernel /platform/sun4vu/kernel.caiobella # echo "kernel.caiobela" >> /boot/solaris/filelist.ramdisk # cat > /etc/boot/solaris/filelist.ramdisk /platform/sun4v/kernel.caiobella ^D (control D) ok setenv boot-file kernel.caiobells/sparcv9/unix ok printenv boot-file boot-file = kernel.caiobella/sparcv9/unix ok boot SC Alert: Host System has Reset SC Alert: Host system has shut down. Sun Fire T200, No KeyboardCopyright 2006 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.25.0.build_01***PROTOTYPE BUILD***, 32760 MB memory available, Serial #69060038. Ethernet address 0:x:4f:x:c5:c6, Host ID: 8xxc5c6. Rebooting with command: boot Boot device: /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/disk@0,0:a File and args: kernel.caiobella/sparcv9/unix SunOS Release 5.10 Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. DEBUG enabled misc/forthdebug (176650 bytes) loaded Hostname: seasonz NIS domain name is lab.domain.sun.com Reading ZFS config: done. seasonz console login: Password: Last login: Mon Nov 12 18:02:00 on console Sun Microsystems Inc. SunOS 5.11 . . . You have new mail. # # # prtconf -vp | grep whoami whoami: '/platform/sun4v/kernel.caiobella/sparcv9/unix' |
||
|