View previous topic :: View next topic |
Author |
Message |
maiosyet Apprentice


Joined: 14 Oct 2003 Posts: 188 Location: /Italy/Milan
|
Posted: Sat Apr 17, 2004 5:01 pm Post subject: update e...BOOOM! |
|
|
Ieri ho updatato il sistema, niente di strano, un normale emerge -u system e sync...
Al terime del merge però, mi viene un simpatico messaggino che mi dice in sostanza che dei file di conf in etc hanno bisogno dell'update.
Faccio un normale
#etc-update
Brum Brum...fa quel che deve fare, e al boot...booooooom:
Code: |
...
checkinf all filesystem...
fsck: fsck.xfs: not found
fsck error 2 while executing fsck.xfs for /dev/BOOT
The superblock could not be read or does not describe a correct ext2 filesystem.
If the device il valid and it really contains ext2 filsystem then the superblock il corrupt [evviva -.-] and you might try running e2fsck with an alternative superblock.
Fsck could not correct all errors
manual repair needed |
Evviva
La stuazione è che ho un disco dualboot, con il boot di gentoo nell'mbr e una partizione di boot per mandrake, e grazie a dio che ho fatto così perchè sennò tanti saluti anche a mandrake, almeno posso chiedere aiuto
A occhio e croce io formatterei l'mbr, mi chrotterei da mandrake in gentoo e reinstallarei LILO.
E' fattibile o ci sono idee migliori?
Secondo, che caz è successo??
...grassie |
|
Back to top |
|
 |
cgreene n00b

Joined: 17 Apr 2004 Posts: 19
|
Posted: Sat Apr 17, 2004 5:10 pm Post subject: |
|
|
I don't speak Italian but I am having the same problem.
I think something in one of the updates changed the fstab.
Changing the fstab back seems to help somewhat - though I'm still having problems (and am in fact in knoppix now). |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31486 Location: here
|
Posted: Sat Apr 17, 2004 5:11 pm Post subject: |
|
|
Prova a postare il tuo fstab _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
comio Advocate


Joined: 03 Jul 2003 Posts: 2191 Location: Taranto
|
Posted: Sat Apr 17, 2004 5:20 pm Post subject: |
|
|
aggiungo... sicuramente hai ciuccato l'fstab (la prova è quel "/BOOT").
Quando fai etc-update attento a cosa aggiorni!
ciao _________________ RTFM!!!!
e
http://www.comio.it
 |
|
Back to top |
|
 |
alexerre Apprentice


Joined: 17 Sep 2003 Posts: 267 Location: Italy
|
Posted: Sat Apr 17, 2004 5:22 pm Post subject: |
|
|
sicuramente è l'fstab. Ricompila l'fstab di gentoo e il problema si risolve.
NB per ricompila intendo riconfigurare..E' successo anche a me che volesse ripristinarmi il file fstab automaticamente...Da allora quando emerge mi dice che ci sono dei file da modificare ricorro al buon vecchio diff
ciao _________________ Se segui gli altri non arriverai mai primo |
|
Back to top |
|
 |
maiosyet Apprentice


Joined: 14 Oct 2003 Posts: 188 Location: /Italy/Milan
|
Posted: Sat Apr 17, 2004 5:23 pm Post subject: |
|
|
ARGH! Non mi era venuto in mente di controllare, ha azzerato l'fstab!
Code: |
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/BOOT /boot ext2 noauto,noatime $/dev/ROOT / xfs noatime $/dev/SWAP none swap sw $/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro $#/dev/fd0 /mnt/floppy auto noauto $
|
Ecco perchè parlava di xfs (mai installato nel mio pc)
Bella fregatura
Provo a riconfigurarlo...ma è normale che lo abbia fatto?  |
|
Back to top |
|
 |
maiosyet Apprentice


Joined: 14 Oct 2003 Posts: 188 Location: /Italy/Milan
|
Posted: Sat Apr 17, 2004 5:25 pm Post subject: |
|
|
comio wrote: | aggiungo... sicuramente hai ciuccato l'fstab (la prova è quel "/BOOT").
Quando fai etc-update attento a cosa aggiorni!
ciao |
Io credevo che fosse indicativo del device BOOT
In effetti a un certo punto mi sono stufato e ho fatto yes, yes, yes...blabla
Oltre a fstab ci sono altri file che conviene non 'upgradare' ?  |
|
Back to top |
|
 |
comio Advocate


Joined: 03 Jul 2003 Posts: 2191 Location: Taranto
|
Posted: Sat Apr 17, 2004 5:25 pm Post subject: |
|
|
mai usare etc-update dando "-5" come parametro. Quando etc-update ti propone dei file di configurazione, è buona norma vedere il diff (non ricordo l'opzione, forse 1... bo).
ciao _________________ RTFM!!!!
e
http://www.comio.it
 |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31486 Location: here
|
Posted: Sat Apr 17, 2004 5:28 pm Post subject: |
|
|
maiosyet wrote: | Oltre a fstab ci sono altri file che conviene non 'upgradare' ?  |
Tutti quelli che hai modificato tu . _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
maiosyet Apprentice


Joined: 14 Oct 2003 Posts: 188 Location: /Italy/Milan
|
Posted: Sat Apr 17, 2004 5:38 pm Post subject: |
|
|
fedeliallalinea wrote: | maiosyet wrote: | Oltre a fstab ci sono altri file che conviene non 'upgradare' ?  |
Tutti quelli che hai modificato tu . |
Me ne sono accorto...
Riavvio, la password di root è cambiata [imprecazione]
Ne sono sicuro perchè me ne ero già accorto prima di spegnere il pc ieri ma non ci ho fatto caso, ma in modalità di soccorso funziona quindi è proprio saltata
Faccio startx e mi avviia TWM, ma quello è il meno.
Ammesso che abbia due annetti per risistemare manualmente tutto, senza la pwd di root non andrò lontanto comunque
E mo? |
|
Back to top |
|
 |
maiosyet Apprentice


Joined: 14 Oct 2003 Posts: 188 Location: /Italy/Milan
|
Posted: Sat Apr 17, 2004 6:04 pm Post subject: |
|
|
Questo silenzio desolato mi sa molto di formattazione  |
|
Back to top |
|
 |
koma Advocate


Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
|
Back to top |
|
 |
n3mo l33t


Joined: 28 Mar 2004 Posts: 657 Location: In a Cruel World
|
Posted: Sat Apr 17, 2004 6:50 pm Post subject: |
|
|
Per autobucarsi la password di root basta avviare dal cd live di gentoo rimontare le partizioni come durante la fase di installazione, fare il chroot e passwd, voilà........ecco a cosa serve la password nel bios.
Se non ricordo male l'ultimo update aggiornava tra gli altri /etc/fstab, /etc/group, /etc/rc.conf.
P.S.
Sono solo io che mentre posto cerco di usare la bash completion con tab......mi stà facendo impazzire.  |
|
Back to top |
|
 |
X-Drum Advocate


Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Sat Apr 17, 2004 6:54 pm Post subject: |
|
|
cgreene wrote: | I don't speak Italian but I am having the same problem.
I think something in one of the updates changed the fstab.
Changing the fstab back seems to help somewhat - though I'm still having problems (and am in fact in knoppix now). |
This is possible because you have to pay attention using the etc-update tool.
The tool shows you all the diffs between the new file and old one
only overwrite the original file with update when it is not a critic file
or the changes are trivial!!!!
if you want to restore your gentoo system try this:
-boot fron gentoo install cdrom
-mount the interested partition in /mnt/gentoo
-edit your fstab, reboot and then try to boot Gentoo
bye! _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
 |
maiosyet Apprentice


Joined: 14 Oct 2003 Posts: 188 Location: /Italy/Milan
|
Posted: Sat Apr 17, 2004 9:35 pm Post subject: |
|
|
n3mo wrote: | Per autobucarsi la password di root basta avviare dal cd live di gentoo rimontare le partizioni come durante la fase di installazione, fare il chroot e passwd, voilà........ecco a cosa serve la password nel bios.
|
L'idea di koma è più suggestiva, ma penso che userò il chroot (da mandrake). Però è strano perchè da mandrake(in chroot) funziona la vecchia passwd, e pure dal tool di recupero che veniva in seguito al prroblema...boh adesso provo
Quote: | Se non ricordo male l'ultimo update aggiornava tra gli altri /etc/fstab, /etc/group, /etc/rc.conf.
|
A me sembra che fossero un tantino di più, non lo facevo da un bel pezzo
In questi giorni provo a riconfigurare tutto, speriam
PS: a me succede su IRC  |
|
Back to top |
|
 |
OKreZ Guru


Joined: 27 Apr 2003 Posts: 372 Location: Padova (IT)
|
Posted: Sat Apr 17, 2004 9:45 pm Post subject: |
|
|
maiosyet wrote: | Però è strano perchè da mandrake(in chroot) funziona la vecchia passwd, e pure dal tool di recupero che veniva in seguito al prroblema...boh adesso provo |
Probabilmente tenti di passare a root tramite "su" dal tuo utente normale; se tra i file di configurazione che hai sovrascritto tramite etc-update c'era anche /etc/group, il tuo utente normale non si trova piu' nel gruppo wheel (come probabilmente era prima) percio' non e' in grado di passare al superuser tramite "su". _________________ (HCS)OKreZ |
|
Back to top |
|
 |
maiosyet Apprentice


Joined: 14 Oct 2003 Posts: 188 Location: /Italy/Milan
|
Posted: Sat Apr 17, 2004 10:00 pm Post subject: |
|
|
OKreZ wrote: |
Probabilmente tenti di passare a root tramite "su" dal tuo utente normale; se tra i file di configurazione che hai sovrascritto tramite etc-update c'era anche /etc/group, il tuo utente normale non si trova piu' nel gruppo wheel (come probabilmente era prima) percio' non e' in grado di passare al superuser tramite "su". |
Male che vada mi faccio una cultura sui file di configurazione
Grazie  |
|
Back to top |
|
 |
kaosone Guru


Joined: 01 Feb 2004 Posts: 446
|
Posted: Sat Apr 17, 2004 11:25 pm Post subject: |
|
|
maiosyet wrote: |
Me ne sono accorto...
Riavvio, la password di root è cambiata [imprecazione]
|
che kernel hai? |
|
Back to top |
|
 |
maiosyet Apprentice


Joined: 14 Oct 2003 Posts: 188 Location: /Italy/Milan
|
Posted: Sun Apr 18, 2004 6:30 pm Post subject: |
|
|
Aggiornamento delle conffigurazioni di /etc/
/etc/gruop: inserito il mio utente in whell e games
/etc/rc.conf: keymap italiana, windowmaker
/etc/make.conf:
CFLAGS="-O3 -mach=pentium4 -fomit-frame-pointer -pipe"
/etc/hostname rimesso il nome al computer
Sicuramente però c'è dell'altro da fare, perchè ho ancora un bel po' di problemi, a cominciare da internet: la rete funziona:
Code: |
/etc/init.d/net.eth0 restart
*bringing eth0 down...
*bringing eth0 up... [OK]
|
Ma non funziona, ping, irc, www, nulla
Se poi mi potete dare qualche dritta su quali altri file toccare ve ne sarei grato  |
|
Back to top |
|
 |
codadilupo Advocate

Joined: 05 Aug 2003 Posts: 3135
|
Posted: Sun Apr 18, 2004 6:55 pm Post subject: |
|
|
maiosyet wrote: | Code: |
/etc/init.d/net.eth0 restart
*bringing eth0 down...
*bringing eth0 up... [OK]
|
Ma non funziona, ping, irc, www, nulla
Se poi mi potete dare qualche dritta su quali altri file toccare ve ne sarei grato  |
sarà probabilmente /etc/resolv.conf che é andato a farsi benedire... basta che lo editi mettendo "nameserver indirizzodelDNS"
Coda |
|
Back to top |
|
 |
pascalbrax Apprentice


Joined: 21 Jan 2004 Posts: 280 Location: 127.0.0.1
|
Posted: Sun Apr 18, 2004 10:56 pm Post subject: |
|
|
codadilupo wrote: |
sarà probabilmente /etc/resolv.conf che é andato a farsi benedire... basta che lo editi mettendo "nameserver indirizzodelDNS"
Coda |
e se per caso non bastasse, guarda in /etc/conf.d/net
PS: uff... devo ricordarmi che il TAB non va nei form html  _________________ "One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler |
|
Back to top |
|
 |
cgreene n00b

Joined: 17 Apr 2004 Posts: 19
|
Posted: Mon Apr 19, 2004 9:56 pm Post subject: |
|
|
X-Drum wrote: |
This is possible because you have to pay attention using the etc-update tool.
The tool shows you all the diffs between the new file and old one
only overwrite the original file with update when it is not a critic file
or the changes are trivial!!!!
if you want to restore your gentoo system try this:
-boot fron gentoo install cdrom
-mount the interested partition in /mnt/gentoo
-edit your fstab, reboot and then try to boot Gentoo
bye! |
Yep yep! I know - Live and learn! I got it working again by changing the fstab. Apparently the same update overwrote my user information! OUCH! Fortunately the root password it overwrote with was blank so I was able to guess it after trying my own. Things are working again - and now I've learned what can go wrong when I don't pay attention. |
|
Back to top |
|
 |
ProT-0-TypE Veteran


Joined: 20 Dec 2003 Posts: 1624 Location: Cagliari
|
Posted: Thu Apr 29, 2004 12:07 am Post subject: |
|
|
Code: | ...
checkinf all filesystem...
fsck: fsck.xfs: not found
fsck error 2 while executing fsck.xfs for /dev/BOOT
The superblock could not be read or does not describe a correct ext2 filesystem.
If the device il valid and it really contains ext2 filsystem then the superblock il corrupt [evviva -.-] and you might try running e2fsck with an alternative superblock.
Fsck could not correct all errors
manual repair needed |
Mi è appena successa la stessa cosa.AIUTOOOOOOO!!!!!! |
|
Back to top |
|
 |
Ferdinando Veteran


Joined: 25 Nov 2003 Posts: 1027 Location: Gaeta (LT) - Italy
|
Posted: Thu Apr 29, 2004 9:09 am Post subject: |
|
|
ProT-0-TypE wrote: | Mi è appena successa la stessa cosa.AIUTOOOOOOO!!!!!! |
Beh, in tal caso hai trovato la soluzione
ciao _________________ La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997 |
|
Back to top |
|
 |
maiosyet Apprentice


Joined: 14 Oct 2003 Posts: 188 Location: /Italy/Milan
|
Posted: Thu Apr 29, 2004 11:14 am Post subject: |
|
|
E infatti io alla fine ho formattato  |
|
Back to top |
|
 |
|