탐색 링크 건너뛰기 | |
인쇄 보기 종료 | |
Oracle Solaris 관리: 기본 관리 Oracle Solaris 10 1/13 Information Library (한국어) |
2. Solaris Management Console 작업(작업)
3. Oracle Java Web Console 작업(작업)
11. Oracle Solaris 부트 동작 수정(작업)
SPARC: 시스템을 실행 레벨 3으로 부트하는 방법(다중 사용자 레벨)
SPARC: 시스템을 실행 레벨 S로 부트하는 방법(단일 사용자 레벨)
SPARC: 기본 커널이 아닌 다른 커널을 부트하는 방법
SPARC 기반 시스템의 지정된 ZFS 루트 파일 시스템에서 부트
SPARC: ZFS 부트 풀에서 사용 가능한 부트 가능 데이터 세트를 나열하는 방법
SPARC: 지정된 ZFS 루트 파일 시스템에서 부트하는 방법
SPARC 기반 시스템을 비상 안전 모드로 부트하는 방법
GRUB를 사용하여 x86 기반 시스템 부트(작업 맵)
x86: 시스템을 실행 레벨 3으로 부트하는 방법(다중 사용자)
x86: x86 기반 시스템의 지정된 ZFS 루트 파일 시스템에서 부트
x86: 사용 가능한 ZFS 부트 환경 목록을 표시하는 방법
x86: 지정된 ZFS 루트 파일 시스템에서 부트하는 방법
x86: 손상된 부트 아카이브를 강제로 업데이트하기 위해 비상 안전 모드로 부트하는 방법
x86: 네트워크에서 GRUB 기반 부트를 수행하는 방법
SPARC 플랫폼에서 빠른 재부트 프로세스 수행(작업 맵)
13. Oracle Solaris 부트 아카이브 관리(작업)
14. Oracle Solaris 시스템 부트(작업) 문제 해결
16. x86: GRUB가 구현되지 않은 시스템 부트(작업)
17. Oracle Configuration Manager 작업
21. Oracle Solaris 시스템 관리 도구를 사용하여 소프트웨어 관리(작업)
|
이 절차에 따라 현재 실행 레벨 0에 있는 시스템을 실행 레벨 3으로 부트할 수 있습니다.
# reboot
시스템에 Press any key to reboot(재부트하려면 아무 키나 누르십시오.) 프롬프트가 표시되면 아무 키나 눌러 시스템을 재부트합니다.
이 프롬프트에서 Reset(재설정) 버튼을 사용해도 됩니다. 시스템이 종료되면 전원 스위치를 눌러 시스템을 켭니다.
부트 시퀀스가 시작되면 GRUB 메뉴가 표시됩니다.
항목을 10초 내에 선택하지 않으면 시스템에서 자동으로 실행 레벨 3으로 부트합니다.
부트 프로세스가 성공적으로 완료되면 로그인 프롬프트가 표시됩니다.
hostname console login:
# who -r system% who -r . run-level 3 Mar 2 09:44 3 0 S
예 12-9 x86: 시스템을 실행 레벨 3으로 부트(다중 사용자 레벨)
# reboot Jul 24 11:29:52 bearskin reboot: rebooted by root syncing file systems... done rebooting... Adaptec AIC-7899 SCSI BIOS v2.57S4 (c) 2000 Adaptec, Inc. All Rights Reserved. Press <Ctrl><A> for SCSISelect(TM) Utility! Ch B, SCSI ID: 0 SEAGATE ST336607LSUN36G 160 GNU GRUB version 0.95 (637K lower / 2096064K upper memory) ============================================================== Solaris 10 10/08 s10x_u6wos_03 X86 Solaris failsafe ============================================================== Use the and keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command-line. SunOS Release 5.10 Version Generic_144500-10 64-bit Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Hostname: pups NIS domain name is ....sfbay.sun.com Reading ZFS config: done. Mounting ZFS filesystems: (5/5) pups console login: # who -r . run-level 3 Jul 24 11:31 3 0 S
이 절차에 따라 실행 레벨 0으로 실행되는 시스템을 실행 레벨 S로 부트할 수 있습니다. 단일 사용자 레벨은 시스템 유지 관리를 수행하는 데 사용됩니다.
주 - 이 절차는 모든 GRUB 구현에 사용할 수 있습니다. 그러나 실행 중인 Oracle Solaris 릴리스에 따라 GRUB 주 메뉴의 부트 항목이 달라집니다.
부트 시 지정할 수 있는 모든 커널 옵션에 대한 설명은 x86: 부트 시 GRUB 메뉴를 편집하여 부트 동작 수정을 참조하십시오.
# reboot
시스템에 Press any key to reboot(재부트하려면 아무 키나 누르십시오.) 프롬프트가 표시되면 아무 키나 눌러 시스템을 재부트합니다.
이 프롬프트에서 Reset(재설정) 버튼을 사용해도 됩니다. 시스템이 종료되면 전원 스위치를 눌러 시스템을 켭니다.
부트 시퀀스가 시작되면 GRUB 메뉴가 표시됩니다.
화살표 키를 사용할 수 없는 경우 위로 스크롤하려면 캐럿 키(^)를 사용하고, 아래로 스크롤하려면 문자 v 키를 사용합니다.
여기서 kernel 또는 kernel$ 라인에 옵션과 인수를 추가할 수 있습니다.
이 방식으로 다음 대체 부트 동작을 지정할 수 있습니다.
재구성 부트 수행
64비트 지원 시스템을 32비트 모드로 부트
커널 디버거를 사용하여 시스템 부트
콘솔 재지정
자세한 내용은 boot(1M) 매뉴얼 페이지를 참조하십시오.
# who -r . run-level S Jun 13 11:07 S 0 0
예 12-10 x86: 단일 사용자 모드로 시스템 부트
# reboot Jul 2 14:30:01 pups reboot: initiated by root on /dev/console syncing files... Press <Ctrl><A> forPSCSISelect(TM) Utility! GNU GRUB version 0.95 (637K lower / 2096064K upper memory) =================================================== Solaris 10 10/08 s10x_u6wos_03 X86 Solaris failsafe ===================================================== Use the and keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command-line. ===================================================== GNU GRUB version 0.95 (637K lower / 2096064K upper memory) ===================================================== findroot (pool_rpool,0,a) kernel$ /platform/i86pc/multiboot -B $ZFS-BOOTFS module /platform/i86pc/boot_archive ================================================ Use the and keys to select which entry is highlighted. Press 'b' to boot, 'e' to edit the selected command in the boot sequence, 'c' for a command-line, 'o' to open a new line after ('O' for before) the selected line, 'd' to remove the selected line, or escape to go back to the main menu. [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ESC at any time exits. ] grub edit> kernel$ /platform/i86pc/multiboot -B $ZFS-BOOTFS -s GNU GRUB version 0.95 (637K lower / 2096064K upper memory) ======================================================= findroot (pool_rpool,0,a) kernel$ /platform/i86pc/multiboot -B $ZFS-BOOTFS -s module /platform/i86pc/boot_archive ====================================== Use the and keys to select which entry is highlighted. Press 'b' to boot, 'e' to edit the selected command in the boot sequence, 'c' for a command-line, 'o' to open a new line after ('O' for before) the selected line, 'd' to remove the selected line, or escape to go back to the main menu. . . . SunOS Release 5.10 Version Generic_144500-10 64-bit Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Booting to milestone "milestone/single-user:default". Hostname: pups Requesting System Maintenance Mode SINGLE USER MODE Root password for system maintenance (control-d to bypass): single-user privilege assigned to /dev/console. Entering System Maintenance Mode Jul 2 14:41:48 su: 'su root' succeeded for root on /dev/console Sun Microsystems Inc. # who -r who -r . run-level S Jul 2 14:39 S 0 0 #
이 절차는 대체 커널 또는 /etc/system 파일을 지정해야 하는 경우에 시스템을 부트하는 데 사용됩니다.
시작하기 전에
boot -a 명령을 사용하여 x86 기반 시스템을 대화식으로 부트하는 경우에 대체 /etc/system 파일을 지정하려면 다음 단계를 수행합니다.
1. /etc/system 및 boot/solaris/filelist.ramdisk 파일의 백업 사본을 만듭니다.
# cp /etc/system /etc/system.bak # cp /boot/solaris/filelist.ramdisk /boot/solaris/filelist.ramdisk.orig
2. /etc/system.bak 파일 이름을 /boot/solaris/filelist.ramdisk 파일에 추가합니다.
# echo "etc/system.bak" >> /boot/solaris/filelist.ramdisk
3. 부트 아카이브를 업데이트합니다.
# bootadm update-archive -v
# reboot
시스템에 Press any key to reboot(재부트하려면 아무 키나 누르십시오.) 프롬프트가 표시되면 아무 키나 눌러 시스템을 재부트합니다.
이 프롬프트에서 Reset(재설정) 버튼을 사용해도 됩니다. 시스템이 종료되면 전원 스위치를 눌러 시스템을 켭니다.
부트 시퀀스가 시작되면 GRUB 주 메뉴가 표시됩니다.
Enter default directory for modules [/platform/i86pc/kernel /kernel /usr/kernel]:
Name of system file [etc/system]: /etc/system.bak
대체 파일을 제공하지 않고 Enter 키를 누르면 기본값이 사용됩니다.
손상된 /etc/system 파일을 복구합니다.
예 12-11 x86: 대화식으로 시스템 부트
# reboot syncing file systems... done rebooting... GNU GRUB version 0.95 (637K lower / 2096064K upper memory) =================================================== Solaris 10 10/08 s10x_u6wos_03 X86 Solaris failsafe ===================================================== Use the and keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command-line. ===================================================== GNU GRUB version 0.95 (637K lower / 2096064K upper memory) ===================================================== findroot (pool_rpool,0,a) kernel$ /platform/i86pc/multiboot -B $ZFS-BOOTFS module /platform/i86pc/boot_archive ====================================================== Use the and keys to select which entry is highlighted. Press 'b' to boot, 'e' to edit the selected command in the boot sequence, 'c' for a command-line, 'o' to open a new line after ('O' for before) the selected line, 'd' to remove the selected line, or escape to go back to the main menu. [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ESC at any time exits. ] grub edit> kernel$ /platform/i86pc/multiboot -B $ZFS-BOOTFS -a GNU GRUB version 0.95 (637K lower / 2096064K upper memory) =================================================== findroot (pool_rpool,0,a) kernel$ /platform/i86pc/multiboot -B $ZFS-BOOTFS -a module /platform/i86pc/boot_archive ==================================================== . . . Enter default directory for modules [/platform/i86pc/kernel /kernel /usr/kernel]: Name of system file [/etc/system]: /etc/system.bak SunOS Release 5.10 Version Generic_144500-10 64-bit Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Hostname: pups NIS domain name is ....sfbay.sun.com Reading ZFS config: done. Mounting ZFS filesystems: (5/5) pups console login: