Korea FreeBSD Users Group News, Internal, Projects, Home
Software, Support, Documentation

ÇÁºñ¿¡¼­ grub¼³Ä¡¹× ¼³Á¤¿¡ °üÇØ ¹®ÀÇ µå¸³´Ï´Ù.



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

[ÀÌÀü ±Û] [´ÙÀ½ ±Û] [ÀÌÀü ´ñ±Û] [´ÙÀ½ ´ñ±Û]


메일링 리스트 가입 한다고 보내놓고나서 바로 질문하네요^^;;

프비 공부하면서 물어보려고 할때 메일 주소가 메일링 리스트라고 적혀있는
곳으로 보내면 되나요?
혹시 외국사람한테 물어보고, 답변이 오는건 아닌지--;;;

grub에 대해 여지껏의 대해 문제 입니다. 좀 기네요..

하드디스크 2개가 달려있는데 첫번째 하드에는 윈2000, 레드햇7.3,
프비4.8-stable 세개를 깔았습니다.
파티션은 1- win2000(ntfs)
	  2- freebsd -a:/ -b:swap -c:/tmp -d:/home -e:/var -f:/usr
	  3- redhat 7.3
이렇게 3개를 깔아서 사용합니다.

윈2000 - 프비 - 레드햇 순서로 설치를 했는데 예전에는 잘되던 grub로 부팅이
안됩니다.
2000하고, 레드햇은 잘 되는데, 프비가 이상하게 부팅이 안됩니다.

grub.conf파일 내용
--------------------------------------------
default = 1
timeout = 10
splashimage = (hd0,2) /boot/grub/splash.xmp.gz

title	RedHat Linux(2.4.18-3)
	root(hd0,2)
	kernel /boot/vmlinuz-2.4.18-3
	initrd /boot/initrd-2.4.18-3.img

title	win2000
	rootnoverify (hd0,0)
	chainloader +1

title	FreeBSD
	root(hd0,1,a)
	kernel /boot/loader
----------------------------------------------------------------------------
------
이렇게 되어있는데 프비만 부팅이 안됩니다.
메뉴에서 프비 선택하면
grub>booting'FreeBSD'
grub>kernel /boot/loader
Error 15 : File not found 하고 에러가 납니다.

command모드에서

grub> root (hd0,1,a)
File system type is ffs, partition type 0xa5

grub> kernel /boot/loader
[FreeBSD-a.out, loadaddr=0x200000, text = 0x1000, data=0x24000, bss=0x0x,
entry=0x200000

grub> boot -----> 하면 다운됩니다.

프비 다시 설치한후, 포트로 grub깔았습니다.
다른 옵션으로는 별 문제가 없는데 device선택하는게 자꾸 문제가 생깁니다.
#grub-install '(hd0)'
/dev/ad0s2a does not have any corresponding BIOS drive 가 나옵니다..
stage1, stage2, ffs_stage1_5 파일을 /boot/grub/으로 카피한후, grub를
실행시켰습니다.

grub> find stage1
(hd0,1,a)
(hd0,2) - 리눅스에도 있어서 이리 나오나 보져^^;

grub> root (hd0,1,a)
Filesystem type is ffs, partition type 0xa5

grub> setup(hd0)
checking if " /boot/grub/stage1" exists... yes
checking if " /boot/grub/stage2" exists... yes
checking if " /boot/grub/ffs_stage1_5"exists... yes
Runnig"embed /boot/grub/ffs_stage1_5 (hd0)"... 15sectors are embedded.
succeeded.
Runnig"install /boot/grub/stage1 (hd0) (hd0)1+15 p
(hd0,1,a)/boot/grub/stage2 /boot/grub/menu.lst"...succeeded.

grub>quit

설정파일들이 생겼을까 해서 봤는데 설정파일이 없어서 직접
/boot/grub/grub.conf를 만들었습니다.
위에 grub.conf파일에서 그림 이미지만 없애고, 만든후 재부팅 하면 원하는
메뉴는 안나오고,
grub> 하고 나옵니다.

윈2000 및 프비 부팅할때 설정된대로 쳐주면 부팅은 됩니다.
grub> rootnoverify (hd0,0)
grub> chainloader +1 -boot

grub> root (hd0,1,a)
grub> kernel /boot/loader
grub> boot
일단 원하는 대로 되서 잘되긴 한건데요,

리눅스를 다시 깔면 또 부팅 안될까도 걱정이고,
grub-install 에서의 문제를 어찌 해결해야 할지 모르겠습니다.
아직 영어가 너무 모자라서.....
안녕히계세요



--
Please look and take part in KFUG FAQ: <http://www.kr.freebsd.org/FAQ-kr/>
To Unsubscribe: send mail to majordomo@xxxxxxxxxxxxxx
with "unsubscribe questions" in the BODY of the message



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

Copyright © 1998-2005 Korea FreeBSD Users Group.
All rights reserved. webmaster at kr.FreeBSD.org
$Date: 2003/04/30 23:01:23 $
Powered by FreeBSD