Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Directorio / montado por duplicado !!!!!
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
fdisk
n00b
n00b


Joined: 04 Sep 2003
Posts: 59

PostPosted: Wed Feb 11, 2004 6:40 pm    Post subject: Directorio / montado por duplicado !!!!! Reply with quote

Hola a todos.
Acabo de instalar la gentoo en el segundo disco duro (hdc).
Tras compilar el kernel 2.6.1 con genkernel, ya que con el menuconfig no lo he podido hacer funcionar y me urgia arrancar el sistema, cuando hago el login y tecleo
Code:
mount
me aparece esta aberracion

Quote:

/dev/hdc2 on / type xfs (rw,noatime)
/dev/hdc2 on / type xfs (rw,noatime)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev type devfs (rw)
none on /dev/pts type devpts (rw)
/dev/hdc5 on /usr type xfs (rw)
/dev/hdc6 on /usr/portage type xfs (rw)
/dev/hdc7 on /usr/portage/distfiles type xfs (rw)
/dev/hdc8 on /opt type xfs (rw)
/dev/hdc9 on /tmp type xfs (rw)
/dev/hdc10 on /var/log type xfs (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)


Como podreis observar aparece el directorio / por duplicado. El sistema no me deja reiniciar, ya que no puede desmontarlo.

El la ide1 tengo como master un disco con windows xp y como escalvo un cdrom. En la ide2 igual, pero el linux.

Os pego tambien el grub
Quote:

root (hd1,0)
kernel (hd1,0)/boot/kernel-2.6.1 root=/dev/ram0 init=/linuxrc real_root=/dev/hdc2 splash=verbose acpi=off vga=792
initrd (hd1,0)/boot/initrd-2.6.1


hdc2 es /

Alguna idea????

Graciasssss
Back to top
View user's profile Send private message
alexlm78
Veteran
Veteran


Joined: 08 Dec 2003
Posts: 1265
Location: Guatemala,Guatemala

PostPosted: Wed Feb 11, 2004 6:53 pm    Post subject: Reply with quote

por ahora esto es lo que se me ocurre asegurate de que no este montado dos veces el / en tu /etc/fstab,

sino trata de editar el archivo /etc/mtab que contine el registrto de lo que se monta.

proba y contas.

saludos
_________________
"This is a different kind of world, you need a different kind of software"

Linux User# 315201
100% Chapin hecho en Guatemala
Back to top
View user's profile Send private message
fdisk
n00b
n00b


Joined: 04 Sep 2003
Posts: 59

PostPosted: Wed Feb 11, 2004 7:12 pm    Post subject: Reply with quote

Os pego el fstab

Code:


/dev/hdc1    /boot                  ext3           noauto,noatime          1 2
/dev/hdc2    /                      xfs            noatime                 1 2
/dev/hdc3    none                   swap           sw                      0 0
/dev/hdc5    /usr                   xfs            defaults                1 2
/dev/hdc6    /usr/portage           xfs            defaults                1 2
/dev/hdc7    /usr/portage/distfiles xfs            defaults                1 2
/dev/hdc8    /opt                   xfs            defaults                1 2
/dev/hdc9    /tmp                   xfs            defaults                1 2
/dev/hdc10   /var/log               xfs            defaults                1 2


El directorio / no esta duplicado.

He encontrado un mensaje que tenia problemas pero al apagar el sistema.
A mi me daba el mismo error. Pero no me lo ha solucionado.

Os pongo el enlace
https://forums.gentoo.org/viewtopic.php?t=134828

Con esto, ya no me duplica el directorio /, pero sigue dando el error al apagar o reiniciar el sistema.

Code:

Remounting remaining filesystems readonly [!!]


Y luego te muestra:
Code:

Provide root password for manteince
(Or tipe Ctrol+D for normal Startup)
Password:


Graciassss
Back to top
View user's profile Send private message
fdisk
n00b
n00b


Joined: 04 Sep 2003
Posts: 59

PostPosted: Wed Feb 11, 2004 7:47 pm    Post subject: Reply with quote

He tenido una iluminacion :lol: y se me ha ocurrido echar un vistazo al script de parada del sistema
Code:
/etc/init.d/halt.sh
y he visto lo siguiente

Code:

ebegin "Remounting remaining filesystems readonly"
# Get better results with a sync and sleep
sync; sync
sleep 1
if ! mount_readonly
then
        killall5 -9  &>/dev/null
        sync; sync
        sleep 1
        if ! mount_readonly
        then
                eend 1
                sync; sync
                [ -f /etc/killpower ] && ups_kill_power
                /sbin/sulogin -t 10 /dev/console
        else
                eend 0
        fi
else
        eend 0
fi


Con lo que se me ocurre comentar las lineas

Code:

[ -f /etc/killpower ] && ups_kill_power
/sbin/sulogin -t 10 /dev/console


Y ya no sale el prompt. Pero.... El sistema se apaga bien??? es la nueva pregunta[/code]
Back to top
View user's profile Send private message
krawek
Apprentice
Apprentice


Joined: 15 Oct 2003
Posts: 163
Location: Buga - Colombia

PostPosted: Wed Feb 11, 2004 8:26 pm    Post subject: Reply with quote

te recomiendo ke hagas un fsck xD
Back to top
View user's profile Send private message
alexlm78
Veteran
Veteran


Joined: 08 Dec 2003
Posts: 1265
Location: Guatemala,Guatemala

PostPosted: Thu Feb 12, 2004 5:33 pm    Post subject: Reply with quote

chekate el archivo /etc/mtab este es elque guarda registro de lo montado.

puede que alli este el error.
_________________
"This is a different kind of world, you need a different kind of software"

Linux User# 315201
100% Chapin hecho en Guatemala
Back to top
View user's profile Send private message
fernandotcl
Veteran
Veteran


Joined: 20 Nov 2003
Posts: 1396
Location: Sao Paulo, Brazil

PostPosted: Thu Feb 12, 2004 9:22 pm    Post subject: Reply with quote

Interesánte, en el foro en portugués uno tuvo el mismo problema, pero aún no logró resolverlo. Me parece un bug.
Back to top
View user's profile Send private message
fdisk
n00b
n00b


Joined: 04 Sep 2003
Posts: 59

PostPosted: Fri Feb 13, 2004 8:28 am    Post subject: Reply with quote

Creo que es un bug, que todavia no esta resuelto.

Os pego aqui la busqueda

https://bugs.gentoo.org/buglist.cgi?query_format=&short_desc_type=allwordssubstr&short_desc=halt.sh&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=

Hay varios con el mismo problema.

Yo sigo con ello. Por favor si alguien tiene el mismo problema y lo resuelve que me lo comunique.

P/D. El primer problema (el del montaje por duplicado) se resuelve con el cambio del archivo /etc/nit.d/checkroot por el mismo, pero el del cd de instalacion de la 1.4 oficial.

Gracias a todos..
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