삽질

커널 설치 중 에러 해결 (grubby recieved SIGSEGV, grubby fatal error: unable to find a suitable template)

jjoell 2012. 11. 19. 09:11

커널 컴파일 중 install 과정에서 에러남...


[root@Fedora13_QA linux-2.6.34.13]# make install

sh /usr/src/linux-2.6.34.13/arch/x86/boot/install.sh 2.6.34.13 arch/x86/boot/bzImage \

                System.map "/boot"

grubby recieved SIGSEGV!  Backtrace (8):

/sbin/grubby[0x804f898]

[0x20e400]

/lib/libc.so.6[0x847c28]

/sbin/grubby[0x804e1d4]

/sbin/grubby[0x804e32d]

/sbin/grubby[0x804f644]

/lib/libc.so.6(__libc_start_main+0xe6)[0x72dcc6]

/sbin/grubby[0x80490a1]


yum으로 grubby를 업데이트 해줌

  Updating       : grubby-7.0.16-1.fc13.i686                                                                                     1/2

  Cleanup        : grubby-7.0.13-1.fc13.i686                                                                                     2/2



....또 다른 에러가 대신 뜬다

[root@Fedora13_QA linux-2.6.34.13]# make install

sh /usr/src/linux-2.6.34.13/arch/x86/boot/install.sh 2.6.34.13 arch/x86/boot/bzImage \

                System.map "/boot"

grubby fatal error: unable to find a suitable template



/etc/grub.conf (심볼릭 링크다)를 지워본다.

[root@Fedora13_QA etc]# rm grub.conf



다시 설치 시도


[root@Fedora13_QA linux-2.6.34.13]# make install

sh /usr/src/linux-2.6.34.13/arch/x86/boot/install.sh 2.6.34.13 arch/x86/boot/bzImage \

                System.map "/boot"

[root@Fedora13_QA linux-2.6.34.13]#

성공~~~~~인 것처럼 보이나 /boot/grub.conf가 수정이 전혀 안 되어 있다. 수동으로 설정하면 된다.