Hola Amigos!
Hace dos semanas que estoy tratando de compilar, sin éxito, el kernel 2.6.6.
Tengo que compilarlo si o si, porque estoy en sarge con el kernel que me
vino con woody (2.2.26)
El problema es que luego de la compilación, al iniciar con el kernel nuevo,
me sale:
... into ram disk... done.
Kernel Panic: VFS: unable to mount root fs on hdb5
Entre ambas lineas no hay nada.
En estas dos semanas me recorri todo google, asi que probe todas las
respuestas que encontre y nada: fstab y sysfs, lilo y initrd, compilar ext2
no como módulo, etc. Asi que, esperando no aburrirlos y con el fin de ir
descartando algunas posibles respuestas, voy a postear lo que en los foros
que consulté, solían pedir:
COMO COMPILÉ
1) Obtenerlo del www.kernel.org
2) Ponerlo en /usr/src
3) # cd /usr/src
4) # tar xvfjp linux-2.6.6.tar.bz2
5) (si se recompila, borrar en /boot bzimage, config-2.6.6 e
intrd.img-2.6.6)
6) # make mrproper
7) # make menuconfig
8) Configurar las opciones
9) # make
10) # make modules_install
11) # cp ./arch/i386/boot/bzImage /boot/vmlinuz-2.6.6
12) # cp /usr/src/linux-2.6.6/.config /boot/config-2.6.6
13) # mkintrd /boot/intrd.img-2.6.6 2.6.6
14) Editar lilo
15) # lilo
16) Reiniciar
MI LILO
lba32
boot=/dev/hda
root=/dev/hdb5
install=/boot/boot-menu.b
map=/boot/map
# Boot up Linux by default.
#
default=Linux
image=/boot/vmlinuz-2.6.6
root=/dev/hdb5
label=Linux
initrd=/boot/initrd.img-2.6.6
read-only
# restricted
# alias=1
image=/boot/vmlinuz-2.2.20
label=LinuxOLD
read-only
optional
# restricted
# alias=2
other=/dev/hda1
label="WinNT(hda1)"
MI FSTAB
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hdb5 / ext2 errors=remount-ro 0 1
/dev/hdb8 none swap sw 0 0
proc /proc proc defaults 0 0
none /sys sysfs defaults 0
0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
/dev/hdb6 /usr ext2 defaults 0 2
/dev/hdb7 /home ext2 defaults 0 2
/dev/hda1 /mnt/windows ntfs auto 0 0
DATOS DE MI COMPU:
P III, 2 discos Western Digital de 20GB IDE (hda con w2k y hdb con SARGE),
hdc y hdd son lectora y grabadora ide, sonido: YAMAHA OPL3SAX, video: VOODOO
BANSHEE (3dfx), nada de SCSI, USB y ni cosas raras. No se que otro dato
puede ser útil.
SECCIONES POSIBLEMENTE RELEVANTES DE MI ./CONFIG-2.6.6 EN /BOOT
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
# CONFIG_BLK_DEV_IDEPCI is not set
# CONFIG_IDE_CHIPSETS is not set
# CONFIG_BLK_DEV_IDEDMA is not set
# CONFIG_IDEDMA_AUTO is not set
# CONFIG_BLK_DEV_HD is not set
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_IDEDISK_STROKE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_IDE_TASK_IOCTL is not set
# CONFIG_IDE_TASKFILE_IO is not set
#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
# CONFIG_BLK_DEV_IDEPCI is not set
# CONFIG_IDE_CHIPSETS is not set
# CONFIG_BLK_DEV_IDEDMA is not set
# CONFIG_IDEDMA_AUTO is not set
# CONFIG_BLK_DEV_HD is not set
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
CONFIG_ROMFS_FS=y
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=y
# CONFIG_UDF_FS is not set
#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
CONFIG_VFAT_FS=m
CONFIG_NTFS_FS=y
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set
#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
# CONFIG_DEVFS_FS is not set
# CONFIG_DEVPTS_FS_XATTR is not set
# CONFIG_TMPFS is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
FINALIZANDO....
Gracias a todos por leer este choclazo, en realidad no sabía como plantearlo
de una manera más resumida, y conseguir descartar lo que ya había probado.
Espero no haber molestado.
Por favor, denme una mano que recien estoy empezando y aprendiendo y estoy
muyyy entusiasmado. Gracias amigos.
Gab
(resistirse no es fútil ... no seremos asimilados ... debian es mucho mas
que un SO)
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail