GRUB에 대한 질문입니다.

hyper9의 이미지

다들 알고 계시는 내용을 질문드리는 것 같긴하지만,,그래도
그냥 찾아보라는 말씀말고 답변을 달아주시면 감사하겠습니다. ^^

질문의 내용은 /boot/에 보면 stage1, stage2, stage1_5 와 같은
이름을 가진 file들이 보이는데요,,

이 file들의 역할과 목적이 어떤건지,,궁금해서요 ..
여러분이 알려주시기 전에 혹시 제가 답을 찾는다면,,,
제가 update 를 하겠습니다..

하지만,아마도 답변을 먼저 받지 않을까,,기대가 되는데요 ^^
부탁드립니다 ~

Prentice의 이미지

http://www.gnu.org/software/grub/manual/html_node/Images.html#Images

stage1은 MBR이나 부트섹터 등에 설치됩니다.
stage2가 실제 일을 하는 일꾼이고 보통은 파일시스템 상에 존재합니다.

stage1.5는 stage1과 stage2를 이어주는 역할을 하며 파일시스템 별로 종류가 나뉩니다. stage1.5는 파일시스템을 읽을 수 있습니다.

hyper9의 이미지

그럼...
stage1, stage2, stage1_5는 모두 grub을 compile & install하면서 생겨나는
binary file인 셈이겠네요 ..

이 file들을 다른 PC에 copy해 넣고 쓰는 데는 전혀 문제가 없나요?
예를 들면 PC 2대에 모두 Grub & Linux가 설치되어 있다가
한 쪽에 /boot가 손상되어 stage1, stage2, stage1_5등이 없어졌다면
다른 PC에서 copy해다가 넣어도 되는건지 싶어서요,,

또 답변을 주실걸로 믿고 미리 감사드립니다. ^^

hyper9의 이미지


kernel /vmlinuz-2.6.24 ro root=/dev/hda3 PROMPT_NO console=tty0 console=ttyS0, 9600 nmi_watchdog=2

라는 문자이 grub의 menu.lst에 있는데요,,

PROMPT_NO 부터는 어떤의미인지 잘 모르겠네요,
이것도 질문을 드리고 싶어서요,,
부탁드립니다. ^^

hyper9의 이미지

installroot를 정해서 Grub을 install했거든요..

예를 들면,,rpm -ivh --root /home/new_linux/ /home/fc7_rpms/grub-0.97-13.i386.rpm
이렇게 하고 나서 내용을 보니,,,

/new_linux/boot/아래에는 /grub이라는 directory가 딱 하나생겨있고,
그 /grub 아래에는 splash.xpm.gz 라는 file이 딱 하나 존재하네요..

이렇게 설치되는 게 맞는건가요?
PC에 설치되어 있는 Linux의 /boot에 가보면, /grub아래에
stage1, stage2, 등등 많은 file이 보이거든요,

이런 file은 어떻게 만들어지는 건가요??
너무 기본적인걸 모르고 있다는 생각이 드네요 ㅜㅜ
도움 부탁드립니다 .~

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.