Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error de fsck al arrancar
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
Melguizo
n00b
n00b


Joined: 08 Jul 2003
Posts: 5

PostPosted: Tue Jul 08, 2003 9:04 pm    Post subject: Error de fsck al arrancar Reply with quote

Hola, escribo este post porque tengo un problemilla que me está volviendo medio loco. Resulta que al arrancar, cuando se chequea la particion donde se encuentra el directorio raíz (/dev/hda4 en mi caso), me aparece el siguiente mensaje:

Code:
fsck:error
fsck:fsck.ext3:not found
fsck:Error 2 while executing fsck.ext3 for /dev/hda4


Espero que alguien pueda ayudarme.

Un saludo.
Back to top
View user's profile Send private message
Logic Temptation
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2003
Posts: 102

PostPosted: Tue Jul 08, 2003 9:30 pm    Post subject: Reply with quote

Si realizas haces # man fsck alli encontraras los codigos de salida que retorna 'fsck', creo que el Error 2, es un 'exit code':

0 - No errors
1 - File system errors corrected
2 - System should be rebooted
4 - File system errors left uncorrected
8 - Operational error
16 - Usage or syntax error
32 - Fsck canceled by user request
128 - Shared library error

Reinicia a ver que passa... y si asi no se te repara prueba en cargar el LiveCD de Gentoo y realizar un # fsck -a -t ext3/dev/hda4.

Suerte. :roll:
_________________
Gentoo Linux 2.6.1-gentoo-r1

Linux User => #320254
Linux Machine => #205170
ID-GnuGPKey => 0x6CF318D7 (pgp.escomposlinux.org)
Back to top
View user's profile Send private message
Melguizo
n00b
n00b


Joined: 08 Jul 2003
Posts: 5

PostPosted: Tue Jul 08, 2003 9:44 pm    Post subject: Reply with quote

He hecho justo lo que me has dicho pero sigue apareciendo el dichoso mensajito.
Back to top
View user's profile Send private message
Logic Temptation
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2003
Posts: 102

PostPosted: Tue Jul 08, 2003 10:04 pm    Post subject: Reply with quote

Jejeej te diria como solucione yo un problema con la particion, pero fui muy bestia! ;) tambien podrias probar con hacer el 'fsck' a todo el disco en lugar de tan solo una particion. :!: Pues a mi en una particion no me funcionava correctamente.8O

Por cierto mi metodo fue copiar toda la particion dañada a otra, volver a formatear la particion en ext3 y volcar otra vez los datos; fui algo bestia pero funciono. :twisted:

Haver si tendras algun que otro sector defectuoso... :evil:
_________________
Gentoo Linux 2.6.1-gentoo-r1

Linux User => #320254
Linux Machine => #205170
ID-GnuGPKey => 0x6CF318D7 (pgp.escomposlinux.org)
Back to top
View user's profile Send private message
Capsize
n00b
n00b


Joined: 01 Jul 2002
Posts: 29
Location: Palma de Mallorca (España)

PostPosted: Wed Jul 09, 2003 8:37 am    Post subject: Reply with quote

Tienss soporte para ext3 en el kernel? error bastante frecuente.
_________________
Miembro de (http://bulmalug.net)
Usando Gentoo Linux 1.4
Athlon XP 2600+ en Gigabyte GA-7AVXP-A Ultra 512Mb DDR400
Back to top
View user's profile Send private message
Melguizo
n00b
n00b


Joined: 08 Jul 2003
Posts: 5

PostPosted: Wed Jul 09, 2003 11:20 am    Post subject: Reply with quote

Mi núcleo sí tiene soporte para ext3...pero la vida sigue igual.
Back to top
View user's profile Send private message
Logic Temptation
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2003
Posts: 102

PostPosted: Wed Jul 09, 2003 8:58 pm    Post subject: Reply with quote

Prueba con el # e2fsck -B /dev/hda4 buscara un superbloque alternativo, reinicia a ver que pasa, y si se pone muy pesado a ver que tal utilizando # e2fsck -c /dev/hda4 esto realizara una busqueda de sectores defectuosos en tu disco duro. Si no chavalote ya no se que le puedes hacer, lo siento...

Suerte. :roll:
_________________
Gentoo Linux 2.6.1-gentoo-r1

Linux User => #320254
Linux Machine => #205170
ID-GnuGPKey => 0x6CF318D7 (pgp.escomposlinux.org)
Back to top
View user's profile Send private message
Melguizo
n00b
n00b


Joined: 08 Jul 2003
Posts: 5

PostPosted: Wed Jul 09, 2003 9:50 pm    Post subject: Reply with quote

Yo creo que el problema está en el script checkroot. ¿Podrías decirme qué sistema de archivos utilizas para la partición raíz (a ver si utilizas ext3 como yo) y "prestarme" tu fichero /etc/init.d/checkroot para utlizarlo en mi maquina?
Back to top
View user's profile Send private message
Logic Temptation
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2003
Posts: 102

PostPosted: Thu Jul 10, 2003 7:54 am    Post subject: Reply with quote

Pues si estoy utilizando el ext3, pero migre a este des de un sistema XFS, aun me parece que es generico y no afecta el tipo de sistema de archivos.


#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-src/rc-scripts/init.d/checkroot,v 1.31 2003/05/$

depend() {
before *
}

start() {
local retval=0

if [ ! -f /fastboot ]
then
ebegin "Remounting root filesystem read-only (if necessary)"
mount / -n -o remount,ro &>/dev/null
eend $?
ebegin "Checking root filesystem"
if [ -f /forcefsck ]
then
ewarn "A full fsck has been forced"
fsck -C -f -a /
# /forcefsck isn't deleted because checkfs needs it.
# it'll be deleted in that script.
else
fsck -C -a /
fi
retval=$?
if [ "${retval}" -eq 0 ]
then
eend 0
elif [ "${retval}" -eq 1 ]
then
ewend 1 "Filesystem repaired"
else
eend 2 "Filesystem couldn't be fixed :("
/sbin/sulogin ${CONSOLE}
einfo "Unmounting filesystems"
/bin/mount -a -o remount,ro &>/dev/null
einfo "Rebooting"
/sbin/reboot -f
fi
fi

# Should we mount root rw ?
if mount -vf -o remount / 2> /dev/null | \
awk '{ if ($6 ~ /rw/) exit 0; else exit 1; }'
then
ebegin "Remounting root filesystem read/write"
mount / -n -o remount,rw &>/dev/null
if [ "$?" -ne 0 ]
then
eend 2 "Root filesystem could not be mounted read/write:("
/sbin/sulogin ${CONSOLE}
else
eend 0
fi
fi
if [ "${SOFTLEVEL}" = "boot" ]
then
# Create /etc/mtab
grep -v 'rootfs' /proc/mounts > /etc/mtab

# Remove stale backups
rm -f /etc/mtab~ /etc/mtab~~
fi
}


# vim:ts=4


Suerte.
_________________
Gentoo Linux 2.6.1-gentoo-r1

Linux User => #320254
Linux Machine => #205170
ID-GnuGPKey => 0x6CF318D7 (pgp.escomposlinux.org)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum