grub 설정

동이의 이미지

여러고수님 덕분에 결국 젠투에 grub 설치하고 부팅까지 시켰습니다. 정말 지치네요. 부팅까지 되고 다 좋은데. 부팅된 상태에서 /boot 내 파일은 텅텅비었습니다. ??? 어찌된일인지 모르겠네요.

어떤 분께서 알려주신 grub 설정입니다.
------------------------------------------------------------------------------------
/boot 로 라벨링 되어 있는 hda1에 /grub 라는 디렉토리가 있어야 합니다.
그 디렉토리 안에는 stage1, stage2, grub.conf, splash.xpm.gz 이렇게 4개의 파일이 있다고 생각하겠습니다.

먼저 grub.conf 파일의 내용에 아래와 같이 적어 넣습니다.
코드:
timeout=10
default=0
splashimage=(hd0,0)/grub/splash.xpm.gz

#gentoo section
title gentoo linux
root (hd0,0)
kernel /kernel-2.4.26-gentoo-r11 ro root=LABEL=/ <--레드햇이 아니므로 /root=/dev/hda2 로 고쳤습니다.
initrd /initrd-2.4.26-gentoo-r11

그리고나서,
텀에서 grub 를 실행 시킵니다. grub 쉘이 실행되면 아래의 명령을 차례로 입력합니다.
코드:
grub> root (hd0,0)
grub> install /grub/stage1 d (hd0)/grub/stage2 0x8000 p
grub> quit

----------------------------------------
이렇게 해주고
# etc-update
# exit
# cd /
# umount /mnt/gentoo/boot
# umnout /mnt/gentoo/proc
# umount /mnt/gentoo
# reboot

부팅되고나서
# cd /boot
# ls
#

이렇게 됩니다.

bigpooh의 이미지

글을 보니 아마 /etc/fstab 의 문제가 아닐까 합니다
/etc/fstab 을 여신뒤 자동으로 /boot 를 부팅시 mount 하도록 설정하세요.
그런데 반드시 /boot 가 mount 될 필요가 있나요?
필요하실때만 하시는게 :D

동이의 이미지

음 /etc/fstab 화일상 마운트 포인트는 지정해 주었습니다.
다만, 위에 남겨좋은 과정은 설치과정의 순서일뿐입니다.

하나보다 둘이 낫다. 그리고 둘보다 셋이....셋보다 넷이..

댓글 달기

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