View previous topic :: View next topic |
Author |
Message |
maiosyet Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1907022366408919a365b82.png)
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 |
|
![](templates/gentoo/images/spacer.gif) |
cgreene n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31474 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 |
|
![](templates/gentoo/images/spacer.gif) |
comio Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/761284344415a971047e47.gif)
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
![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
alexerre Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1556934403400bf0ef25f98.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
maiosyet Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1907022366408919a365b82.png)
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? ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
maiosyet Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1907022366408919a365b82.png)
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' ? ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
comio Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/761284344415a971047e47.gif)
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
![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31474 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' ? ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
Tutti quelli che hai modificato tu . _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
maiosyet Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1907022366408919a365b82.png)
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' ? ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
maiosyet Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1907022366408919a365b82.png)
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 ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
koma Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/208407359441b4bbd170574.jpg)
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
n3mo l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/10337836184209d4f03bfcf.png)
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. ![Shocked 8O](images/smiles/icon_eek.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
X-Drum Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1870365650443690caa453e.png)
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 |
|
![](templates/gentoo/images/spacer.gif) |
maiosyet Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1907022366408919a365b82.png)
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 ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
OKreZ Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16870139993f341f7d528b0.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
maiosyet Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1907022366408919a365b82.png)
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 ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kaosone Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/163872956741f57be986f19.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
maiosyet Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1907022366408919a365b82.png)
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 ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
codadilupo Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
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 ![Very Happy :D](images/smiles/icon_biggrin.gif) |
sarà probabilmente /etc/resolv.conf che é andato a farsi benedire... basta che lo editi mettendo "nameserver indirizzodelDNS"
Coda |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pascalbrax Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/9174105014148257426517.jpg)
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 ![Wink ;)](images/smiles/icon_wink.gif) _________________ "One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cgreene n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
ProT-0-TypE Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/773882800405da1ca5557e.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Ferdinando Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/187356752443dd0292614b2.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
maiosyet Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1907022366408919a365b82.png)
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 ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|