Solaris 10 5/09 설치 설명서: 기본 설치

Procedurex86: ZFS용 GRUB를 사용하여 Solaris 대화식 텍스트 설치 프로그램으로 설치

x86 기반 시스템의 Solaris 설치 프로그램에서는 GRUB 부트 로더를 사용합니다. 이 절차에서는 CD 또는 DVD 매체에서 GRUB 부트 로더로 독립형 x86 기반 시스템을 설치하는 방법에 대해 설명합니다. GRUB 부트 로더에 대한 개괄적인 내용은 System Administration Guide: Basic AdministrationModifying Boot Behavior by Editing the GRUB Menu at Boot Time을 참조하십시오.

시작하기 전에

설치를 시작하기 전에 다음 작업을 수행합니다.

  1. 적절한 매체를 시스템에 넣습니다.

    Solaris Operating System DVD 또는 Solaris Software - 1 CD에서 부트하는 경우 디스크를 넣습니다. 시스템의 BIOS가 DVD 또는 CD에서 부트를 지원해야 합니다.

    DVD 또는 CD에서 부트하려면 BIOS를 직접 설정해야 할 수 있습니다. BIOS 설정 방법은 하드웨어 설명서를 참조하십시오.

  2. 시스템을 종료한 다음 전원을 껐다가 다시 켜서 시스템을 부트합니다.

  3. CD 또는 DVD에서 부트하도록 BIOS를 직접 설정해야 하는 경우, 시스템 부트 프로세스를 인터럽트하도록 적절한 키 시퀀스를 입력합니다.

    BIOS에서 부트 우선 순위를 수정하고 BIOS를 종료하여 설치 프로그램으로 되돌아갑니다.

    메모리 테스트와 하드웨어 감지가 실행됩니다. 화면이 갱신됩니다. GRUB 메뉴가 표시됩니다.


    GNU GRUB version 0.95 (631K lower / 2095488K upper memory)
    +-------------------------------------------------------------------------+
    | Solaris                                                                 |
    | Solaris Serial Console ttya                                             |
    | Solaris Serial Console ttyb (for lx50, v60x and v65x)                   |
    |                                                                         |
    |                                                                         |
    +-------------------------------------------------------------------------+
    Use the ^ and v 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.
  4. Solaris를 선택하고 Enter를 누릅니다.

    Solaris 설치 프로그램은 기본 부트 디스크에 대하여 시스템 설치 또는 업그레이드 요구 사항을 확인합니다. 설치 프로그램이 시스템 구성을 찾을 수 없는 경우 프로그램에 누락된 정보를 입력하라는 메시지가 표시됩니다.

    확인이 완료되면 설치 선택 화면이 표시됩니다.

  5. 설치 유형을 선택합니다. 데스크탑 세션에서 대화식 텍스트 설치 프로그램으로 Solaris OS를 설치하려면 3을 입력한 다음 Enter를 누릅니다.

    기본 GUI 설치 프로그램을 취소하고 ZFS 설치용 텍스트 설치 프로그램을 실행하려면 이 설치 유형을 선택합니다.


          Select the type of installation you want to perform:
    
             1 Solaris Interactive
             2 Custom JumpStart
             3 Solaris Interactive Text (Desktop session)
             4 Solaris Interactive Text (Console session)
             5 Apply driver updates
             6 Single user shell
    
             Enter the number of your choice followed by the <ENTER> key.
             Alternatively, enter custom boot arguments directly.
    
             If you wait 30 seconds without typing anything,
             an interactive installation will be started.

    시스템이 장치와 인터페이스를 구성하고 구성 파일을 검색합니다. 운영 체제에서 자동 식별 키보드를 찾을 수 없는 경우 다음 화면에 키보드 레이아웃 선택이 표시됩니다. 시스템에서 자동 식별 키보드를 찾은 경우 단계 7로 건너뜁니다.

  6. (옵션) 다음 화면에서 원하는 키보드 레이아웃을 선택하고 F2를 눌러 계속 진행합니다.


    Configure Keyboard Layout
    +---------------------------------------------------------------------------+
    |   Please specify the keyboard layout from the list below.                 |
    |                                                                           |
    |   To make a selection, use the arrow keys to highlight the option and     |
    |   press Return to mark it [X].                                            |
    |                                                                           |
    |            Keyboard  Layout                                               |
    |            -----------------------                                        |
    |       [  ] Serbia-And Montenegro                                          |
    |       [  ] Slovenian                                                      |
    |       [  ] Slovakian                                                      |
    |       [  ] Spanish                                                        |
    |       [  ] Swedish                                                        |
    |       [  ] Swiss-French                                                   |
    |       [  ] Swiss-German                                                   |
    |       [  ] Taiwanese                                                      |
    |       [  ] TurkishQ                                                       |
    |       [  ] TurkishF                                                       |
    |       [  ] UK-English                                                     |
    |       [ X] US-English                                                     |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    시스템에서 장치와 인터페이스를 구성하고 구성 파일을 검색합니다. 창이 작동하고 있음을 확인하는 2개의 화면이 표시될 수 있습니다. 다음 두 화면을 확인하고 텍스트 모드에서 계속 진행합니다.

  7. (옵션) 다음 화면에서 Enter를 누릅니다.


    Starting Solaris Interactive (graphical user interface) 
    Installation
    +------------------------------------------------------------+
    | You must respond to the first question within 30 seconds   |
    | or the installer proceeds in a non-window environment      |
    | (console mode).                                            |
    |                                                            |
    | If the screen becomes blank or unreadable the installer    |
    | proceeds in console mode.                                  |
    |                                                            |
    | If the screen does not properly revert to console mode,    |
    | restart the installation and make the following selection: |
    |                                                            |
    |      Solaris Interactive Text (Console session)            |
    -------------------------------------------------------------+

    진행률 메시지가 완료되면 다른 확인 화면이 표시됩니다.

  8. (옵션) 커서를 다음 텍스트 화면으로 이동하고 Enter를 누릅니다.


    +------------------------------------------------------------+
    |If the screen is legible, press ENTER in this window.       |
    |                                                            |
    |                                                            |
    |                                                            |
    |-------------------------------------------------------------+

    언어 선택 목록이 표시될 수 있습니다. 이 화면이 표시되지 않으면 단계 10로 건너뜁니다.

  9. (옵션) 다음 화면에서 설치 중 사용할 언어를 선택하고 F2를 누릅니다.


    Select a Language
    +---------------------------------------------------------------------------+
    |   Please specify the the language from the list below.                    |
    |                                                                           |
    |   To make a selection, use the arrow keys to highlight the option and     |
    |   press Return to mark it [X].                                            |
    |                                                                           |
    |       [  ] English                                                        |
    |       [  ] French                                                         |
    |       [  ] German                                                         |
    |       [  ] Italian                                                        |
    |       [  ] Japanese                                                       |
    |       [  ] Korean                                                         |
    |       [  ] Simplified Chinese                                             |
    |       [  ] Spanish                                                        |
    |       [  ] Swedish                                                        |
    |       [  ] Traditional Chinese                                            |
    |       [  ] UK-English                                                     |
    
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+
  10. F2를 눌러 설치를 시작합니다. 프롬프트가 표시되면 나머지 구성 질문에 대하여 응답합니다.

    • 시스템 정보 미리 구성

      다음 옵션 중 하나를 선택합니다.

    • 네트워크 구성

      한 구성 질문에서 원격 클라이언트가 사용할 수 있도록 네트워크 서비스를 활성화할지 여부를 묻습니다. 기본 응답은 "Yes, I would like to enable network services for use by remote clients.”입니다.

      "아니오"를 선택하면 보다 안전한 구성이 제공되며 이 경우 보안 쉘이 원격 클라이언트에게 제공되는 유일한 네트워크 서비스입니다. “예”를 선택하면 이전 Solaris 릴리스에서와 같이 더 많은 서비스 집합을 활성화할 수 있습니다. 설치 후에 모든 서비스를 활성화할 수 있으므로 “아니오”를 선택하는 것이 안전합니다. 이러한 옵션에 대한 자세한 내용은 Solaris 10 5/09 설치 설명서: 설치 및 업그레이드 계획네트워크 보안 계획을 참조하십시오.

      설치 후 netservices open 명령을 사용하거나 SMF 명령을 사용하여 개별 서비스를 활성화하여 네트워크 서비스를 사용하도록 지정할 수 있습니다. Solaris 10 5/09 설치 설명서: 설치 및 업그레이드 계획설치 후 보안 설정 수정을 참조하십시오.

    구성 질문에 대답하고 루트 암호를 설정하고 나면 Solaris Interactive Installation 화면이 표시됩니다.


    Solaris Interactive Installation
    +---------------------------------------------------------------------------+
    |On the following screens, you can accept the defaults or you can customize |
    | how Solaris software will be install by:                                  |
    |  - Selecting the type of Solaris software to install                      |
    |  - Selecting disks to hold the software you've selected                   |
    |  - Selecting unbundled products to be installed with Solaris              |
    |  - Specifying how file systems are laid out on the disks                  |
    |                                                                           |
    |After completing these tasks, a summary of your selections                 |
    |(called a profile) will be displayed.                                      |
    |                                                                           |
    |There are two ways to install your Solaris software:                       |
    |                                                                           |
    |  - "Standard" installs your system from a standard Solaris                |
    |     Distribution. Selecting "standard" allows you to choose               |
    |     between initial install and upgrade, if your system is upgradeable.   |
    |                                                                           |
    |  - "Flash" installs your system from one or more Flash Archives.          |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+
  11. 시스템을 자동으로 재부트할 것인지 디스크를 자동으로 꺼낼 것인지 결정합니다. F2를 누릅니다.

    시스템에 ZFS 저장소 풀이 이미 있으면 기존 풀에서 디스크를 선택하여 새 저장소 풀을 만들지 않는 한 다음 메시지에서 ZFS 저장소 풀을 인식하지만, 이 풀은 현재 상태 그대로 유지됩니다.


    There are existing ZFS pools available on this system.  However, they can only be upgraded 
    using the Live Upgrade tools.  The following screens will only allow you to install a ZFS root system, 
    not upgrade one.

    사용권 계약 화면이 나타납니다.

  12. 설치를 계속하려면 사용권 계약에 동의해야 합니다. F2를 누릅니다.

    업그레이드 선택 또는 초기 설치 화면이 나타날 수 있습니다. 업그레이드할 수 있는 UFS 파일 시스템이 있는 경우 이 화면이 표시됩니다. 이 화면이 표시되지 않으면 단계 14로 건너뜁니다.

  13. ZFS 설치를 수행하려면 F4를 눌러 초기 설치를 수행해야 합니다.

    지리적 위치, 로켈 및 추가 제품을 선택하는 화면이 표시됩니다.

  14. 지리적 위치, 로켈 및 추가 제품을 선택합니다.

    Choose a Filesystem Type이 표시됩니다.

  15. ZFS 루트 풀을 만들고 설치하려면 ZFS 옵션을 선택합니다.


    Choose a Filesystem Type
    +---------------------------------------------------------------------------+
    |   Select the filesystem to use for your Solaris installation              |
    |                                                                           |
    |           [ ] UFS                                                         |
    |           [X] ZFS                                                         |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    Select Software 화면이 표시됩니다.

  16. 수행하려는 설치의 유형을 선택합니다. F2를 누릅니다.

    기본 설치를 수행하려면 제공된 기본값을 수락합니다. 사용자 정의 설치를 수행하려면 텍스트 설치 프로그램 화면에서 값을 편집합니다. 다음 예제 화면에서는 설치를 위해 기본 Entire Distribution 소프트웨어 그룹이 선택되어 있습니다.

    소프트웨어 그룹에 대한 자세한 내용은 소프트웨어 그룹의 권장 디스크 공간을 참조하십시오.


    Select Software
    +---------------------------------------------------------------------------+
    |Select the Solaris software to install on the system                       |
    |                                                                           |
    |Note: After selecting a software group, you can add or remove              |
    |software by customizing it. However this requires understanding of         |
    |software dependencies and how Solaris software is packaged.                |
    |                                                                           |
    |  [ ] Entire Distribution plus OEM support ......5838.00 MB                |
    |  [X] Entire Distribution........................5830.00 MB                |
    |  [ ] Developer System Support...................5695.00 MB                |
    |  [ ] End User System Support....................4747.00 MB                |
    |  [ ] Core System Support........................1558.00 MB                |
    |  [ ] Reduced Networking Core System Support.....1512.00 MB                |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    Select Disks 화면이 표시됩니다.

  17. 설치할 소프트웨어를 설치한 후 ZFS 저장소 풀을 만들려면 디스크를 선택하라는 메시지가 표시됩니다. 다음 화면은 다음 텍스트를 제외하고는 이전 Solaris 릴리스와 유사합니다.


    For ZFS, multiple disks will be configured as mirrors, so the disk you choose, 
    or the slice within the disk must exceed the Suggested Minimum value.

    ZFS 루트 풀에 사용할 디스크를 선택할 수 있습니다.

    • 단일 디스크를 선택하고 나중에 미러링을 구성하려면 Solaris ZFS Administration GuideManaging Devices in ZFS Storage Pools에서 zpool attach 명령을 참조하십시오.

    • 디스크를 두 개 선택하는 경우 미러된 2-디스크 구성이 루트 풀에 대해 설정됩니다. 2-디스크 또는 3-디스크로 미러된 풀이 최적 상태입니다.

    • 디스크가 8개 있으며 8개 모두를 선택하는 경우 이러한 8개의 디스크가 하나의 큰 미러로 루트 풀에 사용됩니다. 하지만 이는 최적 구성이 아닙니다.

    루트 풀에 대한 RAID-Z 풀 구성은 지원되지 않습니다. ZFS 저장소 풀 구성에 대한 자세한 내용은 Solaris ZFS Administration GuideReplication Features of a ZFS Storage Pool을 참조하십시오.


    Select Disks
    +---------------------------------------------------------------------------+
    |On this screen you must select the disks for installing Solaris            |
    |software. Start by looking at the Suggested Minimum Field;                 |
    |this value is the approximate space needed to install the software         |
    |you've selected. For ZFS, multiple disks will be configured as mirrors,    |
    |so the disk you choose on the slice within the disk must exceed            |
    |the Suggested Minimum Value.                                               |
    |                                                                           |
    |  Note: xx denotes the current boot disk                                   |
    |                                                                           |
    |Disk Device                                        Available Space         |
    |========================================================================== |
    |                                                                           |
    |[X]xx c0d0                                          29164 MB (F4 to edit)  |
    |                                                                           |
    |                                 Maximum Root Size: 29164 MB               |
    |                                 Suggested Minimum: 5838 MB                |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    Preserve Data 화면이 표시됩니다.

  18. (선택 사항) 소프트웨어를 설치할 디스크에 데이터를 보존합니다.

    설치를 위해 선택한 디스크에 파일 시스템이 있거나 저장할 슬라이스에 이름이 지정되지 않은 경우, 이제 이러한 파일 시스템이나 이름이 지정되지 않은 슬라이스를 저장할 수 있습니다.


    Preserve Data?
    +---------------------------------------------------------------------------+
    |Do you want to preserve existing data? At least one of the disks you've    |
    |selected for installing Solaris software has file systems or unnamed slices|
    |that you may want to save                                                  |
    |                                                                           |
    |                                                                           |
    |    F2_Continue      F4_Preserve    F6_Help                                |
    +---------------------------------------------------------------------------+

    F4를 눌러 데이터를 저장한 경우 데이터 저장을 위한 화면이 표시됩니다.

  19. (선택 사항) 저장할 데이터를 선택합니다.


    Preserve Data
    +---------------------------------------------------------------------------+
    |On this screen you can perserve the data on some or all disk slices. Any   |
    |slice you preserve will not be touched when Solaris software is installed  |
    |If  you preserve data on / (root), /usr, or /var you  must rename them     |
    |because new versions of these file systems are created when Solaris        |
    |software is installed.                                                     |
    |                                                                           |
    |Warning: Preserving an 'overlap' slice will not preserve any data within   |
    |it. To preserve this data, you must explicitly set the mount point name.  |
    |                                                                           |
    |Mount Point or Pool                   State    Disk/Slice             Size |
    |========================================================================== |
    |[ ] zfs: rpool                        Online    c0d0s0            27133 MB |
    |[ ]swap                                         c0d0s1             2047 MB |
    |[X]overlap                                      c0d0s2            29188 MB |
    |                                                                           |
    |                                                                           |
    |    F2_Continue                     F6_Help                                |
    +---------------------------------------------------------------------------+

    ZFS 설정 구성을 위한 화면이 표시됩니다.

  20. 기본값을 수락할 수 있습니다. 또는 ZFS 풀 이름, 데이터 세트 이름, 풀 크기, 스왑 및 덤프를 변경할 수 있습니다. 또한 /var 파일 시스템을 만들고 마운트하는 방식을 수정할 수 있습니다.


    Configure ZFS Settings
    +-------------------------------------------------------------------------- -+
    |Specify the name of the pool to be created from the disk(s) you have chosen.|
    |Also specify the name of the dataset to be created within the pool that is  |
    |to be used as the root directory for the filesystem.                        |
    |                                                                            |
    |                                                                            |
    |              ZFS Pool Name: rpool                                          |
    |      ZFS Root Dataset Name: szboot_0507                                    |
    |          ZFS Pool Size in (MB): 17270                                      |
    |          Size of swap area in (MB): 1024                                   |
    |          Size of dump area in (MB): 1024                                   |
    |        (Pool size must be between 9472 MB and 17270 MB)                    |
    |                                                                            |
    |                         [X] Keep / and /var combined                       |
    |                         [ ] Put /var on a separate dataset                 |
    |                                                                            |
    |    F2_Continue      F6_Help                                                |
    +------------------------------------------------------------------------- --+

    원격 파일 시스템을 마운트하기 위한 화면이 표시됩니다.

  21. 원격 파일 시스템을 마운트할지 결정합니다.


    Mount Remote File System
    +-------------------------------------------------------------------------- -+
    |Do you want to mount a software from a remote file server? This may         |
    |be necessary if you had to remove software because of disk space problems.  |
    |                                                                            |
    |                                                                            |
    |    F2_Continue      F6_Help                                                |
    +------------------------------------------------------------------------- --+

    마지막 설치 화면이 표시됩니다.

  22. 설치를 위해 선택한 사항이 표시된 Profile 화면을 검토합니다. 필요한 경우 설치 프로필을 변경할 수 있습니다. 다음 예는 마지막 설치 Profile 화면을 보여 줍니다.


    Profile
    +-------------------------------------------------------------------------- -+
    |The information shown below is your profile for installing Solaris software.|
    |It reflects the choices you've made on previous screens.                    |
    |                                                                            |
    |============================================================================|
    |                                                                            |
    |                Installation Option: Initial                                |
    |                        Boot Device: c0d0                                 |
    |              Root File System Type: ZFS                                    |
    |                    Client Services: None                                   |
    |                                                                            |
    |                            Regions: North America                          |
    |                      System Locale: C ( C )                                |
    |                                                                            |
    |                           Software: Solaris 10, Entire Distribution        |
    |                          Pool Name: rpool                                  |
    |              Boot Environment Name: szboot_0507                            |
    |                          Pool Size: 17270 MB                               |
    |                    Devices in Pool: c1t2d0                                 |
    |                                                                            |
    |                                                                            |
    |    F2_Continue      F6_Help                                                |
    +------------------------------------------------------------------------- --+
  23. Solaris 소프트웨어를 설치하려면 F2를 누릅니다. 화면에 표시되는 설명을 따라 Solaris 소프트웨어를 설치합니다.

    Solaris 대화식 텍스트 프로그램이 Solaris 소프트웨어 설치를 완료하면 시스템이 자동으로 다시 부트되거나 수동으로 다시 부트하라는 메시지가 표시됩니다.

    추가 제품을 설치하는 경우 해당 제품의 DVD 또는 CD를 넣으라는 프롬프트가 표시됩니다. 설치 과정에 대해 적절한 설치 설명서를 참조하십시오.

    설치가 완료되면 설치 로그가 파일에 저장됩니다. /var/sadm/system/logs/var/sadm/install/logs 디렉토리에서 설치 로그를 찾을 수 있습니다.

    설치가 완료됩니다.

  24. 설치 중에 자동 재부트를 선택하지 않은 경우 설치 매체를 꺼낸 다음 시스템을 다시 부트합니다.


    # reboot
    

    시스템이 재부트되면 GRUB 메뉴에 새로 설치된 Solaris OS를 포함하여 설치된 운영 체제가 나열됩니다. 부트할 운영 체제를 선택합니다. 다른 옵션을 선택하지 않으면 기본 선택이 로드됩니다.

    GRUB 메뉴 목록이 표시됩니다.


    GNU GRUB version 0.95 (637K lower / 3144640K upper memory)
    +----------------------------------------------------------------------------+
    |szboot_0507                                                                 |
    |szboot_0507 Failsafe                                                        |
    |                                                                            |
    |+---------------------------------------------------------------------------+
    
         Use the ^ and v 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.
  25. GRUB 메뉴가 표시되면 Enter를 눌러 기본 OS 인스턴스를 부트합니다. 기본값은 새로 설치된 루트 풀입니다. 이 예에서 부트 환경의 이름은 szboot_0507입니다. 10초 이내에 항목을 선택하지 않으면 시스템은 자동으로 부트됩니다.

  26. 설치가 완료되면 다음 예와 같이 ZFS 저장소 풀 결과와 파일 시스템 정보를 검토합니다.

    ZFS 루트 풀은 관리가 필요하지 않은 특별한 풀입니다. 샘플 zfs list 출력에서는 rpool/ROOT 항목과 같이 기본적으로 액세스할 수 없는 루트 풀 구성 요소를 식별합니다.


    # zpool status
      pool: rpool
     state: ONLINE
     scrub: none requested
    config:
    
            NAME        STATE     READ WRITE CKSUM
            rpool       ONLINE       0     0     0
            c1d0s0  ONLINE       0     0     0
    
    errors: No known data errors
    # zfs list
    NAME                     USED  AVAIL  REFER  MOUNTPOINT
    rpool                   6.83G  9.66G    62K  /rpool
    rpool/ROOT              5.82G  9.66G    18K  legacy
    rpool/ROOT/szboot_0507  5.82G  9.66G  5.82G  
    rpool/dump               512M  9.66G   512M  -
    rpool/swap               518M  9.66G   518M  -

    초기에 디스크 하나로 ZFS 저장소 풀을 만든 경우에는 설치 후 디스크를 미러된 ZFS 구성으로 변환할 수 있습니다. 디스크 추가 또는 연결에 대한 자세한 내용은 Solaris ZFS Administration GuideManaging Devices in ZFS Storage Pools를 참조하십시오.

다음 단계

시스템에 여러 개의 운영 체제를 설치한 경우 부트하려면 GRUB 부트 로더가 이러한 운영 체제를 인식하도록 해야 합니다. 자세한 내용은 System Administration Guide: Basic AdministrationModifying Boot Behavior by Editing the GRUB Menu at Boot Time을 참조하십시오.

일반 오류

설치 중 문제가 발생하는 경우 Solaris 10 5/09 설치 설명서: 사용자 정의 JumpStart 및 고급 설치의 부록 A, 문제 해결(작업)을 참조하십시오.