Handbook:IA64/Installation/Bootloader/ko

From Gentoo Wiki
Jump to:navigation Jump to:search
This page is a translated version of the page Handbook:IA64/Installation/Bootloader and the translation is 100% complete.
IA64 핸드북
설치
설치 정보
매체 선택
네트워크 설정
디스크 준비
스테이지 3 설치
베이스 시스템 설치
커널 설정
시스템 설정
도구 설치
부트로더 설정
마무리
젠투 활용
포티지 소개
USE 플래그
포티지 기능
초기화 스크립트 시스템
환경 변수
포티지 활용
파일 및 디렉터리
변수
소프트웨어 브랜치 함께 사용하기
추가 도구
꾸러미 저장소 개별 설정
고급 기능
네트워크 설정
시작하기
고급 설정
모듈러 네트워크
무선 네트워크
기능 추가
동적 관리


IA64 플랫폼에서 부트로더를 elilo라고 합니다. 먼저 프로그램을 시스템에 설치하십시오:

elilo (old and tested)

root #emerge --ask sys-boot/elilo

설치 파일은 /etc/elilo.conf 이며, 보통 예제 파일은 문서 디렉터리(/usr/share/doc/elilo-<version>/)에 있습니다. 또 다른 예제는 아래에 있습니다:

파일 /etc/elilo.confelilo 설정 예제
boot=/dev/sda1
delay=30
timeout=50
default=Gentoo
append="console=ttyS0,9600"
prompt
  
image=/vmlinuz
	label=Gentoo
	root=/dev/sda3
	read-only
  
image=/vmlinuz.old
	label=Gentoo.old
	root=/dev/sda3
	read-only

boot 행은 부트 파티션 위치를 elilo에 알려줍니다(이 경우 /dev/sda1). delay 행은 비 대화식 모드에서 기본으로 자동 부팅할 때 기다릴 시간을 10초 단위 시간으로 설정합니다. timeout 행은 delay 행과 비슷하지만 대화식 모드에 대한 설정입니다. default 행은 기본 커널 항목(아래에 정의)을 설정합니다. append 행은 커널 명령 줄에 첨부할 추가 옵션입니다. prompt 에는 대화식 모드일 때 elilo의 기본 동작을 설정합니다.

image로 시작하는 섹션은 다른 부팅 이미지를 정의합니다. 각 이미지는 깔끔한 레이블을 보유하고 있으며, 루트 파일 시스템은 읽기 전용으로만 마운트합니다.

커널을 빌드하는 동안 마찬가지로 initramfs도 빌드했다면, 이 파일도 참조하도록 설정을 바꾸어야 하며, initramfs에 루트 장치가 어디에 있는지도 알려야합니다:

파일 /etc/elilo.confinitramfs를 사용하도록 반영한 최신 설정
image=/vmlinuz
	label=Gentoo
	initrd=/initramfs-genkernel-ia64-3.16.5-gentoo
	append = "initrd=initramfs-genkernel-ia64-3.16.5-gentoo
	root=/dev/sda3
	console=ttyS0,9600"
	read-only

설정이 끝나면 elilo --efiboot를 실행하십시오. --efiboot 옵션은 젠투 리눅스 메뉴 항목을 EFI 부팅 관리자에 추가합니다:

root #elilo --efiboot

GRUB (new and shiny)

The setup is a generic efi-64 process (tested at least on rx3600). Enable efi-64 application for grub:

파일 /etc/portage/make.conf
GRUB_PLATFORMS=efi-64
Install grub package:
root #emerge --ask sys-boot/grub

Install grub EFI application:

root #grub-install

This will install grubia64.efi into /boot/efi (default EFI partition location).

Generate bootloader config with menu entries:

root #grub-mkconfig --output=/boot/grub/grub.cfg

Add an EFI boot entry to run /EFI/gentoo/grubia64.efi as a boot loader. TODO: provide exact Efibootmgr command that adds an entry.


시스템 다시 부팅

chroot로 진입한 환경을 빠져나가고 모든 파티션의 마운트를 해제하십시오. 그 다음 대미를 장식할 마법의 명령을 입력하여, 실제로 시험해보십시오: reboot.

root #exit
cdimage ~#cd
cdimage ~#umount -l /mnt/gentoo/dev{/shm,/pts,}
cdimage ~#umount -R /mnt/gentoo
cdimage ~#reboot

물론 부팅 CD를 제거하는걸 잊지 않으면 새 젠투 시스템 대신 CD로 부팅합니다.

새로 설치한 젠투 환경으로 다시 부팅하고 나면, 젠투 설치 마무리로 끝내십시오.