View previous topic :: View next topic |
Author |
Message |
fdisk n00b
Joined: 04 Sep 2003 Posts: 59
|
Posted: Wed Feb 11, 2004 6:40 pm Post subject: Directorio / montado por duplicado !!!!! |
|
|
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 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 |
|
|
alexlm78 Veteran
Joined: 08 Dec 2003 Posts: 1265 Location: Guatemala,Guatemala
|
Posted: Wed Feb 11, 2004 6:53 pm Post subject: |
|
|
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 |
|
|
fdisk n00b
Joined: 04 Sep 2003 Posts: 59
|
Posted: Wed Feb 11, 2004 7:12 pm Post subject: |
|
|
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 |
|
|
fdisk n00b
Joined: 04 Sep 2003 Posts: 59
|
Posted: Wed Feb 11, 2004 7:47 pm Post subject: |
|
|
He tenido una iluminacion 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 |
|
|
krawek Apprentice
Joined: 15 Oct 2003 Posts: 163 Location: Buga - Colombia
|
Posted: Wed Feb 11, 2004 8:26 pm Post subject: |
|
|
te recomiendo ke hagas un fsck xD |
|
Back to top |
|
|
alexlm78 Veteran
Joined: 08 Dec 2003 Posts: 1265 Location: Guatemala,Guatemala
|
Posted: Thu Feb 12, 2004 5:33 pm Post subject: |
|
|
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 |
|
|
fernandotcl Veteran
Joined: 20 Nov 2003 Posts: 1396 Location: Sao Paulo, Brazil
|
Posted: Thu Feb 12, 2004 9:22 pm Post subject: |
|
|
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 |
|
|
fdisk n00b
Joined: 04 Sep 2003 Posts: 59
|
|
Back to top |
|
|
|