Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
update e...BOOOM!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
maiosyet
Apprentice
Apprentice


Joined: 14 Oct 2003
Posts: 188
Location: /Italy/Milan

PostPosted: Sat Apr 17, 2004 5:01 pm    Post subject: update e...BOOOM! Reply with quote

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 8O

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 :roll:

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
View user's profile Send private message
cgreene
n00b
n00b


Joined: 17 Apr 2004
Posts: 19

PostPosted: Sat Apr 17, 2004 5:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31474
Location: here

PostPosted: Sat Apr 17, 2004 5:11 pm    Post subject: Reply with quote

Prova a postare il tuo fstab
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Sat Apr 17, 2004 5:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
alexerre
Apprentice
Apprentice


Joined: 17 Sep 2003
Posts: 267
Location: Italy

PostPosted: Sat Apr 17, 2004 5:22 pm    Post subject: Reply with quote

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 :roll:

ciao
_________________
Se segui gli altri non arriverai mai primo
Back to top
View user's profile Send private message
maiosyet
Apprentice
Apprentice


Joined: 14 Oct 2003
Posts: 188
Location: /Italy/Milan

PostPosted: Sat Apr 17, 2004 5:23 pm    Post subject: Reply with quote

ARGH! Non mi era venuto in mente di controllare, ha azzerato l'fstab! 8O

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? :roll:
Back to top
View user's profile Send private message
maiosyet
Apprentice
Apprentice


Joined: 14 Oct 2003
Posts: 188
Location: /Italy/Milan

PostPosted: Sat Apr 17, 2004 5:25 pm    Post subject: Reply with quote

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 8O

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' ? :roll:
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Sat Apr 17, 2004 5:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31474
Location: here

PostPosted: Sat Apr 17, 2004 5:28 pm    Post subject: Reply with quote

maiosyet wrote:
Oltre a fstab ci sono altri file che conviene non 'upgradare' ? :roll:

Tutti quelli che hai modificato tu :D .
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
maiosyet
Apprentice
Apprentice


Joined: 14 Oct 2003
Posts: 188
Location: /Italy/Milan

PostPosted: Sat Apr 17, 2004 5:38 pm    Post subject: Reply with quote

fedeliallalinea wrote:
maiosyet wrote:
Oltre a fstab ci sono altri file che conviene non 'upgradare' ? :roll:

Tutti quelli che hai modificato tu :D .


8O

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 :x

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
View user's profile Send private message
maiosyet
Apprentice
Apprentice


Joined: 14 Oct 2003
Posts: 188
Location: /Italy/Milan

PostPosted: Sat Apr 17, 2004 6:04 pm    Post subject: Reply with quote

Questo silenzio desolato mi sa molto di formattazione :(
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Sat Apr 17, 2004 6:34 pm    Post subject: Reply with quote

se vuoi la password di root ... bucati il pc ;) cerca qlc exploit per il locale :)
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
n3mo
l33t
l33t


Joined: 28 Mar 2004
Posts: 657
Location: In a Cruel World

PostPosted: Sat Apr 17, 2004 6:50 pm    Post subject: Reply with quote

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. 8O
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Sat Apr 17, 2004 6:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
maiosyet
Apprentice
Apprentice


Joined: 14 Oct 2003
Posts: 188
Location: /Italy/Milan

PostPosted: Sat Apr 17, 2004 9:35 pm    Post subject: Reply with quote

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 :roll:

PS: a me succede su IRC :D
Back to top
View user's profile Send private message
OKreZ
Guru
Guru


Joined: 27 Apr 2003
Posts: 372
Location: Padova (IT)

PostPosted: Sat Apr 17, 2004 9:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
maiosyet
Apprentice
Apprentice


Joined: 14 Oct 2003
Posts: 188
Location: /Italy/Milan

PostPosted: Sat Apr 17, 2004 10:00 pm    Post subject: Reply with quote

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 :wink:
Back to top
View user's profile Send private message
kaosone
Guru
Guru


Joined: 01 Feb 2004
Posts: 446

PostPosted: Sat Apr 17, 2004 11:25 pm    Post subject: Reply with quote

maiosyet wrote:


8O

Me ne sono accorto...

Riavvio, la password di root è cambiata [imprecazione]


che kernel hai?
Back to top
View user's profile Send private message
maiosyet
Apprentice
Apprentice


Joined: 14 Oct 2003
Posts: 188
Location: /Italy/Milan

PostPosted: Sun Apr 18, 2004 6:30 pm    Post subject: Reply with quote

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 8O

Se poi mi potete dare qualche dritta su quali altri file toccare ve ne sarei grato :D
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Sun Apr 18, 2004 6:55 pm    Post subject: Reply with quote

maiosyet wrote:
Code:

/etc/init.d/net.eth0 restart
*bringing eth0 down...
*bringing eth0 up...   [OK]


Ma non funziona, ping, irc, www, nulla 8O

Se poi mi potete dare qualche dritta su quali altri file toccare ve ne sarei grato :D


sarà probabilmente /etc/resolv.conf che é andato a farsi benedire... basta che lo editi mettendo "nameserver indirizzodelDNS" ;-)

Coda
Back to top
View user's profile Send private message
pascalbrax
Apprentice
Apprentice


Joined: 21 Jan 2004
Posts: 280
Location: 127.0.0.1

PostPosted: Sun Apr 18, 2004 10:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
cgreene
n00b
n00b


Joined: 17 Apr 2004
Posts: 19

PostPosted: Mon Apr 19, 2004 9:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Thu Apr 29, 2004 12:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Ferdinando
Veteran
Veteran


Joined: 25 Nov 2003
Posts: 1027
Location: Gaeta (LT) - Italy

PostPosted: Thu Apr 29, 2004 9:09 am    Post subject: Reply with quote

ProT-0-TypE wrote:
Mi è appena successa la stessa cosa.AIUTOOOOOOO!!!!!!

Beh, in tal caso hai trovato la soluzione :wink:

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
View user's profile Send private message
maiosyet
Apprentice
Apprentice


Joined: 14 Oct 2003
Posts: 188
Location: /Italy/Milan

PostPosted: Thu Apr 29, 2004 11:14 am    Post subject: Reply with quote

E infatti io alla fine ho formattato 8O :D :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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