리눅스 분류
커널컴파일 후 kernel panic 상태
작성자 정보
- 이선종 작성
- 작성일
컨텐츠 정보
- 2,227 조회
- 1 댓글
- 0 추천
- 목록
본문
커널 컴파일 후에 책에 나온대로 했는데
Trying to resume from LABEL=SWAP-hda5
No suspend signature on swap, not resuming.
Creating root device
Mounting root filesystem
mount : error mounting /dev/root on /sysroot as ext3: No such device
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kell init!
이와같은 에러가 나오네요 자세히 몰라 이렇게 질문 올립니다
관련자료
-
이전
-
다음
댓글 1
난다황님의 댓글
- 난다황
- 작성일
mount : error mounting /dev/root on /sysroot as ext3: No such device
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
기본적으로 마운트해야할 디렉토리들이 마운트가 안되어있습니다.
이것이 안될경우 문제가 발생하며 root / 또한 마운트가 안되 부팅이 안됩니다.
디스크 인식이 안되는경우, grub 또는 lilo설정이 잘못되어있는경우 가 될수도 있습니다.
싱글로 부팅하셔서 하시기 바랍니다.
다른 커널이 없다면 cd로 부팅을 하셔서 다시 컴파일 하셔야 하고
다른 커널이 있는데 지정이 안되어있다면
grub 화면에서 c를치시고
root(0,0) 첫번째 하드의 경우 ..
kernel=/boot/ 여기서 tab를치시면 화일이 몇개 나옵니다.
kernel=/boot/vmlinuz-2.6.2 root=/dev/sda1 부팅 디스크
initrd=/boot/initrd-2.6.2.img 이런식으로 하시면 됩니다.
그리고 boot 하시면 됩니다.
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
기본적으로 마운트해야할 디렉토리들이 마운트가 안되어있습니다.
이것이 안될경우 문제가 발생하며 root / 또한 마운트가 안되 부팅이 안됩니다.
디스크 인식이 안되는경우, grub 또는 lilo설정이 잘못되어있는경우 가 될수도 있습니다.
싱글로 부팅하셔서 하시기 바랍니다.
다른 커널이 없다면 cd로 부팅을 하셔서 다시 컴파일 하셔야 하고
다른 커널이 있는데 지정이 안되어있다면
grub 화면에서 c를치시고
root(0,0) 첫번째 하드의 경우 ..
kernel=/boot/ 여기서 tab를치시면 화일이 몇개 나옵니다.
kernel=/boot/vmlinuz-2.6.2 root=/dev/sda1 부팅 디스크
initrd=/boot/initrd-2.6.2.img 이런식으로 하시면 됩니다.
그리고 boot 하시면 됩니다.