Handbook:SPARC/Blocks/Bootloader/ko

GRUB2
When selecting a 64-bit profile during installation, then GRUB is the only supported bootloader.

Emerge
GRUB should be correctly configured for the platform automatically based on the profile. To make it explicit, however, specify it using:





The GRUB2 software has now been merged to the system, but not yet installed.

Install
If the disk is partitioned using GPT (the preferred method), then install GRUB to the BIOS boot partition. Presuming the first disk (the one where the system boots from) is, the following commands will do:



If the disk is partitioned using a Sun partition table instead, GRUB must be installed using blocklists. In this mode, instead of providing the physical disk as an argument, provide the path to the partition on which is mounted.

Configure
Next, generate the GRUB2 configuration based on the user configuration specified in the file and  scripts. In most cases, no configuration is needed by users as GRUB2 will automatically detect which kernel to boot (the highest one available in ) and what the root file system is. It is also possible to append kernel parameters in using the GRUB_CMDLINE_LINUX variable.

To generate the final GRUB2 configuration, run the command:

The output of the command must mention that at least one Linux image is found, as those are needed to boot the system. If an initramfs is used or was used to build the kernel, the correct initrd image should be detected as well. If this is not the case, go to and check the contents using the  command. If the files are indeed missing, go back to the kernel configuration and installation instructions.

SPARC 부트로더 SILO
이제 Sparc Improved boot LOader SILO를 설치하고 설정할 차례입니다.

그 다음 를 만드십시오:

아래에 파일 내용을 나타냈습니다. 이 책에서 언급한 공간 분할 방식과 kernel- 커널 이미지, initramfs-genkernel-sparc64- initramfs를 활용합니다.

포티지로 가져온 예제 파일을 사용할 때, 모든 줄이 필요한건 아니므로 주석처리했는지 확인하십시오.

SILO(부트로더)를 설치하는 물리 디스크와 를 저장하는 물리 디스크가 다르다면, 파일을 부트로더 디스크에 먼저 복사하십시오. 디스크에서 파티션을 따로 나누었다면, 에 파일을 복사하시고 를 실행하십시오:

아니면 그냥 를 실행하십시오: