View previous topic :: View next topic |
Author |
Message |
FreeManAtomic Guru
Joined: 01 Feb 2005 Posts: 365
|
Posted: Tue Jun 14, 2005 6:05 pm Post subject: gentoo stage3 al riavvio non mi trova il device [risolto] |
|
|
Ciao,
sto installano un altra copia di gentoo, partendo da stage3 (un muletto da esperimeti), ho installato da chroot diversi software gia (kde,ed altr) al riavvio pero non va:
-monta dev usando udev e da quest'errore: can't create lock file /etc/mtab~1054:Read only file system
-continua avviando altri servizi, hot/coldplug poi da quest'altro errore:
Failed to open the device /dev/hda2 (la mia root fs): no such file..etc)
/sbin/rc: line 250 rc_splash command not found
Grazie
Ciao
Last edited by FreeManAtomic on Wed Jun 15, 2005 9:52 pm; edited 1 time in total |
|
Back to top |
|
|
CarloJekko Veteran
Joined: 31 Mar 2005 Posts: 1315 Location: Baia Domizia :-)
|
Posted: Tue Jun 14, 2005 9:37 pm Post subject: |
|
|
Hai messo il driver del tuo file-system all'interno del kernel e non come modulo? _________________ C. |
|
Back to top |
|
|
FreeManAtomic Guru
Joined: 01 Feb 2005 Posts: 365
|
Posted: Tue Jun 14, 2005 10:14 pm Post subject: |
|
|
CarloJekko wrote: | Hai messo il driver del tuo file-system all'interno del kernel e non come modulo? |
yes kernel copiato pari pari dall'altra gentoo! (non e mnonolitoco.. jha anche moduli.. ma tanto col fs non centrano un piffero!! |
|
Back to top |
|
|
FreeManAtomic Guru
Joined: 01 Feb 2005 Posts: 365
|
Posted: Wed Jun 15, 2005 7:54 am Post subject: |
|
|
nessuno mi sa aiutare?
Per siurezza ho compilato il kernel (da chroot) ma l'errore persiste!!! |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Wed Jun 15, 2005 8:38 am Post subject: |
|
|
Sei sicuro che i parametri che dai al kernel siano corretti? Posta la configurazione del bootloader _________________ Ciao da me! |
|
Back to top |
|
|
CRV§ADER//KY Guru
Joined: 30 Aug 2004 Posts: 405 Location: Torino
|
Posted: Wed Jun 15, 2005 12:51 pm Post subject: |
|
|
hai emerso udev?
hotplug non serve più a nulla (è integrato in udev); coldplug AFAIK idem.
Se udev è installato, a naso azzarderei che ti sei scordato i driver del chipset della scheda madre e/o del chipset IDE, e/o che li hai compilati come moduli. Inutile dire che il chipset di questo nuovo PC è quasi sicuramente diverso da quello precedente. _________________ Kyrie, Ignis Divine, Eleison ~ Elfen Lied |
|
Back to top |
|
|
Opossum Tux's lil' helper
Joined: 21 Apr 2005 Posts: 104
|
Posted: Wed Jun 15, 2005 3:50 pm Post subject: |
|
|
Ciao!!!
Anche io ho avuto un problema simile con la 2005.0. In sostanza non mi creava i device perche la stage3 (almeno quello che ho scaricato io) non aveva devfsd (sono un tradizionalista e mi piace devfs). Quindi, dopo varie ore di accidenti vari, sono ripartito dal live cd, chroot nella partizione di root e quindi ho emerso devfsd. |
|
Back to top |
|
|
FreeManAtomic Guru
Joined: 01 Feb 2005 Posts: 365
|
Posted: Wed Jun 15, 2005 8:51 pm Post subject: |
|
|
randomaze wrote: | Sei sicuro che i parametri che dai al kernel siano corretti? Posta la configurazione del bootloader |
ecco cosa c'e' per il loader:
Code: |
# Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
# End GRUB global section
# Other bootable partition config begins
title Windows (on /dev/hda1)
rootnoverify (hd0,0)
makeactive
chainloader +1
# Other bootable partition config ends
# Linux bootable partition config begins
title test (on /dev/hda2)
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 ro vga=791
# Linux bootable partition config ends
# Linux bootable partition config begins
title GentooLinux (on /dev/hda3)
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 ro vga=791
title GentooHARD (on /dev/hda3)
root (hd0,2)
kernel /boot/hard root=/dev/hda3 ro vga=791
# Linux bootable partition config ends
title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd0,2)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/hda3)
root (hd0,2)
setup (hd0,2)
pause Press enter to continue.
title - For help press 'c', then type: 'help'
root (hd0)
title - For usage examples, type: 'cat /boot/grub/usage.txt'
root (hd0)
|
La gentoo che non parte e quella di nome test |
|
Back to top |
|
|
FreeManAtomic Guru
Joined: 01 Feb 2005 Posts: 365
|
Posted: Wed Jun 15, 2005 8:53 pm Post subject: |
|
|
CRV§ADER//KY wrote: | hai emerso udev?
hotplug non serve più a nulla (è integrato in udev); coldplug AFAIK idem.
Se udev è installato, a naso azzarderei che ti sei scordato i driver del chipset della scheda madre e/o del chipset IDE, e/o che li hai compilati come moduli. Inutile dire che il chipset di questo nuovo PC è quasi sicuramente diverso da quello precedente. |
yes udev c'e'.....
No niente problemi di kernel e' stato compilato con il .config dell'altra gentoo... non sono due pc diversi, ma lo stesso con installazioni distinte di gentoo, in quanto questa (seconda che non va!) è compilata genericamente partendo da stage3-x86 |
|
Back to top |
|
|
FreeManAtomic Guru
Joined: 01 Feb 2005 Posts: 365
|
Posted: Wed Jun 15, 2005 8:54 pm Post subject: |
|
|
Opossum wrote: | Ciao!!!
Anche io ho avuto un problema simile con la 2005.0. In sostanza non mi creava i device perche la stage3 (almeno quello che ho scaricato io) non aveva devfsd (sono un tradizionalista e mi piace devfs). Quindi, dopo varie ore di accidenti vari, sono ripartito dal live cd, chroot nella partizione di root e quindi ho emerso devfsd. |
fatto, infatti non c'era...
Cmq non funziona lo stesso!!!
|
|
Back to top |
|
|
CRV§ADER//KY Guru
Joined: 30 Aug 2004 Posts: 405 Location: Torino
|
Posted: Wed Jun 15, 2005 9:06 pm Post subject: |
|
|
Posta il contenuto di /etc/conf.d/rc per favore. _________________ Kyrie, Ignis Divine, Eleison ~ Elfen Lied |
|
Back to top |
|
|
FreeManAtomic Guru
Joined: 01 Feb 2005 Posts: 365
|
Posted: Wed Jun 15, 2005 9:19 pm Post subject: |
|
|
Quote: | # /etc/conf.d/rc:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/rc,v 1.13 2004/02/26 18:01:29 azarah Exp $
#
# Global config file for the Gentoo RC System
#
# NOTE: most of these are not in use yet!!
#
# This is the amount of tty's used in most of the rc-scripts (like
# consolefont, numlock, etc
RC_TTY_NUMBER=11
# Set to "yes" if you want the rc system to try and start services
# in parallel for slight speed improvement.
RC_PARALLEL_STARTUP="yes"
# Set to "yes" if the default behaviour of at least one net.*
# service starting beside net.lo is NOT enouth to consider
# the 'net' dependency up and running.
RC_NET_STRICT_CHECKING="no"
# Set to "yes" if you want to save /dev to a tarball on shutdown
# and restore it on startup. This is useful if you have a lot of
# custom device nodes that udev do not handle/know about.
# (ONLY used by UDEV enabled systems!)
RC_DEVICE_TARBALL="no"
# Set to "yes" if you want devfsd to start upon bootup. This is
# the default for Gentoo.
# Set to "no" only if you understand the full implications. A
# number of files may need to be altered (i.e. /etc/inittab,
# /etc/fstab, etc.).
# Also note that it does _NOT_ start for UDEV enabled systems,
# even if RC_DEVFSD_STARTUP="yes" ...
RC_DEVFSD_STARTUP="yes"
# Set to "yes" if stop-daemon() should always retry killing the
# service if it fails the first time.
RC_RETRY_KILL="yes"
# Set the amount of seconds stop-daemon() should wait between
# retries. $RC_RETRY_KILL should be set to "yes".
RC_RETRY_TIMEOUT=1
# Set the amount of times stop-daemon() should try to kill
# a service before giving up. $RC_RETRY_KILL should be set to "yes".
RC_RETRY_COUNT=5
# Set to "yes" if stop-daemon() should fail if the service
# is marked as started, but not actually running on stop.
RC_FAIL_ON_ZOMBIE="no"
#
# Internal configuration variables
#
# NB: These are for advanced users, and you should really
# know what you are doing before changing them!
#
# rc-scripts dep-cache directory
#
# NOTE: Do not remove the next line, as its needed by the baselayout ebuild!
#
# svcdir="/var/lib/init.d"
svcdir="/var/lib/init.d"
# Should we mount $svcdir as a tmpfs or ramfs for some speed
# increase for slower machines, or for the more extreme setups ?
svcmount="no"
# FS type that should be used for $svcdir. Note that you need
# $svcmount above set to "yes" for this to work ... Currently
# "tmpfs" and "ramfs" are supported, with "tmpfs" the default.
svcfstype="tmpfs"
# Size of $svcdir in KB
svcsize=2048
|
|
|
Back to top |
|
|
CRV§ADER//KY Guru
Joined: 30 Aug 2004 Posts: 405 Location: Torino
|
Posted: Wed Jun 15, 2005 9:22 pm Post subject: |
|
|
Prova a cambiare:
RC_PARALLEL_STARTUP="no"
RC_DEVFSD_STARTUP="no"
[EDIT]
Unmergi devfsd e ri-emergi udev. Già che sei bagnato, riemergi anche baselayout
Assicurati di avere i device essenziali come indicato qui. _________________ Kyrie, Ignis Divine, Eleison ~ Elfen Lied |
|
Back to top |
|
|
FreeManAtomic Guru
Joined: 01 Feb 2005 Posts: 365
|
Posted: Wed Jun 15, 2005 9:52 pm Post subject: |
|
|
CRV§ADER//KY wrote: | Prova a cambiare:
RC_PARALLEL_STARTUP="no"
RC_DEVFSD_STARTUP="no"
[EDIT]
Unmergi devfsd e ri-emergi udev. Già che sei bagnato, riemergi anche baselayout
Assicurati di avere i device essenziali come indicato qui. |
perfetto funziona!! 6 un grande!! |
|
Back to top |
|
|
CRV§ADER//KY Guru
Joined: 30 Aug 2004 Posts: 405 Location: Torino
|
Posted: Wed Jun 15, 2005 9:54 pm Post subject: |
|
|
Ora prova a riabilitare
RC_PARALLEL_STARTUP="yes"
non DOVREBBE essere sua la colpa; se lo è posta un bug su bugzilla.gentoo.org. _________________ Kyrie, Ignis Divine, Eleison ~ Elfen Lied |
|
Back to top |
|
|
FreeManAtomic Guru
Joined: 01 Feb 2005 Posts: 365
|
Posted: Wed Jun 15, 2005 10:20 pm Post subject: |
|
|
CRV§ADER//KY wrote: | Ora prova a riabilitare
RC_PARALLEL_STARTUP="yes"
non DOVREBBE essere sua la colpa; se lo è posta un bug su bugzilla.gentoo.org. |
poi lo faccio... infatti nella gentoo attuale e abilitato senza problemi!!
Ah un altra cosa... allora hotplug/coldplug posso non installarli??? fa tutto udev...... li posso togliere anche se uso hal e dbus? |
|
Back to top |
|
|
CRV§ADER//KY Guru
Joined: 30 Aug 2004 Posts: 405 Location: Torino
|
Posted: Wed Jun 15, 2005 11:14 pm Post subject: |
|
|
FreeManAtomic wrote: | Ah un altra cosa... allora hotplug/coldplug posso non installarli??? fa tutto udev...... li posso togliere anche se uso hal e dbus? |
hotplug di sicuro sì, coldplug non ho ben capito a che serva (infatti penne usb etc. vengono viste anche se sono già connesse al boot, con o senza coldplug). _________________ Kyrie, Ignis Divine, Eleison ~ Elfen Lied |
|
Back to top |
|
|
FreeManAtomic Guru
Joined: 01 Feb 2005 Posts: 365
|
Posted: Thu Jun 16, 2005 11:03 am Post subject: |
|
|
CRV§ADER//KY wrote: | FreeManAtomic wrote: | Ah un altra cosa... allora hotplug/coldplug posso non installarli??? fa tutto udev...... li posso togliere anche se uso hal e dbus? |
hotplug di sicuro sì, coldplug non ho ben capito a che serva (infatti penne usb etc. vengono viste anche se sono già connesse al boot, con o senza coldplug). |
thanks ancora tanto |
|
Back to top |
|
|
|