커널 설치 후 부팅 하는데 x가 안뜨고 initramfs prompt가 드네요

kingljgo의 이미지

커널 업그레이드에 관해 몇번 질문글 올렸던 초짜 리눅서입니다

컴파일도 은근슬쩍 넘어가고

커널 패닉도 오늘에서야 configuration 바꿔가면서 은근슬쩍 넘어갔는데

이젠 제목과 같은 문제가 생기네요

부팅하고 esc
grub 메뉴에서

Ubuntu 8.04.3 LTS, kernel 2.6.23-rtai(설치한 커널)

를 선택하면

Uncompressed Linux, Ok, booting the kernel. 이 나오면서 시작 로딩 화면 나오구요. 그런데 이게 꽤 오래 지속됩니다

그러고 난 다음에 x 화면의 로그인 창이 뜨는게 아니라

BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu12) Built-in shell (ash)
Enter 'help; for a list of built-in commands.

(initramfs)_

와 같은 쉘이 뜹니다

로딩과 위의 프롬프트 사이의 로그는 그리 길지 않은데요 내용은 이렇습니다.

Loading, please wait...
Check root = bootarg cat /proc/cmdeline
or missing modules, devices : cat /proc/modules ls /dev
ALERT! /dev/disk/by-uuid/107411d1-0b87-4bc7-8348-1f94c33803a5 does not exist. Dropping to a shell!

아! 그리고 /boot/grub/menu.lst 내용은 다음과 같습니다.

# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=107411d1-0b87-4bc7-8348-1f94c33803a5 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 8.04.3 LTS, kernel 2.6.24-26-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-26-generic root=UUID=107411d1-0b87-4bc7-8348-1f94c33803a5 ro quiet splash
initrd /boot/initrd.img-2.6.24-26-generic
quiet

title Ubuntu 8.04.3 LTS, kernel 2.6.24-26-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-26-generic root=UUID=107411d1-0b87-4bc7-8348-1f94c33803a5 ro single
initrd /boot/initrd.img-2.6.24-26-generic

title Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=107411d1-0b87-4bc7-8348-1f94c33803a5 ro quiet splash
initrd /boot/initrd.img-2.6.24-24-generic
quiet

title Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=107411d1-0b87-4bc7-8348-1f94c33803a5 ro single
initrd /boot/initrd.img-2.6.24-24-generic

title Ubuntu 8.04.3 LTS, kernel 2.6.23-rtai
root (hd0,0)
kernel /boot/vmlinuz-2.6.23-rtai root=UUID=107411d1-0b87-4bc7-8348-1f94c33803a5 ro quiet splash pnpbios=off
initrd /boot/initrd.img-2.6.23-rtai
quiet

title Ubuntu 8.04.3 LTS, kernel 2.6.23-rtai (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.23-rtai root=UUID=107411d1-0b87-4bc7-8348-1f94c33803a5 ro single
initrd /boot/initrd.img-2.6.23-rtai

title Ubuntu 8.04.3 LTS, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

커널 설치시에 모듈이 잘못된것 같기도 하고, grub설정이 잘못된것 같기도 한데
어떤 종류의 문제입니까? 어떻게 고쳐야 할까요?

최소한 어떤 종류의 문제인지만 가르쳐주셔도 큰도움이 될것 같습니다^^

kingljgo의 이미지

며칠 기다렸는데 가르쳐주시는 분이 안계시네요
다들 모르시는 건 아닐것같은데
나름 구글링으로 많이 검색해봤는데 해외 포럼에는 이런 현상에 대한 질문글이 많은데 정작 완전한 해결책을 제시하는 글은 안보이네요
이런 현상을 겪어보신분이나 해결방법을 알고 계신분은 꼭 좀 도와주세요^^

visualplus의 이미지

ALERT! /dev/disk/by-uuid/107411d1-0b87-4bc7-8348-1f94c33803a5 does not exist. Dropping to a shell!

하드를 못찾는거 아닌가요?
uuid에 대해 검색 조금 해보시면 uuid 값 알아내고 설정하는 방법 알 수 있으실거에요
uuid값 수정 해 보세요~

kingljgo의 이미지

uuid 파일을 찾아서 저 grub 라인과 비교해보라는 말씀이세요?
그건 이미 확인했구요 지정된 폴더에 정확히 있었습니다
다이렉트로 /dev/sda1으로 지정도 해봤구요ㅠㅠ

그 말씀이 아니라면 좀더 자세히 알려주시겠습니까?

visualplus의 이미지

음.. 네 그게 맞아요..ㅎㅎ;;
그게 아닌가보군요.

제가 잠깐 검색해본 블로그에는 2가지 방법이 나와있는데
grub에 rootdelay=130를 추가해주는 것과, grub재설치가 있네요.
도움이 되실지 모르겠습니다..

http://blog.foxb.kr/216
http://blog.foxb.kr/89

doodoo의 이미지

kernel /boot/vmlinuz-2.6.24-26-generic root=UUID=107411d1-0b87-4bc7-8348-1f94c33803a5 ro quiet splash
에 있는 내용을 보아하니 root 파일 시스템 입니다.

즉 root 파일 시스템을 못 찿은 거겠지요...

lsmod 하셔서 모듈로 메인보드의 hdd 디바이스 드라이버, 파일시스템 드라이버 등을 확인해 보시구요.
없으면...컴파일 할때 모듈 컴파일을 못한 것인지...아니면..커널안에 직접 내장한 것인지..
이것저것을 좀 보셔야 할것 같습니다.

xfs                   568592  7
vfat                   21120  2
fat                    65592  1 vfat

제것을 일부 발췌했습니다.... xfs 파일시스템을 위한 드라이버 등등이 보입니다.

댓글 달기

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