View previous topic :: View next topic |
Author |
Message |
wmute n00b
Joined: 20 Oct 2006 Posts: 2
|
Posted: Sat Oct 28, 2006 12:11 am Post subject: Problema com Kernel Panic |
|
|
Terminei de instalar o gentoo 2006.1 agora e quando inicio o meu sistema me retorna kernel panic
VFS: cannot open root device 302 or unknown block (3,2)
please appent a correct `root=` boot option
kernel panic - not syncing: vfs unable to mount root fs
Ja tentei recompilar o kernel e nada, eh algum erro no meu lilo.conf?
onde esta o erro? |
|
Back to top |
|
|
RoadRunner Bodhisattva
Joined: 12 Jun 2002 Posts: 490 Location: Coimbra, Portugal
|
Posted: Sat Oct 28, 2006 2:48 am Post subject: |
|
|
O problema é que o kernel não conseque montar o file system que está presente na partição que indicaste como root. Certifica-te que a tua partição de root está bem indicada e que o file system que esta partição tem está compilada no kernel "built in", não como módulo. |
|
Back to top |
|
|
sergio3010 n00b
Joined: 09 Jul 2006 Posts: 11
|
Posted: Sat Nov 04, 2006 4:42 pm Post subject: |
|
|
Eu também tô com um problema parecido, mas o meu suporte a ext2 e ext3 no kernel estão built-in e meu lilo.conf é esse:
Code: | # cat /etc/lilo.conf
# $Header: /var/cvsroot/gentoo-x86/sys-boot/lilo/files/lilo.conf,v 1.2 2004/07/18 04:42:04 dragonheart Exp $
# Author: Ultanium
#
# Start LILO global section
#
# Faster, but won't work on all systems:
#compact
# Should work for most systems, and do not have the sector limit:
lba32
# If lba32 do not work, use linear:
#linear
# MBR to install LILO to:
boot = /dev/hda
map = /boot/.map
# If you are having problems booting from a hardware raid-array
# or have a unusual setup, try this:
#disk=/dev/ataraid/disc0/disc bios=0x80 # see this as the first BIOS disk
#disk=/dev/sda bios=0x81 # see this as the second BIOS disk
#disk=/dev/hda bios=0x82 # see this as the third BIOS disk
# Here you can select the secondary loader to install. A few
# examples is:
#
# boot-text.b
# boot-menu.b
# boot-bmp.b
#
# Note that for lilo-22.5.5 or later you
# do not need boot-{text,menu,bmp}.b in
# /boot, as they are linked into the lilo
# binary.
menu-scheme=Wb
prompt
# If you always want to see the prompt with a 15 second timeout:
timeout=150
delay = 50
# Normal VGA console
vga = normal
# VESA console with size 1024x768x16:
#vga = 791
#
# End LILO global section
#
#
# Linux bootable partition config begins
#
image = /boot/vmlinuz-2.6.16.30-i386-1
root = /dev/hda2
#root = /devices/discs/disc0/part3
label = Gentoo
read-only # read-only for checking
#
# Linux bootable partition config ends
#
#
# DOS bootable partition config begins
#
#
# DOS bootable partition config ends
#
|
o que pode ser o problema?
ps. meu /dev/hda1 é a swap e o /dev/hda2 é o sistema em si. _________________ Liberdade ainda que tardia. |
|
Back to top |
|
|
MetalGod Bodhisattva
Joined: 10 Mar 2003 Posts: 816 Location: Portugal
|
Posted: Sat Nov 04, 2006 6:55 pm Post subject: |
|
|
metodo para nunca te enganares -> emerge genkernel
genkernel --bootloader=grub all _________________ ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice |
|
Back to top |
|
|
oandarilho01 Tux's lil' helper
Joined: 17 Nov 2005 Posts: 132 Location: Rio de Janeiro/RJ - Brasil
|
Posted: Wed Nov 15, 2006 1:20 am Post subject: |
|
|
Que isso, MetalGod..... deixa o rapaz brincar de setar as coisas na mão..
cara, tua configuração está bem parecida com a minha, mas sei lá, tenta usar o linear ao invés do lba32. Esse teu hd está jumpeado corretamente? Não está naquele modo de limitação 32GB não, né?
Experimente tb recompilar o kernel para certificar de que não houve nenhum erro.. Ale de, claro, tentar bootar com opção linux=single para averiguar.. |
|
Back to top |
|
|
|