Recovering GRUB after installing Windows XP

penance의 이미지

이런 주제로 많은 사람들이 골치를 썩였고

수많은 qna가 있었다는 걸 알고 찾아보고 별 시도를 다 해봤는데

해결하지 못해서 질문 드립니다.

Fedorea Core 2
Kernel 2.6.11
hdd : hda only

/dev/hda1 ntfs
/dev/hda2
/dev/hda3
/dev/hda5 linux(fc2)
/dev/hda6 swap
/dev/hda7 linux

1. grub-install을 이용한 시도

>grub-install hd0

The file /boot/grub/stage1 not read correctly란

에러메시지가 떠서 실패

2. grub을 이용한 시도

>root (hd0,5)

>setup (hd0)

checking if "/boot/grub/stage1" exists
checking if "/boot/grub/stage2" exists
checking if "/boot/grub/e2fs~~" exists
running embed /boot/grub/2fs_stage1.5

runnging "install /boot/grubstage1 (hd0) (hd0)1+15 p (hd0,5)/boot/grub /boot/grub/grub.conf failed

이런 에러메시지가 떠서 피를 말립니다.

리눅스로 엄청난 걸 바라는 것도 아니고
다만 윈도와 리눅스가 공존하는 편안한 컴퓨팅 환경을 원하는데
이것도 이렇게 골치아플 줄이야 TT

부탁드립니다.

Prentice의 이미지

GRUB에서 파티션 번호는 0에서 시작하고, 확장파티션은 4에서 시작합니다.

hda5면 hd(0,4)입니다.

penance의 이미지

집에 있는 하드에서 ext2는 2개, 하나는 스왑

나머지는 ntfs인데

root인가 find 명령을 해서 체크했더니

(hd0,5)에서 ext2가 체크되었습니다.

(hd0,5)가 맞고

(hd0,4)에서는 잡히지 않았습니다.

Prentice의 이미지

/boot 파티션을 따로 쓰시나요?

penance의 이미지

/boot 파티션은 따로 쓰지 않고

/dev/hda5에 모두 넣었습니다.

나머지 linux 파티션 하나는 그냥 나중에

Linux From Scratch에 나오는거 따라하려고 남겨두었습니다.

Fe.head의 이미지

간편 GRUB의 메뉴파일 만들기

/boot/grub directory를 백업받으신다음에
/boot/grub directory를 지워버리시고 위의 방법으로 해보시기 바랍니다.

고작 블로킹 하나, 고작 25점 중에 1점, 고작 부활동
"만약 그 순간이 온다면 그때가 네가 배구에 빠지는 순간이야"

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.