[완료]centos with ubuntu dual booting
글쓴이: jungwook / 작성시간: 수, 2010/03/24 - 11:50오전
음.. 설정이 너무 어렵네요.
원래 우분투가 설치되어 있었고, 남는 파티션에 centos를 설치하였습니다.
지금은 centos로만 부팅이되고 우분투로는 부팅이 안되네요.
구글에서 이것저것 찾아서 해봐도 안되고 도움부탁드릴께요
처음에는 간단히 centos의 menu.list에 우분투의 menu.list를 긁어붙이면 되는줄 알았는데
안되더라구요.
그래서 이래저래 찾아보고 설정을 바꿔봐도 안돼서 질문드립니다.
현재는 구글에서 찾은
http://ubuntuforums.org/showthread.php?t=601595
이대로 하였는데 ubuntu의 grub을 못찾는것 같네요.
grub> setup (hd0) Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... no Error 2: Bad file or directory type
이렇게 나오네요.
2번 에러는 요청된 파일이 정규파일이 아닌때 에러가 생긴다는데.. ㅡㅡ;
grub> root (hd0,8) Filesystem type is ext2fs, partition type 0x83 grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,8)/boot/grub/stage2 /bo ot/grub/grub.conf"... succeeded Done.
이렇게 하면 잘되네요.
ㅡㅡ; 흠.. 어디부터 손봐야할까요?
해결
설치도 다시해보고 했는데 쩝. 간단히 해결됐네요.
음.. 가장 중요한건
grub> find /boot/grub/stage1
해서 partition을 잡고 있는지네요. 우분투에서 centos부분의 파티션이 존재해서
우분투에 있는 menu.list에 centos의 menu.list에 나오는 부분을 추가하니 됐네요. ㅎㅎ 굿굿
Forums:
음...
grub> find /boot/grub/stage1
을 눌러보면 centOS 설치된 파티션만 나오네요.
그럼 ubuntu에 설치된 grub은 삭제된 건가요??
음.. 이상황에서 centOS를 지우면 우분투의 grub으로 부팅이 되는건지.. ㅡㅡ;
음.. 자문 자답 ㅎㅎ
일단
http://kldp.org/node/72332
참고해서 우분투의 grub을 살렸네요. 우분투에 저장된 데이터가 많아서. ㅎㅎ
우분투 grub에는 centos의 grub부분도 잡혀서 꼭 듀얼부팅을 성공해야겠네요.
댓글 달기